dev@glassfish.java.net

V3: Latest Build: Unsatisfied dependency exception : protected com.sun.enterprise.deployment.archivist.ArchivistFactory

From: V B Kumar Jayanti <Vbkumar.Jayanti_at_Sun.COM>
Date: Wed, 19 Mar 2008 16:34:21 +0530

I am getting the following error when deploying an App with latest
Builds... With Mar 17th build things are working fine...

  
Mar 19, 2008 4:29:13 PM
com.sun.enterprise.v3.server.ApplicationLifecycle failur
e
SEVERE: Cannot instantiate or inject class
com.sun.enterprise.web.WebDeployer
org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
dependency ex
ception : protected
com.sun.enterprise.deployment.archivist.ArchivistFactory org
.glassfish.javaee.core.deployment.JavaEEDeployer.archivistFactory
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
:86)
        at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:6
4)
        at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
:50)
        at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
        at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
a:22)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
        at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
pl.java:24)
        at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:478)
        at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:459)
        at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:268)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(App
licationLifecycle.java:748)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos
(ApplicationLifecycle.java:408)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
ifecycle.java:264)
        at
com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.
java:289)
        at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.jav
a:181)
        at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.jav
a:79)
        at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:
152)
        at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:10
9)
        at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProces
sorTask.java:605)
        at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorT
ask.java:536)
        at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTas
k.java:785)
        at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFil
ter.java:130)
        at
com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpPr
otocolFilter.java:99)
        at
com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executePro
tocolFilter(GlassfishProtocolChain.java:61)
        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:78)
        at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
ask.java:54)
        at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
java:57)
        at
com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
Caused by: org.jvnet.hk2.component.UnsatisfiedDepedencyException:
Unsatisfied de
pendency exception :
com.sun.enterprise.deployment.archivist.PrivateArchivist[]
com.sun.enterprise.deployment.archivist.ArchivistFactory.privateArchivists
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
:86)
        at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:6
4)
        at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
:50)
        at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
        at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
a:22)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
        at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
pl.java:24)
        at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:478)
        at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:459)
        at
com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.ja
va:91)
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
:65)
        ... 27 more
Caused by: org.jvnet.hk2.component.UnsatisfiedDepedencyException:
Unsatisfied de
pendency exception :
com.sun.enterprise.deployment.annotation.factory.SJSASFacto
ry com.sun.enterprise.deployment.archivist.Archivist.annotationFactory
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
:86)
        at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:6
4)
        at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
:50)
        at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
        at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
pl.java:24)
        at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:206)
        at java.util.AbstractList$Itr.next(AbstractList.java:422)
        at java.util.AbstractCollection.toArray(AbstractCollection.java:176)
        at
com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.ja
va:82)
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
:65)
        ... 37 more
Caused by: org.jvnet.hk2.component.UnsatisfiedDepedencyException:
Unsatisfied de
pendency exception : org.glassfish.apf.AnnotationHandler[]
com.sun.enterprise.de
ployment.annotation.factory.SJSASFactory.handlers
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
:86)
        at
com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:6
4)
        at
com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java
:50)
        at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
        at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.jav
a:22)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
        at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
pl.java:24)
        at org.jvnet.hk2.component.Habitat.getBy(Habitat.java:478)
        at org.jvnet.hk2.component.Habitat.getByType(Habitat.java:459)
        at
com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.ja
va:91)
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
:65)
        ... 47 more
Caused by: org.jvnet.hk2.component.ComponentException: Failed to load
com.sun.en
terprise.deployment.annotation.handlers.RemoveHandler from
ModuleClassLoader(nam
e=org.glassfish.admin:admin-cli,
parent=,URls[]=file:/D:/GLASSFISHV3/glassfish-1
0.0-SNAPSHOT/glassfish/modules/./admin-cli-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV
3/glassfish-10.0-SNAPSHOT/glassfish/modules/cli-framework-10.0-SNAPSHOT.jar,file
:/D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT/glassfish/modules/glassfish-10.0-SNAPSH
OT.jar,file:/D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT/glassfish/modules/server-mgm
t-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT/glassfish/modul
es/common-util-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT/gl
assfish/modules/admin-util-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/glassfish-10.0
-SNAPSHOT/glassfish/modules/launcher-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/glas
sfish-10.0-SNAPSHOT/glassfish/modules/universal-10.0-SNAPSHOT.jar,file:/D:/GLASS
FISHV3/glassfish-10.0-SNAPSHOT/glassfish/modules/realms-10.0-SNAPSHOT.jar,file:/
D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT/glassfish/modules/dol-10.0-SNAPSHOT.jar,)
,init=true,URls[]=file:/D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT/glassfish/modules
/./admin-cli-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT/glas
sfish/modules/cli-framework-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/glassfish-10.
0-SNAPSHOT/glassfish/modules/glassfish-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/gl
assfish-10.0-SNAPSHOT/glassfish/modules/server-mgmt-10.0-SNAPSHOT.jar,file:/D:/G
LASSFISHV3/glassfish-10.0-SNAPSHOT/glassfish/modules/common-util-10.0-SNAPSHOT.j
ar,file:/D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT/glassfish/modules/admin-util-10.
0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT/glassfish/modules/la
uncher-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT/glassfish/
modules/universal-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/glassfish-10.0-SNAPSHOT
/glassfish/modules/realms-10.0-SNAPSHOT.jar,file:/D:/GLASSFISHV3/glassfish-10.0-
SNAPSHOT/glassfish/modules/dol-10.0-SNAPSHOT.jar,)
        at
com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:70)
        at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
pl.java:24)
        at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:206)
        at java.util.AbstractList$Itr.next(AbstractList.java:422)
        at java.util.AbstractCollection.toArray(AbstractCollection.java:176)
        at
com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.ja
va:82)
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java
:65)
        ... 57 more
Caused by: java.lang.ClassNotFoundException:
com/sun/enterprise/deployment/annot
ation/handlers/AbstractAttributeHandler
        at
com.sun.enterprise.module.impl.ClassLoaderProxy.findClassDirect(Class
LoaderProxy.java:129)
        at
com.sun.enterprise.module.impl.ClassLoaderProxy.findClass(ClassLoader
Proxy.java:87)
        at
com.sun.enterprise.module.impl.ClassLoaderProxy.findClass(ClassLoader
Proxy.java:81)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at
com.sun.enterprise.module.impl.ModuleClassLoader.loadClass(ModuleClas
sLoader.java:67)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at
com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:55)
        ... 64 more
Mar 19, 2008 4:29:14 PM
com.sun.enterprise.v3.server.ApplicationLifecycle failur
e
SEVERE: Failed to start containers
Mar 19, 2008 4:29:14 PM
com.sun.enterprise.v3.server.ApplicationLifecycle failur
e
SEVERE: Exception while deploying the app
java.lang.Exception: Failed to start containers
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos
(ApplicationLifecycle.java:411)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationL
ifecycle.java:264)
        at
com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.
java:289)
        at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.jav
a:181)
        at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.jav
a:79)
        at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:
152)
        at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:10
9)
        at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProces
sorTask.java:605)
        at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorT
ask.java:536)
        at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTas
k.java:785)
        at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFil
ter.java:130)
        at
com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpPr
otocolFilter.java:99)
        at
com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executePro
tocolFilter(GlassfishProtocolChain.java:61)
        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.jav
a:78)
        at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextT
ask.java:54)
        at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.
java:57)
        at
com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
Mar 19, 2008 4:29:14 PM org.apache.coyote.tomcat5.MapperListener
registerHost
WARNING: HTTP listener with port 8080 ignoring registration of host with
object
name com.sun.appserv:type=Host,host=__asadmin, because none of the
host's associ
ated HTTP listeners matches this port
Mar 19, 2008 4:29:14 PM org.apache.coyote.tomcat5.MapperListener
registerHost
WARNING: HTTP listener with port 8181 ignoring registration of host with
object
name com.sun.appserv:type=Host,host=__asadmin, because none of the
host's associ
ated HTTP listeners matches this port
Mar 19, 2008 4:29:14 PM org.apache.coyote.tomcat5.MapperListener
registerHost
WARNING: HTTP listener with port 8080 ignoring registration of host with
object
name com.sun.appserv:type=Host,host=__asadmin, because none of the
host's associ
ated HTTP listeners matches this port
Mar 19, 2008 4:29:14 PM org.apache.coyote.tomcat5.MapperListener
registerHost
WARNING: HTTP listener with port 8181 ignoring registration of host with
object
name com.sun.appserv:type=Host,host=__asadmin, because none of the
host's associ
ated HTTP listeners matches this port
Mar 19, 2008 4:29:14 PM org.apache.coyote.tomcat5.MapperListener
registerHost
WARNING: HTTP listener with port 8080 ignoring registration of host with
object
name com.sun.appserv:type=Host,host=__asadmin, because none of the
host's associ
ated HTTP listeners matches this port
Mar 19, 2008 4:29:14 PM org.apache.coyote.tomcat5.MapperListener
registerHost
WARNING: HTTP listener with port 8181 ignoring registration of host with
object
name com.sun.appserv:type=Host,host=__asadmin, because none of the
host's associ
ated HTTP listeners matches this port

Thanks.