You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by ranbaab <el...@gmail.com> on 2011/07/06 10:40:32 UTC

Geronimo server stop when undeploy or redeploy.

Hi all,

I have web application which is deploy on geronimo 2.2.1 little-G.

After starting the application, deploy through command line as 
 
deploy --user system --password manager deploy --inPlace ../../bhm

Deploy successfully and the application works fine.

When I try to redeploy or undeploy through command line, the geronimo server
stop automatically by displaying the error message in the deploy.log as


2011-07-06 13:58:10,050 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Operation failed: Error
unmarshaling return header; nested exception is:
        java.net.SocketException: Connection reset
        Connection reset

        at
org.apache.geronimo.deployment.cli.CommandStart.execute(CommandStart.java:91)
        at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:172)
        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
Exception in thread "main" java.lang.IllegalStateException: Unable to close
connection
        at
org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.release(RemoteDeploymentManager.java:133)
        at
org.apache.geronimo.deployment.cli.ServerConnection.close(ServerConnection.java:113)
        at
org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:182)
        at
org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
        at
org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at
org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)
Caused by: java.rmi.ConnectException: Connection refused to host:
192.168.6.68; nested exception is:
        java.net.ConnectException: Connection refused: connect
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
        at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:210)
        at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:196)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
        at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
        at
javax.management.remote.rmi.RMIConnectionImpl_Stub.close(RMIConnectionImpl_Stub.java:121)
        at
javax.management.remote.rmi.RMIConnector.close(RMIConnector.java:492)
        at
javax.management.remote.rmi.RMIConnector.close(RMIConnector.java:432)
        at
org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.release(RemoteDeploymentManager.java:130)
        ... 5 more
Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:383)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:245)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:232)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
        at java.net.Socket.connect(Socket.java:539)
        at java.net.Socket.connect(Socket.java:488)
        at java.net.Socket.<init>(Socket.java:385)
        at java.net.Socket.<init>(Socket.java:199)
        at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:34)
        at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:140)
        at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:607)
        ... 13 more

*The web application used DBservice connected through RMI.*
Note:-The geronimo is started as window service using main class DaemonCLI.
Can anybody through some light on this issue?

Thanks,
Ranjan



--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-server-stop-when-undeploy-or-redeploy-tp3143947p3143947.html
Sent from the Users mailing list archive at Nabble.com.

Re: Geronimo server stop when undeploy or redeploy.

Posted by ranbaab <el...@gmail.com>.
Hi Kevan,

Thanks for your reply.

Yes you are right after undeploy/redeploy operation stop the server process.

No message at the geronimo.log

I believed, during the undeploy operation, geronimo cannot remove the
application.

Database is running as service and the web application connect through RMI.
One of the jar which is in the WEB-INF/lib folder of the web application is
used by the Database application. Is it because of this?

The same log message display if I stop the DB and try to undeploy the
application.

And If I stop both the DB aand Geronimo, the command 
"deploy --user system --password manager --offline undeploy moduleId" works
fine.

Thanks,
Ranjan








--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-server-stop-when-undeploy-or-redeploy-tp3143947p3147202.html
Sent from the Users mailing list archive at Nabble.com.

Re: Geronimo server stop when undeploy or redeploy.

Posted by Luciano Salotto <ls...@gmail.com>.
To review what was running on the JVM when you perform the kill -3 you can
use IBM's Thread and Monitor Dump Analyzer (
http://www.alphaworks.ibm.com/tech/jca).
HTH

Luciano

On Tue, Jul 19, 2011 at 11:09 AM, Kevan Miller <ke...@gmail.com>wrote:

