dev@glassfish.java.net

Re: glassfish not starting again

From: Justin Lee <justin.d.lee_at_oracle.com>
Date: Wed, 28 Jul 2010 13:25:50 -0400

  Well, I thought I *had* used that but when I try it now I see:

Exception in thread "main" java.lang.reflect.InvocationTargetException
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     at
com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:98)
     at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:61)
Caused by: com.sun.enterprise.module.ResolveError: Failed to start
Bundle Id [181] State [INSTALLED]
  [org.glassfish.core.kernel(Kernel Classes):3.1.0.SNAPSHOT]
     at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:174)
     at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl$2$1$1.loadClass(OSGiModuleImpl.java:341)
     at
com.sun.hk2.component.LazyInhabitant.loadClass(LazyInhabitant.java:126)
     at com.sun.hk2.component.LazyInhabitant.type(LazyInhabitant.java:103)
     at
org.jvnet.hk2.component.Habitat$SelfListener.inhabitantIndexChanged(Habitat.java:1094)
     at
org.jvnet.hk2.component.Habitat$3.inhabitantChanged(Habitat.java:559)
     at org.jvnet.hk2.component.Habitat$4.run(Habitat.java:600)
     at
org.jvnet.hk2.component.SameThreadExecutor.execute(SameThreadExecutor.java:77)
     at org.jvnet.hk2.component.Habitat.doNotify(Habitat.java:591)
     at org.jvnet.hk2.component.Habitat.notify(Habitat.java:577)
     at org.jvnet.hk2.component.Habitat.notify(Habitat.java:563)
     at org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:411)
     at org.jvnet.hk2.component.Habitat.addIndex(Habitat.java:405)
     at
com.sun.hk2.component.InhabitantsParser.add(InhabitantsParser.java:165)
     at
com.sun.hk2.component.InhabitantsParser.parse(InhabitantsParser.java:144)
     at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.parseInhabitants(OSGiModuleImpl.java:373)
     at
org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.parseInhabitants(OSGiModulesRegistryImpl.java:304)
     at
com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.createHabitat(AbstractModulesRegistryImpl.java:146)
     at
com.sun.enterprise.module.bootstrap.Main.createHabitat(Main.java:430)
     at org.jvnet.hk2.osgiadapter.HK2Main.createHabitat(HK2Main.java:92)
     at
com.sun.enterprise.glassfish.bootstrap.GlassFishActivator$1.newGlassFish(GlassFishActivator.java:86)
     at
com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:113)
     ... 6 more
Caused by: org.osgi.framework.BundleException: Unresolved constraint in
bundle org.glassfish.core.kernel [181]: Unable to resolve 181.0: missing
requirement [181.0] package;
(&(package=com.sun.enterprise.admin.util)(version>=3.1.0)) - [181.0]
package; (&(package=com.sun.enterprise.admin.util)(version>=3.1.0))
     at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3421)
     at org.apache.felix.framework.Felix.startBundle(Felix.java:1754)
     at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
     at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:166)
     ... 27 more


On 7/28/10 1:19 PM, Byron Nevins wrote:
> What do you see with --verbose?
>
> On 7/28/2010 8:59 AM, Justin Lee wrote:
>> When trying to start a trunk build from this morning I'm back to my
>> favorite bug of all time:
>>
>> /Users/jlee/Downloads/glassfishv3/glassfish/bin/asadmin start-domain
>> Waiting for the server to start
>> .........................................................................................................................................................................................................................................................................................................
>>
>>
>>
>> setting AS_DEBUG=true just yields screen after screen of:
>> Check for pid file:
>> /Users/jlee/Downloads/glassfishv3/glassfish/domains/domain1/config/pid
>>
>> server.log stops updating after:
>> Jul 28, 2010 11:58:51 AM
>> com.sun.enterprise.admin.launcher.GFLauncherLogger info
>> INFO: Successfully launched in 28 msec.
>>
>> Any ideas?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>