[
https://issues.jboss.org/browse/JBTIS-118?page=com.atlassian.jira.plugin....
]
Paul Richardson commented on JBTIS-118:
---------------------------------------
Messages still appear, when using Locus 1.0.0.Final-B31.
Investigation shows that installing
[
aries.jmx.core|http://download.jboss.org/jbosstools/updates/integration/l...]
and
[
aries.blueprint|http://download.jboss.org/jbosstools/updates/integration/...]
in a new eclipse installation and workspace causes
[
osgi.enterprise_4.2|http://download.jboss.org/jbosstools/updates/requirem...]
to also be installed, presumably because the installer is clever enough to try and satisfy
'Imported Package' requirements of plugins. osgi.enterprise exports the relevant
packages hence is installed as an implicit dependency.
However, using JBT-IS as a TP must skip this particular step hence anyone developing with
JBT-IS as their TP will see these errors.
To mitigate, it should just require osgi.enterprise to be included in the base target
definition. This, I have successfully tested by adding this to teiid designer's
target:
{code}
<!-- Implementation of osgi 4.2 specification -->
<location includeAllPlatforms="false" includeConfigurePhase="true"
includeMode="slicer" includeSource="true"
type="InstallableUnit">
<unit id="osgi.enterprise" version="4.2.0.v201108120515"/>
<repository
location="http://download.jboss.org/jbosstools/updates/requirements/...
</location>
{code}
In a similar manner, I note that the felix plugins are also complaining about missing a
service:
{code}
!SUBENTRY 2 org.apache.felix.configadmin 2 0 2013-07-29 16:53:08.750
!MESSAGE Missing required capability Require-Capability: service-reference;
filter="(objectClass=org.osgi.service.log.LogService)".
{code}
So I would imagine another plugin should be included from the requirements repository to
fix this as well.
Inclusion of Aries plugins in Locus causing console errors
----------------------------------------------------------
Key: JBTIS-118
URL:
https://issues.jboss.org/browse/JBTIS-118
Project: JBoss Tools Integration Stack
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Components: target-platform
Affects Versions: 4.1.0.Final
Reporter: Paul Richardson
Assignee: Paul Leacu
Errors generated in the console when executing Eclipse IDE based on JBT-IS base.target
target platform. This occurred while executing Teiid Designer, which makes no use of the
Aries plugins.
{code}
!ENTRY org.eclipse.osgi 2 0 2013-07-25 15:15:59.174
!MESSAGE One or more bundles are not resolved because the following root constraints are
not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-07-25 15:15:59.175
!MESSAGE Bundle
reference:file:/home/phantomjinx/programming/java/workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.apache.aries.jmx.core_1.0.1.redhat-610-SNAPSHOT.jar
was not resolved.
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.175
!MESSAGE Missing imported package org.osgi.jmx.service.provisioning_[1.2.0,1.3.0).
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.175
!MESSAGE Missing imported package org.osgi.jmx_[1.0.0,2.0.0).
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.176
!MESSAGE Missing imported package org.osgi.jmx.service.permissionadmin_[1.2.0,1.3.0).
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.176
!MESSAGE Missing imported package org.osgi.jmx.service.useradmin_[1.1.0,1.2.0).
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.176
!MESSAGE Missing imported package org.osgi.jmx.service.cm_[1.3.0,1.4.0).
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.177
!MESSAGE Missing imported package org.osgi.jmx.framework_[1.5.0,1.6.0).
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-07-25 15:15:59.177
!MESSAGE Bundle
reference:file:/home/phantomjinx/programming/java/workspace/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/plugins/org.apache.felix.configadmin_1.4.0.redhat-610-SNAPSHOT.jar
was not resolved.
!SUBENTRY 2 org.apache.felix.configadmin 2 0 2013-07-25 15:15:59.177
!MESSAGE Missing required capability Require-Capability: service-reference;
filter="(objectClass=org.osgi.service.log.LogService)".
!ENTRY org.eclipse.osgi 2 0 2013-07-25 15:15:59.280
!MESSAGE The following is a complete list of bundles which are not resolved, see the
prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2013-07-25 15:15:59.281
!MESSAGE Bundle org.apache.aries.jmx.core_1.0.1.redhat-610-SNAPSHOT [89] was not
resolved.
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.281
!MESSAGE Missing imported package org.osgi.jmx_[1.0.0,2.0.0).
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.282
!MESSAGE Missing imported package org.osgi.jmx.framework_[1.5.0,1.6.0).
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.282
!MESSAGE Missing imported package org.osgi.jmx.service.cm_[1.3.0,1.4.0).
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.283
!MESSAGE Missing imported package org.osgi.jmx.service.permissionadmin_[1.2.0,1.3.0).
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.283
!MESSAGE Missing imported package org.osgi.jmx.service.provisioning_[1.2.0,1.3.0).
!SUBENTRY 2 org.apache.aries.jmx.core 2 0 2013-07-25 15:15:59.284
!MESSAGE Missing imported package org.osgi.jmx.service.useradmin_[1.1.0,1.2.0).
{code}
Understand that Fuse is the main beneficiary of these plugins. Are the Aries plugins
essential to the Fuse project (or any other projects)?
The missing imports all relate to the osgi jmx specification, which is implemented by the
[Eclipse
Gemini|http://eclipse.org/gemini] project. Can / should its plugins be included
to satisfy the import errors or does Fuse rely on another implementation?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira