admin@glassfish.java.net

UnsatisfiedDepedencyException [sic]

From: Bobby Bissett <bobby.bissett_at_oracle.com>
Date: Wed, 5 May 2010 16:12:32 -0400

Howdy,

During an upgrade ("asadmin start-domain <v2_domain>") I get the stack
trace below. It doesn't seem to affect upgrading the domain, but
doesn't look happy.

Also, that's not the usual spelling of "dependency."

Cheers,
Bobby

----------------
[...]
[#|2010-05-05T16:10:11.343-0400|INFO|glassfish3.0|null|
_ThreadID=11;_ThreadName=Thread-1;|Cannot inject protected
com.sun.enterprise.config.serverbeans.SystemApplications
com
.sun.enterprise.v3.server.ApplicationLoaderService.systemApplications
in componentApplication Loader|#]

[#|2010-05-05T16:10:11.348-0400|SEVERE|glassfish3.0|
javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|
_ThreadID=11;_ThreadName=Thread-1;|
org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
dependency exception : protected
com.sun.enterprise.config.serverbeans.SystemApplications
com.sun.enterprise.v3.server.ApplicationLoaderService.systemApplications
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:
102)
        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
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.v3.server.UpgradeStartup.start(UpgradeStartup.java:
155)
        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)
        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:637)
Caused by: org.jvnet.hk2.component.UnsatisfiedDepedencyException:
Unsatisfied dependency exception : protected
com.sun.enterprise.config.serverbeans.SystemApplications
com.sun.enterprise.v3.server.ApplicationLoaderService.systemApplications
        at
org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:
97)
        ... 25 more
|#]

[#|2010-05-05T16:10:11.396-0400|INFO|glassfish3.0|
javax.enterprise.system.core.com.sun.enterprise.v3.server|
_ThreadID=11;_ThreadName=Thread-1;|Startup service failed to start :
Unsatisfied dependency exception : protected
com.sun.enterprise.config.serverbeans.SystemApplications
com
.sun.enterprise.v3.server.ApplicationLoaderService.systemApplications|#]
[...]