>
> On Jul 19, 2011, at 8:04 AM, ranbaab wrote:
>
> > Hi Kevan,
> >
> > First I would like to thank you for your valuable advice and support.
> >
> > Below are the steps followed to get the dump, please let me know if I
> miss
> > any steps
> >
> > 1. Command for undeploy
> >
> > [root@fc70 bin]# ./deploy.sh --user system --password manager undeploy
> > ibm/bhm/application/war
> > Using GERONIMO_HOME:   /opt/ibm/BLADEHarmonyManager/webserver
> > Using GERONIMO_TMPDIR: var/temp
> > Using JRE_HOME:        /usr/java/ibm-java-i386-60/jre
> >
> > It stuck here, no further message ....
> >
> >
> > 2. Check for the PID (another console)
> >
> > [root@fc70 ~]# ps -ef | grep java
> > root      4716     1  1 16:01 ?        00:00:59 xxxxdataBase
> > root      5701     1  6 16:52 pts/1    00:00:33 xxxxApplication
> > root      5788  5784  3 16:56 pts/1    00:00:09 xxxxxApplication
> > bin/deployer.jar --user system --password manager undeploy
> /application/war
> > root      5844  5546  0 17:00 pts/2    00:00:00 grep java
> >
> > *This means that the server PID is 5701 and undeploy command PID is
> 5788.*
> >
> > 3. Command to generate java stack traces
> > [root@fc70 ~]# kill -3 5701
> >
> > The above command generate a dump in the folder bin.
> >
> > *Some last line from the file.*
> >
> > 3CLTEXTCLASS
>  org/apache/geronimo/tomcat/model/LocalEjbType(0x0BB75D60)
> > 3CLTEXTCLASS
>  org/apache/geronimo/tomcat/model/ResourceType(0x0BB75E80)
> > 3CLTEXTCLASS
> > org/apache/geronimo/tomcat/model/ResourceEnvRefType(0x0BB761C0)
> > 3CLTEXTCLASS
> > org/apache/geronimo/tomcat/model/ServiceRefType(0x0BB762B0)
> > 3CLTEXTCLASS
> > org/apache/geronimo/tomcat/model/TransactionType(0x0BB763A0)
> > 3CLTEXTCLASS
> >
> org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_emptySessionPath(0x0BB764C0)
> > 3CLTEXTCLASS
> >
> org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_enableLookups(0x0BB76640)
> > 3CLTEXTCLASS
> >
> org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_maxPostSize(0x0BB767C0)
> > 3CLTEXTCLASS
> >
> org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_maxSavePostSize(0x0BB76940)
> > 3CLTEXTCLASS
>  org/apache/catalina/connector/Connector(0x0BB69410)
> > 3CLTEXTCLASS
>  org/apache/catalina/Container(0x0BB6A3F0)
> > 3CLTEXTCLASS
>  org/apache/catalina/Context(0x0BB6A720)
> > 3CLTEXTCLASS
>  org/apache/geronimo/tomcat/TomcatContext(0x0BB6B090)
> > 3CLTEXTCLASS
>  org/apache/geronimo/tomcat/TomcatWebContainer(0x0BA0E7F0)
> > 3CLTEXTCLASS
>  org/apache/geronimo/tomcat/TomcatContainer(0x0BA0E900)
> > 3CLTEXTCLASS
>  org/apache/geronimo/tomcat/ObjectRetriever(0x0BA0F0E0)
> > 3CLTEXTCLASS
>  org/apache/geronimo/tomcat/BaseGBean(0x0BA0F1B0)
> > 3CLTEXTCLASS
> > org/apache/geronimo/tomcat/LifecycleListenerGBean(0x0BA0F330)
> > 3CLTEXTCLASS
>  org/apache/catalina/Lifecycle(0x0BA0F670)
> > 3CLTEXTCLASS
> > org/apache/geronimo/tomcat/TomcatServerConfigManager(0x0BB2B340)
> > 3CLTEXTCLASS
>  org/apache/catalina/Server(0x0BB2B720)
> > 3CLTEXTCLASS
>  org/apache/catalina/Service(0x0BB2B8B0)
> > 3CLTEXTCLASS
>  org/apache/geronimo/tomcat/TomcatServerGBean(0x0BB2ACE0)
> > 3CLTEXTCLASS
>  org/apache/geronimo/tomcat/TomcatManagerImpl(0x0BA94030)
> > 2CLTEXTCLLOAD                 Loader
> >
> org/apache/geronimo/kernel/config/ChildrenConfigurationClassLoader(0xA87926B0)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xA9924328)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor139(0x0C809E90)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xA9929C30)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor140(0x0C80A240)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xA9935C78)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor141(0x0C80B3A0)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xA993B688)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor142(0x0C80B6F0)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xA993FD30)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor143(0x0C80C440)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xA99486D8)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor144(0x0C80C790)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xA994DFC8)
> > 3CLTEXTCLASS
>  sun/reflect/GeneratedMethodAccessor69(0x0C80CAE0)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xA99581A0)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor145(0x0C80F1F0)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA92C7850)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA92D4580)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA0E65D8)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor146(0x0C7D8530)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA0ECB10)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor147(0x0C7D88E0)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA0F3620)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor148(0x0C7D9160)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA100AB0)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor149(0x0C7D99E0)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA105C60)
> > 3CLTEXTCLASS
>  sun/reflect/GeneratedMethodAccessor70(0x0C7DA900)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA92E12B8)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA114AA8)
> > 3CLTEXTCLASS
> > sun/reflect/GeneratedSerializationConstructorAccessor150(0x0C7DAD90)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA92EE170)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA131020)
> > 3CLTEXTCLASS
>  sun/reflect/GeneratedMethodAccessor71(0x0C7DB610)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA92FAF28)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9307D90)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9314B10)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA93218B0)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA932E7D0)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA933B4F0)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA17F920)
> > 3CLTEXTCLASS
>  sun/reflect/GeneratedMethodAccessor72(0x0C7DE160)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA18D218)
> > 3CLTEXTCLASS
>  sun/reflect/GeneratedMethodAccessor73(0x0C7DD8D0)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9348300)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA193790)
> > 3CLTEXTCLASS
>  sun/reflect/GeneratedMethodAccessor74(0x0C7DF790)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9355428)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA93635E0)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9375180)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9382040)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA938F6A8)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA1E0BA0)
> > 3CLTEXTCLASS
>  sun/reflect/GeneratedMethodAccessor75(0x0C7E0190)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA939C460)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xAA1EEA50)
> > 3CLTEXTCLASS
>  sun/reflect/GeneratedMethodAccessor76(0x0C7E0730)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA93A9180)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA93B60B8)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA93C57D0)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA93D25B8)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA93DF4D0)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA93EC2F8)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA93F9138)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9406108)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9412EB8)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA941FD68)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA942CB38)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9439948)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9446810)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA94536C0)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9462508)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA946F290)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA947EA98)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA94875C8)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA9490E10)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA949A3A8)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA94AED70)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA94B8550)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA94CE570)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA94DE100)
> > 2CLTEXTCLLOAD                 Loader
> > com/sun/jmx/remote/util/OrderClassLoaders(0xA94EDAD8)
> > 2CLTEXTCLLOAD                 Loader
> sun/reflect/DelegatingClassLoader(0xA979B258)
> > 3CLTEXTCLASS
>  sun/reflect/GeneratedMethodAccessor77(0x0AA6E170)
> > NULL
> > ------------------------------------------------------------------------
> > 0SECTION       Javadump End section
> > NULL           ---------------------- END OF DUMP
> > -------------------------------------
> >
> >
> > I am not able to understand anything from the dump.
> >
> > Note: - Our application has its own jre.
> >           The UI cannot be launch.
> >           No clue in the geronimo.log
>
> That's obviously an IBM JRE. There's a section int the dump with the Thread
> stack traces. Agreed that it's not easy to read... But the data should be in
> there. If you can post the dump where we can download it, I expect someone
> can take a look at it. Two choices -- a site of your own choosing or create
> a Geronimo Jira and attach the dump file to the Jira issue. Here's a pointer
> to the Geronimo Jira -- https://issues.apache.org/jira/browse/GERONIMO
>
> --kevan

