admin@glassfish.java.net

Re: UnsatisfiedDepedencyException [sic]

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Wed, 05 May 2010 17:21:15 -0700

What's the context -- this is a V2 upgrade to V3.0 or 3.????


On 5/5/2010 1:12 PM, Bobby Bissett wrote:
> 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|#]
>
> [...]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>

-- 
Byron Nevins  -  Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188