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

missing requirement XPackageRequirement[atts={osgi.wiring.package=org.osgi.framework.startlevel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • EAP 6.1.0.Alpha (7.2.0.Final)
    • OSGi
    • None
    • Hide

      try and deploy bundle org.eclipse.gemini.management:1.0.5.RELEASE

      then bundle osgi.core:4.3.0.201102171602

      Show
      try and deploy bundle org.eclipse.gemini.management:1.0.5.RELEASE then bundle osgi.core:4.3.0.201102171602
    • Hide

      None

      Show
      None

      What version of OSGi does JBoss as 7.2.0 support? And can we get it upgraded to at least 4.3?

      Cannot deploy gemini management bundle, because:

      11:50:01,847 INFO  [org.jboss.as.osgi] (HttpManagementService-threads - 7) JBAS011916: Activate deferred module phase for: org.eclipse.gemini.management:1.0.5.RELEASE
      11:50:01,847 ERROR [org.jboss.as.osgi] (HttpManagementService-threads - 7) JBAS011909: Management operation 'start' failed: org.osgi.framework.BundleException: JBOSGI011250: Cannot resolve bundle: org.eclipse.gemini.management:1.0.5.RELEASE
      	at org.jboss.as.osgi.service.BundleLifecycleIntegration$BundleLifecycleImpl.activateDeferredPhase(BundleLifecycleIntegration.java:299)
      	at org.jboss.as.osgi.service.BundleLifecycleIntegration$BundleLifecycleImpl.start(BundleLifecycleIntegration.java:229)
      	at org.jboss.osgi.framework.internal.AbstractBundleState.startWithOptions(AbstractBundleState.java:537)
      	at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:525)
      	at org.jboss.as.osgi.management.BundleResourceHandler.handleOperation(BundleResourceHandler.java:106)
      	at org.jboss.as.osgi.management.BundleResourceHandler.executeRuntimeStep(BundleResourceHandler.java:58)
      	at org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(AbstractRuntimeOnlyHandler.java:90) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:142) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:112) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.ModelControllerImpl$2.execute(ModelControllerImpl.java:338) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.ModelControllerImpl$2.execute(ModelControllerImpl.java:328) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.domain.http.server.DomainApiHandler.processRequest(DomainApiHandler.java:320)
      	at org.jboss.as.domain.http.server.DomainApiHandler.doHandle(DomainApiHandler.java:226)
      	at org.jboss.as.domain.http.server.DomainApiHandler.handle(DomainApiHandler.java:233)
      	at org.jboss.as.domain.http.server.security.SubjectAssociationHandler.handle(SubjectAssociationHandler.java:51)
      	at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
      	at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:69)
      	at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
      	at org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:710)
      	at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
      	at org.jboss.as.domain.http.server.RealmReadinessFilter.doFilter(RealmReadinessFilter.java:47)
      	at org.jboss.as.domain.http.server.DmrFailureReadinessFilter.doFilter(DmrFailureReadinessFilter.java:45)
      	at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
      	at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:682)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_13]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_13]
      	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_13]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final]
      Caused by: org.osgi.service.resolver.ResolutionException: Unable to resolve HostBundleRevision[org.eclipse.gemini.management:1.0.5.RELEASE]: missing requirement XPackageRequirement[atts={osgi.wiring.package=org.osgi.framework.startlevel, version=1.0.0},[org.eclipse.gemini.management:1.0.5.RELEASE]]
      	at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285)
      	at org.apache.felix.resolver.Candidates.populate(Candidates.java:153)
      	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:96)
      	at org.jboss.osgi.resolver.felix.StatelessResolver.resolve(StatelessResolver.java:56)
      	at org.jboss.osgi.framework.internal.ResolverImpl.resolveAndApply(ResolverImpl.java:137)
      	at org.jboss.as.osgi.service.BundleLifecycleIntegration$BundleLifecycleImpl.activateDeferredPhase(BundleLifecycleIntegration.java:296)
      	... 31 more
      
      

      When I try to install the osgi-core-4.3 bundle I get the following error:

      11:48:50,887 INFO  [org.jboss.as.osgi] (HttpManagementService-threads - 6) JBAS011916: Activate deferred module phase for: osgi.core:4.3.0.201102171602
      11:48:50,891 ERROR [org.jboss.as.osgi] (HttpManagementService-threads - 6) JBAS011909: Management operation 'start' failed: org.osgi.framework.BundleException: JBOSGI011250: Cannot resolve bundle: osgi.core:4.3.0.201102171602
      	at org.jboss.as.osgi.service.BundleLifecycleIntegration$BundleLifecycleImpl.activateDeferredPhase(BundleLifecycleIntegration.java:299)
      	at org.jboss.as.osgi.service.BundleLifecycleIntegration$BundleLifecycleImpl.start(BundleLifecycleIntegration.java:229)
      	at org.jboss.osgi.framework.internal.AbstractBundleState.startWithOptions(AbstractBundleState.java:537)
      	at org.jboss.osgi.framework.internal.AbstractBundleState.start(AbstractBundleState.java:525)
      	at org.jboss.as.osgi.management.BundleResourceHandler.handleOperation(BundleResourceHandler.java:106)
      	at org.jboss.as.osgi.management.BundleResourceHandler.executeRuntimeStep(BundleResourceHandler.java:58)
      	at org.jboss.as.controller.AbstractRuntimeOnlyHandler$1.execute(AbstractRuntimeOnlyHandler.java:90) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.AbstractOperationContext.executeStep(AbstractOperationContext.java:440) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.AbstractOperationContext.doCompleteStep(AbstractOperationContext.java:322) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.AbstractOperationContext.completeStepInternal(AbstractOperationContext.java:229) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:224) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:142) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:112) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.ModelControllerImpl$2.execute(ModelControllerImpl.java:338) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.controller.ModelControllerImpl$2.execute(ModelControllerImpl.java:328) [jboss-as-controller-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      	at org.jboss.as.domain.http.server.DomainApiHandler.processRequest(DomainApiHandler.java:320)
      	at org.jboss.as.domain.http.server.DomainApiHandler.doHandle(DomainApiHandler.java:226)
      	at org.jboss.as.domain.http.server.DomainApiHandler.handle(DomainApiHandler.java:233)
      	at org.jboss.as.domain.http.server.security.SubjectAssociationHandler.handle(SubjectAssociationHandler.java:51)
      	at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
      	at org.jboss.sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:69)
      	at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
      	at org.jboss.sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:710)
      	at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:78)
      	at org.jboss.as.domain.http.server.RealmReadinessFilter.doFilter(RealmReadinessFilter.java:47)
      	at org.jboss.as.domain.http.server.DmrFailureReadinessFilter.doFilter(DmrFailureReadinessFilter.java:45)
      	at org.jboss.com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:81)
      	at org.jboss.sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:682)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_13]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_13]
      	at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_13]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final]
      Caused by: org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource org.eclipse.gemini.management [HostBundleRevision[org.eclipse.gemini.management:1.0.5.RELEASE]] because it is exposed to package 'org.osgi.framework' from resources osgi.core [HostBundleRevision[osgi.core:4.3.0.201102171602]] and system.bundle [SystemBundleRevision[system.bundle:0.0.0]] via two dependency chains.
      
      Chain 1:
        org.eclipse.gemini.management [HostBundleRevision[org.eclipse.gemini.management:1.0.5.RELEASE]]
          import: null
           |
          export: osgi.wiring.package=org.osgi.framework
        osgi.core [HostBundleRevision[osgi.core:4.3.0.201102171602]]
      
      Chain 2:
        org.eclipse.gemini.management [HostBundleRevision[org.eclipse.gemini.management:1.0.5.RELEASE]]
          import: null
           |
          export: osgi.wiring.package=org.osgi.service.cm; uses:=org.osgi.framework
        org.apache.felix.configadmin [HostBundleRevision[org.apache.felix.configadmin:1.2.8]]
          import: null
           |
          export: osgi.wiring.package=org.osgi.framework
        system.bundle [SystemBundleRevision[system.bundle:0.0.0]]
      	at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1142)
      	at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:197)
      	at org.jboss.osgi.resolver.felix.StatelessResolver.resolve(StatelessResolver.java:56)
      	at org.jboss.osgi.framework.internal.ResolverImpl.resolveAndApply(ResolverImpl.java:137)
      	at org.jboss.as.osgi.service.BundleLifecycleIntegration$BundleLifecycleImpl.activateDeferredPhase(BundleLifecycleIntegration.java:296)
      	... 31 more
      
      11:49:39,856 INFO  [org.jboss.osgi.framework] (MSC service thread 1-4) JBOSGI011005: Bundle uninstalled: osgi.core:4.3.0.201102171602
      11:49:39,857 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment core-4.3.0.jar (runtime-name: core-4.3.0.jar) in 3ms
      11:49:39,956 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018558: Undeployed "core-4.3.0.jar" (runtime-name: "core-4.3.0.jar")
      

              tdiesler@redhat.com Thomas Diesler
              Aaron.Whiteside Aaron Whiteside (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: