[jboss-jira] [JBoss JIRA] (AS7-5812) Unresolvable capability silently prevents entire set to resolve/start

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Oct 23 02:55:03 EDT 2012


Thomas Diesler created AS7-5812:
-----------------------------------

             Summary: Unresolvable capability silently prevents entire set to resolve/start 
                 Key: AS7-5812
                 URL: https://issues.jboss.org/browse/AS7-5812
             Project: Application Server 7
          Issue Type: Bug
          Components: OSGi
            Reporter: Thomas Diesler
            Assignee: Thomas Diesler
             Fix For: 7.2.0.Alpha1


Except a debug log there is no further indication why capabilities do not resolve/start

{code}
08:48:08,858 DEBUG [org.jboss.osgi.framework] (MSC service thread 1-3) Cannot resolve: [HostBundleRevision[org.apache.felix.configadmin:1.2.8], HostBundleRevision[org.apache.felix.log:1.0.0], HostBundleRevision[jboss-osgi-logging:1.0.0], HostBundleRevision[deferred-bundle-a.jar:0.0.0], HostBundleRevision[jboss-as-osgi-configadmin:7.2.0.Alpha1-SNAPSHOT]]: org.osgi.service.resolver.ResolutionException: Unable to resolve HostBundleRevision[deferred-bundle-a.jar:0.0.0]: missing requirement XPackageRequirement[atts={osgi.wiring.package=org.acme.foo},[deferred-bundle-a.jar:0.0.0]]
	at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285) [jbosgi-resolver-felix-3.0.0.CR10.jar:3.0.0.CR10]
	at org.apache.felix.resolver.Candidates.populate(Candidates.java:153) [jbosgi-resolver-felix-3.0.0.CR10.jar:3.0.0.CR10]
	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:96) [jbosgi-resolver-felix-3.0.0.CR10.jar:3.0.0.CR10]
	at org.jboss.osgi.resolver.felix.StatelessResolver.resolve(StatelessResolver.java:56) [jbosgi-resolver-felix-3.0.0.CR10.jar:3.0.0.CR10]
	at org.jboss.osgi.framework.internal.ResolverPlugin.resolveAndApply(ResolverPlugin.java:152) [jbosgi-framework-core-2.0.0.CR39.jar:2.0.0.CR39]
	at org.jboss.osgi.framework.internal.ResolverPlugin.resolveAndApply(ResolverPlugin.java:167) [jbosgi-framework-core-2.0.0.CR39.jar:2.0.0.CR39]
	at org.jboss.osgi.framework.internal.PackageAdminPlugin.resolveBundles(PackageAdminPlugin.java:393) [jbosgi-framework-core-2.0.0.CR39.jar:2.0.0.CR39]
	at org.jboss.osgi.framework.spi.BootstrapBundlesResolve.start(BootstrapBundlesResolve.java:96) [jbosgi-framework-core-2.0.0.CR39.jar:2.0.0.CR39]
	at org.jboss.osgi.framework.spi.ServiceTracker$SynchronousListenerServiceWrapper.start(ServiceTracker.java:278) [jbosgi-framework-core-2.0.0.CR39.jar:2.0.0.CR39]
{code}

This should be logged as an error and prevent the subsystem to start

--
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


More information about the jboss-jira mailing list