users@glassfish.java.net

Help! Glassfish v3 won't start after upgrade to 3.0.61

From: <glassfish_at_javadesktop.org>
Date: Wed, 02 Sep 2009 08:30:06 PDT

I am running Glassfish v3 on Ubuntu Linux 9.04 with JDK 1.6.0. Yesterday, I upgraded to 3.0.61, and now Glassfish won't start. Typing

asadmin start-domain

yields

Waiting for DAS to start.
Error starting domain: domain1. It didn't start in 90 seconds
Command start-domain failed.

There is a stacktrace in the logs, together with lots of messages about normal progress. See below.

Googling for the message led me to https://glassfish.dev.java.net/issues/show_bug.cgi?id=4917, but that is marked as fixed.

The server is now in a weird state. I can point my browser to localhost:8080 and localhost:4848, but I cannot stop it:

asadmin stop-domain
CLI306 Warning - server is not running.
Command stop-domain executed successfully.

Stopping from the admin console didn't work either.

This makes the server unusable with the Eclipse plugin--the Eclipse plugin thinks the server never started.

Any suggestions?

Thanks,

Cay


[#|2009-09-02T08:11:59.433-0700|SEVERE|glassfish|org.apache.catalina.core.ContainerBase|_ThreadID=11;_ThreadName=Thread-2;|PWC1240: Container StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[] has not been started
LifecycleException: LifecycleException: webModuleContextConfig.missingRealm
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5290)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:505)
        at org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:975)
        at org.apache.catalina.core.ContainerBase.startChildren(ContainerBase.java:1523)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1190)
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:529)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:946)
        at com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:563)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:89)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
        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 org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:78)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:680)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:434)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:235)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:306)
        at com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:147)
        at com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174)
        at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:89)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
        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:129)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:460)
        at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:404)
        at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:121)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1461)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:779)
        at org.jvnet.hk2.osgimain.Main.start(Main.java:117)
        at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1461)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984)
        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263)
        at java.lang.Thread.run(Thread.java:619)
|#]
[Message sent by forum member 'cayhorstmann' (cay_at_horstmann.com)]

http://forums.java.net/jive/thread.jspa?messageID=362720