dev@glassfish.java.net

Re: [v3] HELP! exception when starting server with a fresh build

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Wed, 19 Mar 2008 23:39:10 -0700

Hi Jane,

I just found that I could download the latest "successful" build from:

    http://glassfishbuildtools.sun.com/job/glassfish-v3/

The first few times I clicked on the link it gave me a 404... but I
didn't have a good build to try, so I kept clicking on it hoping it
would change. :) It did after a short time (maybe 5 minutes after my
first try). So I thought I was good to go... after all it was a
successful build, right?

I get the same error you're seeing below. And the performance of the
server is 2x as slow as the last full build I made from a few days ago
(maybe last week? The days are blending together).

I feel your pain... (and lack of productivity).

Ken



Jane Young wrote:
> Thanks for the response. I just did a fresh checkout and Server is now
> starting without any exception.
> But when I do a "asadmin list-commands", I get this exception:
>
> SEVERE: Exception in command execution :
> org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
> dependency exception : private javax.management.MBeanServer
> org.glassfish.admin.amx.cmd.AMXCommandBase.mMBeanServer
> org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
> dependency exception : private javax.management.MBeanServer
> org.glassfish.admin.amx.cmd.AMXCommandBase.mMBeanServer
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:86)
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:64)
> 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(AbstractInhabitantImpl.java:24)
>
> at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:206)
> at java.util.AbstractList$Itr.next(AbstractList.java:422)
> at
> com.sun.enterprise.v3.admin.ListCommandsCommand.execute(ListCommandsCommand.java:58)
>
> at
> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:181)
>
> at
> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:79)
>
> at
> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:144)
> at
> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:109)
> at
> com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:605)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:536)
>
> at
> com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:785)
>
> at
> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:130)
>
> at
> com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:99)
>
> at
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:61)
>
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:78)
>
> at
> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.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 dependency exception : private
> javax.management.MBeanServer
> org.glassfish.admin.amx.cmd.AMXCommandBase.mMBeanServer
> at
> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81)
> ... 22 more
>
> Should I ignore this?
>
> Thanks,
> Jane
>
> Dinesh Patil wrote:
>
>>
>> Byron Nevins wrote:
>>
>>> DevTests went red at 4:41PM
>>> Build went red at 5:02 PM
>>>
>> Both FIXED!
>> -Dinesh
>>
>>> Jane Young wrote:
>>>
>>>> I need help!
>>>>
>>>> I checked-out a fresh build and now I see this exception when
>>>> starting the server:
>>>>
>>>> SEVERE: Exception in thread "AppServerStartup"
>>>> Mar 19, 2008 4:48:06 PM SEVERE: java.lang.LinkageError: Failed to
>>>> inject class
>>>> com.sun.enterprise.v3.services.impl.ApplicationLoaderService from
>>>> ModuleClassLoader(name=org.glassfish.core:kernel,
>>>> parent=,URls[]=file:/export/Glassfish/glassfish_v3_19Mar/v3/execute/glassfish/modules/./kernel-10.0-SNAPSHOT.jar,),init=true,URls[]=file:/export/Glassfish/glassfish_v3_19Mar/v3/execute/glassfish/modules/./kernel-10.0-SNAPSHOT.jar,)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:142)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:64)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:50)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:39)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:22)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:24)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.enterprise.v3.server.AppServerStartup$1.run(AppServerStartup.java:108)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> java.lang.Thread.run(Thread.java:613)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: Caused by:
>>>> com.sun.enterprise.module.ResolveError: Module Dependency :
>>>> org.glassfish.admin:monitoring-core: referenced from
>>>> org.glassfish.web:webtier is not resolved
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.enterprise.module.impl.ModuleImpl.resolve(ModuleImpl.java:330)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.enterprise.module.impl.ModuleImpl.start(ModuleImpl.java:377)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.enterprise.module.impl.ModuleClassLoader.initialize(ModuleClassLoader.java:136)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.enterprise.module.impl.ModuleClassLoader.loadClass(ModuleClassLoader.java:66)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:55)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:70)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:24)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> org.jvnet.hk2.component.Habitat$1.get(Habitat.java:206)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> java.util.AbstractList$Itr.next(AbstractList.java:422)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> java.util.AbstractCollection.toArray(AbstractCollection.java:176)
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:82)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: at
>>>> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:65)
>>>>
>>>> Mar 19, 2008 4:48:06 PM SEVERE: ... 8 more
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> "asadmin list-commands" does not list deploy command:
>>>> janey:/export/Glassfish/glassfish_v3_19Mar/v3/execute/glassfish/bin
>>>> janey$ ./asadmin list-commands
>>>> Time to pre-load classes = 351 msec
>>>> SUCCESS : List of Commands
>>>> Command : create-http-listener
>>>> Command : list-http-listeners
>>>> Command : delete-http-listener
>>>> Command : create-virtual-server
>>>> Command : list-virtual-servers
>>>> Command : delete-virtual-server
>>>> Command : create-resource-ref
>>>> Command : delete-resource-ref
>>>> Command : list-resource-refs
>>>> Command : list-jdbc-resources
>>>> Command : delete-jdbc-resource
>>>> Command : create-profiler
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>