[jboss-user] [Installation, Configuration & Deployment] - My JBoss takes more than 6 minutes to stop ...

sylobsa do-not-reply at jboss.com
Thu Sep 28 13:10:05 EDT 2006


Hi,

I just installed a JBoss 3.2.6 on my new Linux Box. 
To test it, I just started jboss with :
   run.sh -c default
JBoss starts in about 20s.
Then I do a  to stop JBoss. It takes more than 6 minutes.
I get the following trace.
Can anybody explain what happens and how to remedy to this too long shutdown time. 

Trace :
--------
18:49:59,333 INFO  [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=file:/usr/local/jboss-3.2.6/server/default/deploy/management/web-console.war/
18:49:59,349 INFO  [TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=file:/usr/local/jboss-3.2.6/server/default/deploy/jmx-console.war/
18:53:09,232 INFO  [Http11Protocol] Suspension de Coyote HTTP/1.1 sur http-0.0.0.0-8080
18:56:19,142 ERROR [CoyoteConnector] Protocol handler pause failed
java.net.ConnectException: Connection timed out
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
        at java.net.Socket.connect(Socket.java:516)
        at java.net.Socket.connect(Socket.java:466)
        at java.net.Socket.(Socket.java:366)
        at java.net.Socket.(Socket.java:208)
        at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:460)
        at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:272)
        at org.apache.jk.server.JkMain.pause(JkMain.java:657)
        at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:202)
        at org.apache.coyote.tomcat5.CoyoteConnector.pause(CoyoteConnector.java:1444)
        at org.jboss.web.tomcat.tc5.StandardService.stop(StandardService.java:583)
        at org.apache.catalina.core.StandardServer.stop(StandardServer.java:2347)
        at org.apache.catalina.startup.Catalina.stop(Catalina.java:605)
        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:585)
        at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
        at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:149)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
        at org.jboss.web.tomcat.tc5.Tomcat5.stopService(Tomcat5.java:398)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:319)
        at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:223)
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
        at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:884)
        at $Proxy18.stop(Unknown Source)
        at org.jboss.system.ServiceController.stop(ServiceController.java:496)
        at org.jboss.system.ServiceController.stop(ServiceController.java:487)
        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:585)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
        at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
        at $Proxy4.stop(Unknown Source)
        at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:285)
        at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:498)
        at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:471)
        at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:358)
        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:585)
        at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:62)
        at org.jboss.mx.server.Invocation.dispatch(Invocation.java:54)
        at org.jboss.mx.server.Invocation.invoke(Invocation.java:82)
        at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:197)
        at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
        at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:903)
        at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:878)
        at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:865)
18:56:20,146 INFO  [StandardService] Stopping service jboss.web
18:56:20,147 INFO  [StandardHost] Create Host deployer for direct deployment ( non-jmx )
18:56:20,153 INFO  [StandardHostDeployer] Removing web application at context path /jbossmq-httpil
18:56:20,155 INFO  [StandardHostDeployer] Removing web application at context path /invoker
18:56:20,158 INFO  [StandardHostDeployer] Removing web application at context path
18:56:20,161 INFO  [Http11Protocol] Arrêt de Coyote HTTP/1.1 sur http-0.0.0.0-8080
18:56:20,165 INFO  [TomcatDeployer] undeploy, ctxPath=/invoker, warUrl=file:/usr/local/jboss-3.2.6/server/default/deploy/http-invoker.sar/invoker.war/
18:56:20,168 INFO  [TomcatDeployer] undeploy, ctxPath=/, warUrl=file:/usr/local/jboss-3.2.6/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/
18:56:20,169 INFO  [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=file:/usr/local/jboss-3.2.6/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
18:56:20,230 INFO  [MailService] Mail service 'java:/Mail' removed from JNDI
18:56:21,070 INFO  [HypersonicDatabase] Database standalone closed clean
Shutting down
Shutdown complete
Halting VM


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974968#3974968

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974968




More information about the jboss-user mailing list