I am having failures deploying a simple war file (attached). Someone
know whats wrong with this (used to work till Friday). I built and am
running with JDK 1.5. Same problem with the V2.1 sample hello.war.
\v3\glassfish\bin>asadmin deploy
\Downloads\Flashlight-monitoring\session.war
remote failure: java.lang.LinkageError: Failed to inject class
com.sun.enterprise.web.WebContainer f
rom 103.0
Command deploy failed.
Logs
-----
SEVERE: Exception in command execution : java.lang.LinkageError: Failed
to inject class com.sun.ente
rprise.web.WebContainer from 103.0
java.lang.LinkageError: Failed to inject class
com.sun.enterprise.web.WebContainer from 103.0
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:156)
at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:100)
at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
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.glassfish.internal.data.ContainerInfo.getContainer(ContainerInfo.java:75)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.ja
va:798)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycl
e.java:435)
at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:270)
at
com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:279)
at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:286)
at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:114)
at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:239)
at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:156)
at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:148)
at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:621)
at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:552)
at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:800)
at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
at
com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:82
)
at
com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(Glassfis
hProtocolChain.java:70)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
at
com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:169)
Caused by: java.lang.LinkageError: Failed to inject class
com.sun.enterprise.container.common.impl.C
omponentEnvManagerImpl from 35.0
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:156)
at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:100)
at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:75)
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.getComponent(Habitat.java:325)
at
com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:122)
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:79)
... 27 more
Caused by: com.sun.enterprise.module.ResolveError: Failed to start
org.glassfish.ejb.ejb-container(G
lassFish Core EJB container implementation):10.0.0.SNAPSHOT
at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:111)
at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:120)
at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1.loadClass(OSGiModuleImpl.java:252)
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.getComponent(Habitat.java:325)
at
com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:122)
at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:79)
... 36 more
Caused by: org.osgi.framework.BundleException: Unresolved package in
bundle 112: package; (package=c
om.sun.enterprise.security.authorize)
at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:108)
... 44 more
- application/octet-stream attachment: hello.war