Re: Geronimo server stop when undeploy or redeploy.

Posted by Kevan Miller <ke...@gmail.com>.
On Jul 19, 2011, at 8:04 AM, ranbaab wrote:

> Hi Kevan,
> 
> First I would like to thank you for your valuable advice and support.
> 
> Below are the steps followed to get the dump, please let me know if I miss
> any steps
> 
> 1. Command for undeploy
> 
> [root@fc70 bin]# ./deploy.sh --user system --password manager undeploy
> ibm/bhm/application/war
> Using GERONIMO_HOME:   /opt/ibm/BLADEHarmonyManager/webserver
> Using GERONIMO_TMPDIR: var/temp
> Using JRE_HOME:        /usr/java/ibm-java-i386-60/jre
> 
> It stuck here, no further message ....
> 
> 
> 2. Check for the PID (another console)
> 
> [root@fc70 ~]# ps -ef | grep java
> root      4716     1  1 16:01 ?        00:00:59 xxxxdataBase
> root      5701     1  6 16:52 pts/1    00:00:33 xxxxApplication
> root      5788  5784  3 16:56 pts/1    00:00:09 xxxxxApplication 
> bin/deployer.jar --user system --password manager undeploy /application/war
> root      5844  5546  0 17:00 pts/2    00:00:00 grep java
> 
> *This means that the server PID is 5701 and undeploy command PID is 5788.*
> 
> 3. Command to generate java stack traces
> [root@fc70 ~]# kill -3 5701
> 
> The above command generate a dump in the folder bin.
> 
> *Some last line from the file.*
> 
> 3CLTEXTCLASS   			org/apache/geronimo/tomcat/model/LocalEjbType(0x0BB75D60)
> 3CLTEXTCLASS   			org/apache/geronimo/tomcat/model/ResourceType(0x0BB75E80)
> 3CLTEXTCLASS   		
> org/apache/geronimo/tomcat/model/ResourceEnvRefType(0x0BB761C0)
> 3CLTEXTCLASS   		
> org/apache/geronimo/tomcat/model/ServiceRefType(0x0BB762B0)
> 3CLTEXTCLASS   		
> org/apache/geronimo/tomcat/model/TransactionType(0x0BB763A0)
> 3CLTEXTCLASS   		
> org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_emptySessionPath(0x0BB764C0)
> 3CLTEXTCLASS   		
> org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_enableLookups(0x0BB76640)
> 3CLTEXTCLASS   		
> org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_maxPostSize(0x0BB767C0)
> 3CLTEXTCLASS   		
> org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_maxSavePostSize(0x0BB76940)
> 3CLTEXTCLASS   			org/apache/catalina/connector/Connector(0x0BB69410)
> 3CLTEXTCLASS   			org/apache/catalina/Container(0x0BB6A3F0)
> 3CLTEXTCLASS   			org/apache/catalina/Context(0x0BB6A720)
> 3CLTEXTCLASS   			org/apache/geronimo/tomcat/TomcatContext(0x0BB6B090)
> 3CLTEXTCLASS   			org/apache/geronimo/tomcat/TomcatWebContainer(0x0BA0E7F0)
> 3CLTEXTCLASS   			org/apache/geronimo/tomcat/TomcatContainer(0x0BA0E900)
> 3CLTEXTCLASS   			org/apache/geronimo/tomcat/ObjectRetriever(0x0BA0F0E0)
> 3CLTEXTCLASS   			org/apache/geronimo/tomcat/BaseGBean(0x0BA0F1B0)
> 3CLTEXTCLASS   		
> org/apache/geronimo/tomcat/LifecycleListenerGBean(0x0BA0F330)
> 3CLTEXTCLASS   			org/apache/catalina/Lifecycle(0x0BA0F670)
> 3CLTEXTCLASS   		
> org/apache/geronimo/tomcat/TomcatServerConfigManager(0x0BB2B340)
> 3CLTEXTCLASS   			org/apache/catalina/Server(0x0BB2B720)
> 3CLTEXTCLASS   			org/apache/catalina/Service(0x0BB2B8B0)
> 3CLTEXTCLASS   			org/apache/geronimo/tomcat/TomcatServerGBean(0x0BB2ACE0)
> 3CLTEXTCLASS   			org/apache/geronimo/tomcat/TomcatManagerImpl(0x0BA94030)
> 2CLTEXTCLLOAD  		Loader
> org/apache/geronimo/kernel/config/ChildrenConfigurationClassLoader(0xA87926B0)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA9924328)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor139(0x0C809E90)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA9929C30)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor140(0x0C80A240)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA9935C78)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor141(0x0C80B3A0)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA993B688)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor142(0x0C80B6F0)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA993FD30)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor143(0x0C80C440)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA99486D8)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor144(0x0C80C790)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA994DFC8)
> 3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor69(0x0C80CAE0)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA99581A0)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor145(0x0C80F1F0)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA92C7850)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA92D4580)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA0E65D8)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor146(0x0C7D8530)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA0ECB10)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor147(0x0C7D88E0)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA0F3620)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor148(0x0C7D9160)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA100AB0)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor149(0x0C7D99E0)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA105C60)
> 3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor70(0x0C7DA900)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA92E12B8)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA114AA8)
> 3CLTEXTCLASS   		
> sun/reflect/GeneratedSerializationConstructorAccessor150(0x0C7DAD90)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA92EE170)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA131020)
> 3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor71(0x0C7DB610)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA92FAF28)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9307D90)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9314B10)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA93218B0)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA932E7D0)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA933B4F0)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA17F920)
> 3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor72(0x0C7DE160)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA18D218)
> 3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor73(0x0C7DD8D0)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9348300)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA193790)
> 3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor74(0x0C7DF790)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9355428)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA93635E0)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9375180)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9382040)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA938F6A8)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA1E0BA0)
> 3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor75(0x0C7E0190)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA939C460)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA1EEA50)
> 3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor76(0x0C7E0730)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA93A9180)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA93B60B8)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA93C57D0)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA93D25B8)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA93DF4D0)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA93EC2F8)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA93F9138)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9406108)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9412EB8)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA941FD68)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA942CB38)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9439948)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9446810)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA94536C0)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9462508)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA946F290)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA947EA98)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA94875C8)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA9490E10)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA949A3A8)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA94AED70)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA94B8550)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA94CE570)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA94DE100)
> 2CLTEXTCLLOAD  		Loader
> com/sun/jmx/remote/util/OrderClassLoaders(0xA94EDAD8)
> 2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA979B258)
> 3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor77(0x0AA6E170)
> NULL          
> ------------------------------------------------------------------------
> 0SECTION       Javadump End section
> NULL           ---------------------- END OF DUMP
> -------------------------------------
> 
> 
> I am not able to understand anything from the dump.
> 
> Note: - Our application has its own jre.
>           The UI cannot be launch.
>           No clue in the geronimo.log          

That's obviously an IBM JRE. There's a section int the dump with the Thread stack traces. Agreed that it's not easy to read... But the data should be in there. If you can post the dump where we can download it, I expect someone can take a look at it. Two choices -- a site of your own choosing or create a Geronimo Jira and attach the dump file to the Jira issue. Here's a pointer to the Geronimo Jira -- https://issues.apache.org/jira/browse/GERONIMO

--kevan

Re: Geronimo server stop when undeploy or redeploy.

Posted by ranbaab <el...@gmail.com>.
Hi Kevan,

First I would like to thank you for your valuable advice and support.

Below are the steps followed to get the dump, please let me know if I miss
any steps

1. Command for undeploy

[root@fc70 bin]# ./deploy.sh --user system --password manager undeploy
ibm/bhm/application/war
Using GERONIMO_HOME:   /opt/ibm/BLADEHarmonyManager/webserver
Using GERONIMO_TMPDIR: var/temp
Using JRE_HOME:        /usr/java/ibm-java-i386-60/jre

It stuck here, no further message ....


2. Check for the PID (another console)

[root@fc70 ~]# ps -ef | grep java
root      4716     1  1 16:01 ?        00:00:59 xxxxdataBase
root      5701     1  6 16:52 pts/1    00:00:33 xxxxApplication
root      5788  5784  3 16:56 pts/1    00:00:09 xxxxxApplication 
bin/deployer.jar --user system --password manager undeploy /application/war
root      5844  5546  0 17:00 pts/2    00:00:00 grep java

