org.osgi.framework.BundleException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Glassfish start issue with the most recent update
    via by user12154507,
    • org.osgi.framework.BundleException: Activator start error in bundle com.sun.enterprise.osgi-adapter [171]. at org.apache.felix.framework.Felix.activateBundle(Felix.java:1751) at org.apache.felix.framework.Felix.startBundle(Felix.java:1622) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915) at org.jvnet.hk2.osgimain.Main.start(Main.java:140) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700) at org.apache.felix.framework.Felix.startBundle(Felix.java:1622) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.LinkageError: Failed to inject class com.sun.enterprise.deployment.archivist.ApplicationArchivist from 174.0 at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:163) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87) at java.security.AccessController.doPrivileged(Native Method) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:600) at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:581) at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:341) at org.glassfish.javaee.full.deployment.EarHandler.getApplicationHolder(EarHandler.java:332) at org.glassfish.javaee.full.deployment.EarHandler.getClassLoader(EarHandler.java:193) at org.glassfish.deployment.common.DeploymentContextImpl.createClassLoader(DeploymentContextImpl.java:194) at org.glassfish.deployment.common.DeploymentContextImpl.createDeploymentClassLoader(DeploymentContextImpl.java:177) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:248) at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:362) at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:185) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87) at java.security.AccessController.doPrivileged(Native Method) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:236) at com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:128) at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457) at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401) at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:125) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700) ... 9 more Caused by: java.lang.LinkageError: Failed to inject class com.sun.enterprise.deployment.annotation.factory.SJSASFactory from 174.0 at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:163) at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170) at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87) at java.security.AccessController.doPrivileged(Native Method) at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:600) at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:581) at com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:149) at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81) ... 41 more Caused by: com.sun.enterprise.module.ResolveError: Failed to start Bundle Id [167] State [INSTALLED] [org.glassfish.webservices.jsr109-impl(JSR-109 implementation to deploy Metro):3.0.1] at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:174) at org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:341) at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60) at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:276) at java.util.AbstractList$Itr.next(AbstractList.java:345) at java.util.AbstractCollection.toArray(AbstractCollection.java:171) at com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:125) at org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81) ... 53 more Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.sun.xml.ws [90]: package; (package=org.jvnet.mimepull) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263) at org.apache.felix.framework.Felix.startBundle(Felix.java:1597) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915) at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:166) ... 62 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    davidvanlaatum
    28 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    14 more bugmates