`

JBoss ShutdownLogs

    博客分类:
  • JAVA
阅读更多

载自: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)
 

 

分享到:
评论

相关推荐

    Jboss项目部署文档

    Jboss 项目部署文档 Jboss 项目部署文档是指在 Jboss 服务器上部署项目的详细步骤,包括环境变量的配置、项目打包、配置文件的修改、JNDI 的配置等。以下是 Jboss 项目部署文档的详细知识点: 一、环境变量配置 ...

    jboss 下载(httpwww.jboss.org)

    【JBoss 应用服务器详解】 JBoss 是一个开源的、基于 J2EE(Java 2 Platform, Enterprise Edition)的应用服务器,由全球开发者社区共同维护和开发。它最初以 LGPL 许可协议发布,允许商业应用免费使用。2006年,...

    JBOSS,JBoss安装部署

    【JBOSS,JBoss安装部署】 JBoss是Red Hat公司开发的一款开源的应用服务器,它基于Java EE(Enterprise Edition)规范,提供了全面的企业级应用程序部署和管理解决方案。本篇文章将详细讲解JBoss的安装和部署过程,...

    jboss7.1 linux版本

    JBoss AS 7.1.0.Final是在Linux环境下运行的一款开源Java应用服务器,由Red Hat公司维护。这个版本发布于2012年,它引入了许多改进和新特性,旨在提供更快的启动速度、更高的性能以及更好的模块化。在这个环境中,...

    MyEclipse中配置JBoss

    【标题】:“MyEclipse中配置JBoss” 在IT行业中,MyEclipse是一款深受开发者喜爱的集成开发环境(IDE),尤其对于Java EE项目开发来说,它提供了强大的支持。而JBoss则是一个开源的应用服务器,广泛用于部署和管理...

    在jboss上部署web应用

    【JBoss 概述】 JBoss 是一个开源的、基于Java的、全面实现了J2EE规范的应用服务器。它提供了企业级的功能,如EJB(Enterprise JavaBeans)、JMS(Java Message Service)、JTS/JTA(Java Transaction Service / ...

    在IntelliJ idea8中部署Jboss服务器图解

    "在IntelliJ IDEA 8中部署Jboss服务器图解" IntelliJ IDEA 8是 JetBrains 公司开发的一款功能强大且灵活的集成开发环境(IDE),它支持多种programming语言,包括Java、Python、Ruby、PHP等。Jboss则是一款流行的...

    jboss-eap-7.2.6-patch

    【JBoss EAP 7.2.6 补丁包详解】 JBoss Enterprise Application Platform (EAP) 是 Red Hat 提供的一款开源中间件,用于构建、部署和管理企业级 Java 应用程序。JBoss EAP 7.2.6 版本是一个重要的更新,包含了多个...

    jboss-4.0.5.GA.zip

    JBoss是著名的开源Java应用服务器,它基于Java EE(Enterprise Edition)规范,为开发者提供了全面的中间件服务。4.0.5.GA版本是JBoss的一个稳定版本,发布于2006年,适用于那些需要可靠且成熟的Java应用程序部署的...

    JavaEE源代码 jboss-common

    JavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-commonJavaEE源代码 jboss-...

    jboss配置入门,jboss的初级配置

    jboss配置入门 jboss系统是一种基于Java的应用服务器,具有高性能、可扩展、安全性强等特点。在本文中,我们将对jboss的基本配置进行介绍,包括其文件夹结构、配置文件、负载均衡配置等。 jboss文件夹结构 jboss的...

    jboss热部署配置

    JBoss是一款著名的开源Java应用服务器,它提供了许多企业级服务,包括事务管理、安全性和集群功能。在开发过程中,为了提高效率,我们通常希望在不中断应用服务的情况下更新部署的应用程序,这就是所谓的“热部署”...

    jboss7ejb配置文件

    在JBoss 7及以上版本中,对EJB的配置过程相较于之前的版本有所变化,主要涉及到两个关键的配置文件:`jboss-ejb3.xml`和`ejb-jar.xml`。 `ejb-jar.xml`文件是EJB模块的标准配置文件,遵循Java EE规范。在这个文件中...

    jboss7开发部署详细文档

    本文档提供了jboss7开发和部署的详细指导,涵盖了jboss7的下载与安装、Eclipse中配置jboss7、项目部署和JNDI获取等方面的内容,旨在帮助开发者快速上手jboss7,并将jboss4.2版本平滑地移植到jboss7。

    jboss-exp.rar

    某大牛写的jboss-exp 1. 查看系统名称 java -jar jboss_exploit_fat.jar -i http://192.168.7.84:10081/invoker/JMXInvokerServlet get jboss.system:type=ServerInfo OSName 2. 查看系统版本 java -jar jboss_...

    jboss如何在windows系统服务中启动

    在IT行业中,JBoss是一个广泛使用的Java应用服务器,它提供了许多功能,如部署和管理Web应用程序、事务处理、安全管理等。对于Windows用户来说,将JBoss配置为系统服务可以实现自动启动,避免每次开机时手动开启,...

    jboss-logging-3.3.2.Final-API文档-中文版.zip

    赠送jar包:jboss-logging-3.3.2.Final.jar; 赠送原API文档:jboss-logging-3.3.2.Final-javadoc.jar; 赠送源代码:jboss-logging-3.3.2.Final-sources.jar; 赠送Maven依赖信息文件:jboss-logging-3.3.2.Final....

Global site tag (gtag.js) - Google Analytics