Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2488 jboss.server.exitonshutdown is broken
  3. JBAS-2497

Not getting a graceful shutdown with exitonshutdown=false, blockingshutdown=false

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Obsolete
    • Icon: Minor Minor
    • No Release
    • None
    • System service
    • None

      server : run -Djboss.server.exitonshutdown=false -Djboss.server.blockingshutdown=false
      client : bin/shutdown --server jnp://localhost:1099/

      server
      ...
      00:12:20,833 INFO [MailService] Mail service 'java:/Mail' removed from JNDI
      00:12:20,833 INFO [TomcatDeployer] undeploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
      00:12:20,943 INFO [TomcatDeployer] undeploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
      00:12:21,003 INFO [TomcatDeployer] undeploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
      00:12:21,024 INFO [Http11BaseProtocol] Pausing Coyote HTTP/1.1 on http-0.0.0.0-8080
      00:12:22,025 INFO [StandardService] Stopping service jboss.web
      00:12:22,035 INFO [Http11BaseProtocol] Stopping Coyote HTTP/1.1 on http-0.0.0.0-8080
      00:12:22,045 INFO [TomcatDeployer] undeploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      00:12:22,045 INFO [TomcatDeployer] undeploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp20374jboss-ws4ee-exp.war/
      java.lang.Error: Cannot retrieve AgentID: MBeanException: null Cause: java.lang.ClassNotFoundException: Invalid use of destroyed classloader, UCL destroyed at:
      at javax.management.MBeanServerFactory.releaseMBeanServer(MBeanServerFactory.java:156)
      at org.jboss.system.server.ServerImpl$ShutdownHook.removeMBeans(ServerImpl.java:1090)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1017)
      at org.jboss.system.server.ServerImpl$1.run(ServerImpl.java:662)

      (need to ctrl-c to exit VM)

      00:05:58,774 INFO [Server] Runtime shutdown hook called, forceHalt: true
      Halting VM

              Unassigned Unassigned
              dandread1@redhat.com Dimitrios Andreadis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: