JBoss ShutdownLogs

载自:http://community.jboss.org/wiki/ShutdownLogs

 

经常会遇到jboss被Shutdown了 但是不知道是为什么,看下log就明白很多了。

 

Log output when stopping JBossAS (since JBossAS 4.0.4GA)

CTRL-C

 

 

2006-10-12 11:16:45,089 INFO  [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
2006-10-12 11:16:45,089 INFO  [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages

 

jmx-console: Server mbean, shutdown() operation

 

2006-10-12 11:20:01,246 INFO  [org.jboss.system.server.Server] Shutting down the server, blockingShutdown: false
2006-10-12 11:20:01,246 INFO  [org.jboss.system.server.Server] Server exit(0) called
....
2006-10-12 11:20:01,277 INFO  [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true

 

 

jmx_console: Server mbean, exit() operation

 

 

2006-10-12 11:23:46,558 INFO  [org.jboss.system.server.Server] Server exit(1) called
....
2006-10-12 11:23:46,605 INFO  [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
2006-10-12 11:23:46,605 INFO  [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
 

 

remote shutdown e.g. shutdown.bat -s jnp://localhost:1099 - To find out who started the remote shutdown, please check the LoggingRMICalls wiki

 

 

 

2006-10-12 11:35:00,183 INFO  [org.jboss.system.server.Server] Shutting down the server, blockingShutdown: false
2006-10-12 11:35:00,199 INFO  [org.jboss.system.server.Server] Server exit(0) called
2006-10-12 11:35:00,199 INFO  [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
 

 

kill -9 Pid

 

 

no log output

 

kill TERM Pid or INT Pid

 

 

2006-10-12 12:30:28,386 INFO  [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
2006-10-12 12:30:28,387 INFO  [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages

 

Log output (with TRACE on org.jboss.system package) when stopping JBossAS 4.0.3SP1

 

CTRL-C

 

 

2007-05-11 18:09:05,453 INFO  [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
2007-05-11 18:09:05,453 INFO  [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
2007-05-11 18:09:05,455 TRACE [org.jboss.system.server.Server] Shutdown caller:
java.lang.Throwable: Here
        at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:962)
        at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
 

 

jmx-console: Server mbean, shutdown() operation

 

 

2007-05-11 18:16:46,958 DEBUG [org.jboss.system.server.Server] Shutdown operation called, exitOnShutdown: true, blockingShutdown: false
2007-05-11 18:16:46,960 TRACE [org.jboss.system.server.Server] Shutdown caller:
java.lang.Throwable: Here
     at org.jboss.system.server.ServerImpl.shutdown(ServerImpl.java:629)
     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:324)
     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
     at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
     at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:243)
     at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:208)
     at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:247)
     at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:85)
     at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:67)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
     at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
     at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
     at java.lang.Thread.run(Thread.java:534)
2007-05-11 18:16:47,394 INFO  [org.jboss.system.server.Server] Shutting down the JVM now!
2007-05-11 18:16:47,395 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified to shutdown
2007-05-11 18:16:47,395 INFO  [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
2007-05-11 18:16:47,395 INFO  [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
2007-05-11 18:16:47,396 TRACE [org.jboss.system.server.Server] Shutdown caller:
java.lang.Throwable: Here
     at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:962)
     at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)

 

 

jmx_console: Server mbean, exit() operation

 

 

2007-05-11 18:32:33,692 INFO  [org.jboss.system.server.Server] Shutting down the JVM now!
2007-05-11 18:32:33,693 INFO  [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
2007-05-11 18:32:33,693 INFO  [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
2007-05-11 18:32:33,693 TRACE [org.jboss.system.server.Server] Shutdown caller:
java.lang.Throwable: Here
     at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:962)
     at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
 

 

jmx_console: Server mbean, halt() operation

 

 

2007-05-11 18:39:35,844 INFO  [STDOUT] Halting the system now!

 

 

remote shutdown e.g. shutdown.bat -s jnp://localhost:1099 - To find out who started the remote shutdown, please check the LoggingRMICalls wiki

 

 

2007-05-11 18:44:10,317 DEBUG [org.jboss.system.server.Server] Shutdown operation called, exitOnShutdown: true, blockingShutdown: false
2007-05-11 18:44:10,317 TRACE [org.jboss.system.server.Server] Shutdown caller:
java.lang.Throwable: Here
     at org.jboss.system.server.ServerImpl.shutdown(ServerImpl.java:629)
     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:324)
     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
     at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
     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:324)
     at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:251)
     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:324)
     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
     at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
     at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
     at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
     at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
     at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
     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:324)
     at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
     at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
     at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
     at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
     at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
     at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
     at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
     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:324)
     at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
     at sun.rmi.transport.Transport$1.run(Transport.java:148)
     at java.security.AccessController.doPrivileged(Native Method)
     at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
     at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
     at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
     at java.lang.Thread.run(Thread.java:534)
2007-05-11 18:44:10,341 INFO  [org.jboss.system.server.Server] LifeThread.run exits!
2007-05-11 18:44:10,342 INFO  [org.jboss.system.server.Server] Shutting down the JVM now!
2007-05-11 18:44:10,343 DEBUG [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Notified to shutdown
2007-05-11 18:44:10,344 INFO  [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
2007-05-11 18:44:10,344 INFO  [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
2007-05-11 18:44:10,344 TRACE [org.jboss.system.server.Server] Shutdown caller:
java.lang.Throwable: Here
     at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:962)
     at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)

 

 

kill -9 Pid

 

 

no log output

 

 

kill TERM Pid or INT Pid

 

 

2007-05-11 18:47:06,919 INFO  [org.jboss.system.server.Server] Runtime shutdown hook called, forceHalt: true
2007-05-11 18:47:06,919 INFO  [org.jboss.system.server.Server] JBoss SHUTDOWN: Undeploying all packages
2007-05-11 18:47:06,920 TRACE [org.jboss.system.server.Server] Shutdown caller:
java.lang.Throwable: Here
     at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:962)
     at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
 

 

你可能感兴趣的:(java,apache,tomcat,jboss,sun)