0 Replies Latest reply on Oct 30, 2008 11:38 AM by Yasha Bhatt

    Jboss 4.2.2GA shutdown always hangs under user load

    Yasha Bhatt Newbie

      My Jboss process will not gracefully shutdown ocassionally.
      I am using the "shutdown.sh -S" command first and then try to kill the parent process from a script. But the shutdown seems to stop at the following line (from server.log). Normal kill also doesn work, and then I have to do a kill -9 on both the parent and the child process (I start the run.sh in background), which is when the process eventually clears up, but without any logging in the server.log file. has anyone else observed tjis behavior, and is there a workaround/fix available for it. Thanks for your help in advance! -Yasha

      2008-10-29 16:52:20,784 INFO [org.jboss.system.server.Server] Shutting down the server, blockingShutdown: false
      2008-10-29 16:52:20,833 INFO [org.jboss.system.server.Server] Server exit(0) called
      2008-10-29 16:52:20,836 INFO [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
      2008-10-29 16:52:20,842 INFO [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
      2008-10-29 16:52:20,842 INFO [org.jboss.web.tomcat.service.TomcatDeployer] undeploy, ctxPath=/solr, warUrl=.../tmp/deploy/tmp48792solr-exp.war/
      2008-10-29 16:52:21,216 INFO [org.jboss.web.tomcat.service.TomcatDeployer] undeploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
      2008-10-29 16:52:21,227 INFO [org.jboss.ejb.EJBDeployer] Undeploying: file:/u01/jboss-4.2.2.GA/server/core/deploy/ejb-management.jar
      2008-10-29 16:52:21,236 INFO [org.jboss.proxy.ejb.ProxyFactory] Unbind EJB Home 'MEJB' from jndi 'ejb/mgmt/MEJB'
      2008-10-29 16:52:21,236 INFO [org.jboss.ejb.EjbModule] Undeployed MEJB
      2008-10-29 16:52:21,238 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' from JNDI name 'java:JmsXA'
      2008-10-29 16:52:21,242 INFO [org.jboss.mq.server.jmx.Topic.testTopic] Unbinding JNDI name: topic/testTopic
      2008-10-29 16:52:21,243 INFO [org.jboss.mq.server.jmx.Topic.securedTopic] Unbinding JNDI name: topic/securedTopic
      2008-10-29 16:52:21,243 INFO [org.jboss.mq.server.jmx.Topic.testDurableTopic] Unbinding JNDI name: topic/testDurableTopic
      2008-10-29 16:52:21,244 INFO [org.jboss.mq.server.jmx.Queue.testQueue] Unbinding JNDI name: queue/testQueue
      2008-10-29 16:52:21,268 INFO [org.jboss.mq.server.jmx.Queue.A] Unbinding JNDI name: queue/A
      2008-10-29 16:52:21,269 INFO [org.jboss.mq.server.jmx.Queue.B] Unbinding JNDI name: queue/B
      2008-10-29 16:52:21,269 INFO [org.jboss.mq.server.jmx.Queue.C] Unbinding JNDI name: queue/C
      2008-10-29 16:52:21,269 INFO [org.jboss.mq.server.jmx.Queue.D] Unbinding JNDI name: queue/D
      2008-10-29 16:52:21,270 INFO [org.jboss.mq.server.jmx.Queue.ex] Unbinding JNDI name: queue/ex
      2008-10-29 16:52:21,275 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Unbinding JNDI name: queue/DLQ
      2008-10-29 16:52:21,277 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Unbound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' from JNDI name 'java:DefaultDS' - HANGS at this line, and never really shuts down