geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ranbaab <elangbam.ran...@gmail.com>
Subject Geronimo server stop when undeploy or redeploy.
Date Wed, 06 Jul 2011 08:40:32 GMT
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.

Mime
View raw message