*This means that the server PID is 5701 and undeploy command PID is 5788.*

3. Command to generate java stack traces
[root@fc70 ~]# kill -3 5701

The above command generate a dump in the folder bin.

*Some last line from the file.*

3CLTEXTCLASS   			org/apache/geronimo/tomcat/model/LocalEjbType(0x0BB75D60)
3CLTEXTCLASS   			org/apache/geronimo/tomcat/model/ResourceType(0x0BB75E80)
3CLTEXTCLASS   		
org/apache/geronimo/tomcat/model/ResourceEnvRefType(0x0BB761C0)
3CLTEXTCLASS   		
org/apache/geronimo/tomcat/model/ServiceRefType(0x0BB762B0)
3CLTEXTCLASS   		
org/apache/geronimo/tomcat/model/TransactionType(0x0BB763A0)
3CLTEXTCLASS   		
org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_emptySessionPath(0x0BB764C0)
3CLTEXTCLASS   		
org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_enableLookups(0x0BB76640)
3CLTEXTCLASS   		
org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_maxPostSize(0x0BB767C0)
3CLTEXTCLASS   		
org/apache/geronimo/tomcat/model/ConnectorType$JaxbAccessorF_maxSavePostSize(0x0BB76940)
3CLTEXTCLASS   			org/apache/catalina/connector/Connector(0x0BB69410)
3CLTEXTCLASS   			org/apache/catalina/Container(0x0BB6A3F0)
3CLTEXTCLASS   			org/apache/catalina/Context(0x0BB6A720)
3CLTEXTCLASS   			org/apache/geronimo/tomcat/TomcatContext(0x0BB6B090)
3CLTEXTCLASS   			org/apache/geronimo/tomcat/TomcatWebContainer(0x0BA0E7F0)
3CLTEXTCLASS   			org/apache/geronimo/tomcat/TomcatContainer(0x0BA0E900)
3CLTEXTCLASS   			org/apache/geronimo/tomcat/ObjectRetriever(0x0BA0F0E0)
3CLTEXTCLASS   			org/apache/geronimo/tomcat/BaseGBean(0x0BA0F1B0)
3CLTEXTCLASS   		
org/apache/geronimo/tomcat/LifecycleListenerGBean(0x0BA0F330)
3CLTEXTCLASS   			org/apache/catalina/Lifecycle(0x0BA0F670)
3CLTEXTCLASS   		
org/apache/geronimo/tomcat/TomcatServerConfigManager(0x0BB2B340)
3CLTEXTCLASS   			org/apache/catalina/Server(0x0BB2B720)
3CLTEXTCLASS   			org/apache/catalina/Service(0x0BB2B8B0)
3CLTEXTCLASS   			org/apache/geronimo/tomcat/TomcatServerGBean(0x0BB2ACE0)
3CLTEXTCLASS   			org/apache/geronimo/tomcat/TomcatManagerImpl(0x0BA94030)
2CLTEXTCLLOAD  		Loader
org/apache/geronimo/kernel/config/ChildrenConfigurationClassLoader(0xA87926B0)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA9924328)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor139(0x0C809E90)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA9929C30)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor140(0x0C80A240)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA9935C78)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor141(0x0C80B3A0)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA993B688)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor142(0x0C80B6F0)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA993FD30)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor143(0x0C80C440)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA99486D8)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor144(0x0C80C790)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA994DFC8)
3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor69(0x0C80CAE0)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA99581A0)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor145(0x0C80F1F0)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA92C7850)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA92D4580)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA0E65D8)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor146(0x0C7D8530)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA0ECB10)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor147(0x0C7D88E0)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA0F3620)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor148(0x0C7D9160)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA100AB0)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor149(0x0C7D99E0)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA105C60)
3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor70(0x0C7DA900)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA92E12B8)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA114AA8)
3CLTEXTCLASS   		
sun/reflect/GeneratedSerializationConstructorAccessor150(0x0C7DAD90)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA92EE170)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA131020)
3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor71(0x0C7DB610)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA92FAF28)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9307D90)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9314B10)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA93218B0)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA932E7D0)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA933B4F0)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA17F920)
3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor72(0x0C7DE160)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA18D218)
3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor73(0x0C7DD8D0)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9348300)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA193790)
3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor74(0x0C7DF790)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9355428)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA93635E0)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9375180)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9382040)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA938F6A8)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA1E0BA0)
3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor75(0x0C7E0190)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA939C460)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xAA1EEA50)
3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor76(0x0C7E0730)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA93A9180)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA93B60B8)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA93C57D0)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA93D25B8)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA93DF4D0)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA93EC2F8)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA93F9138)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9406108)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9412EB8)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA941FD68)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA942CB38)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9439948)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9446810)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA94536C0)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9462508)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA946F290)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA947EA98)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA94875C8)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA9490E10)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA949A3A8)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA94AED70)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA94B8550)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA94CE570)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA94DE100)
2CLTEXTCLLOAD  		Loader
com/sun/jmx/remote/util/OrderClassLoaders(0xA94EDAD8)
2CLTEXTCLLOAD  		Loader sun/reflect/DelegatingClassLoader(0xA979B258)
3CLTEXTCLASS   			sun/reflect/GeneratedMethodAccessor77(0x0AA6E170)
NULL          
------------------------------------------------------------------------
0SECTION       Javadump End section
NULL           ---------------------- END OF DUMP
-------------------------------------


I am not able to understand anything from the dump.

Note: - Our application has its own jre.
           The UI cannot be launch.
           No clue in the geronimo.log          


Thanks,
Ranjan



--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-server-stop-when-undeploy-or-redeploy-tp3143947p3182281.html
Sent from the Users mailing list archive at Nabble.com.

Re: Geronimo server stop when undeploy or redeploy.

Posted by Kevan Miller <ke...@gmail.com>.
On Jul 12, 2011, at 4:12 AM, ranbaab wrote:

> Hi Kevan,
> 
> There is no error message display, below is the command line for undeploy.
> 
> 
> D:\geronimo-tomcat6-minimal-2.2.1\bin>deploy --user system --password
> manager undeploy xxx/bhm/application/war
> Using GERONIMO_HOME:   D:\geronimo-tomcat6-minimal-2.2.1
> Using GERONIMO_TMPDIR: var\temp
> Using JRE_HOME:        D:\Software\IBM
> SDK\6.0\win32\ibm-java-sdk-60-win-i386\sdk\jre
> 
> It got stuck here....
> And another geronimo console which open, when given the command
> "start-server" does not print any log after giving the command.
> 
> And in the geronimo.log and deploy.log does not display any log message. I
> mean all got stuck.
> 
> But the UI display the message saying that the server is down.
> 
> Steps follow:
> 1. Start the database manually
> 2. Start the geronimo through the command line
> 3. Deploy the application through command line.
> 4. Undeploy through command line.
> 
> When I tried to delete the application folder from the repository before
> giving the undeploy command the folder cannot be delete. It display the
> message, the resources cannot be delete, it is being used by another
> program. I doubt whether the issue is when geronimo tried to delete the
> folder, same error might have occur.

OK. So, it sounds like the Geronimo server process is still running. It's just not responsive...

Can you generate java stacktraces for the server process? On a unix-like system, I'd use 'kill -3 <process-id>'. 

--kevan

Re: Geronimo server stop when undeploy or redeploy.

Posted by ranbaab <el...@gmail.com>.
Hi Kevan,

There is no error message display, below is the command line for undeploy.


D:\geronimo-tomcat6-minimal-2.2.1\bin>deploy --user system --password
manager undeploy xxx/bhm/application/war
Using GERONIMO_HOME:   D:\geronimo-tomcat6-minimal-2.2.1
Using GERONIMO_TMPDIR: var\temp
Using JRE_HOME:        D:\Software\IBM
SDK\6.0\win32\ibm-java-sdk-60-win-i386\sdk\jre

It got stuck here....
And another geronimo console which open, when given the command
"start-server" does not print any log after giving the command.

And in the geronimo.log and deploy.log does not display any log message. I
mean all got stuck.

But the UI display the message saying that the server is down.

Steps follow:
1. Start the database manually
2. Start the geronimo through the command line
3. Deploy the application through command line.
4. Undeploy through command line.

When I tried to delete the application folder from the repository before
giving the undeploy command the folder cannot be delete. It display the
message, the resources cannot be delete, it is being used by another
program. I doubt whether the issue is when geronimo tried to delete the
folder, same error might have occur.



Thanks,
Ranjan





--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-server-stop-when-undeploy-or-redeploy-tp3143947p3161771.html
Sent from the Users mailing list archive at Nabble.com.

Re: Geronimo server stop when undeploy or redeploy.

Posted by Kevan Miller <ke...@gmail.com>.
On Jul 7, 2011, at 1:27 AM, ranbaab wrote:

> Hi Kevan,
> 
> One more observation, there is no issue if the DB service is not started and
> only Geronimo service started, undeploy works fine.

Can you run the Geronimo server in the foreground? I.e. Use 'geronimo.bat run' and don't run as a windows service? Or obtain the STDOUT (i'm not sure where STDOUT is going in your windows service). You need to find some information on why the server process is ending...

--kevan


Re: Geronimo server stop when undeploy or redeploy.

Posted by ranbaab <el...@gmail.com>.
Hi Kevan,

One more observation, there is no issue if the DB service is not started and
only Geronimo service started, undeploy works fine.

Thanks,
Ranjan

--
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Geronimo-server-stop-when-undeploy-or-redeploy-tp3143947p3147218.html
Sent from the Users mailing list archive at Nabble.com.

Re: Geronimo server stop when undeploy or redeploy.

Posted by Kevan Miller <ke...@gmail.com>.
On Jul 6, 2011, at 4:40 AM, ranbaab wrote:

> Hi all,
> 
> I have web application which is deploy on geronimo 2.2.1 little-G.
> 
> After starting the application, deploy through command line as 
> 
> deploy --user system --password manager deploy --inPlace ../../bhm
> 
> Deploy successfully and the application works fine.
> 
> When I try to redeploy or undeploy through command line, the geronimo server
> stop automatically by displaying the error message in the deploy.log as

Strange. The deploy exception would seem to be caused by the server having stopped.

Just to confirm -- after undeploy/redeploy, the server process has stopped?

<snip>

> *The web application used DBservice connected through RMI.*
> Note:-The geronimo is started as window service using main class DaemonCLI.
> Can anybody through some light on this issue?

Have a look at var/log/geronimo.log -- any indication (e.g. exceptions) why the server stopped?

Can you explain what you mean by "DBService connected through RMI"?

--kevan