Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5831

Unresolvable capability silently prevents entire set to resolve/start

    XMLWordPrintable

Details

    Description

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

      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]
      

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

      Attachments

        Activity

          People

            tdiesler@redhat.com Thomas Diesler
            tdiesler@redhat.com Thomas Diesler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: