环境:Linux+Tomcat 7.0.39
最近应用总是无故挂掉
tomcat进程都不见了,网上搜索是因为Tomcat7的监测内存溢出的新特性导致的,但尝试各种方法后还是挂掉,
并且没有OutOfMemeory这样的异常,日志里也比较奇怪,看起似乎是在做reload或者正常关闭操作。
server.xml中是没有开启reload的。
这里之上都是正常的应用日志
2013-10-19 23:07:58 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["http-bio-8068"]
2013-10-19 23:07:58 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["ajp-bio-8009"]
2013-10-19 23:07:58 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service Catalina
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/app] registered the JDBC driver [oracle.jdbc.driver.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [LOG-PERSISTER-THREAD-0] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [NioProcessor-2] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-11] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [scheduler_Worker-12] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [/app] appears to have started a thread named [Resource Destroyer in BasicResourcePool.close()] but has failed to stop it. This is very likely to create a memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@3b3d8503]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@6e9ea162]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@707561aa]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@2a5f1994]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@49885947]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@169d6a08]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@389c3ed1]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@19e02860]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@4b7ac3e5]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@68d31619]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@7a4ff912]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@18694b7a]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@28da431b]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@116bb691]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [net.sf.json.AbstractJSON$1] (value [net.sf.json.AbstractJSON$1@369ef286]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@7d44576d]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [net.sf.json.AbstractJSON$1] (value [net.sf.json.AbstractJSON$1@369ef286]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [net.sf.json.AbstractJSON$1] (value [net.sf.json.AbstractJSON$1@369ef286]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@11c7f55b]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [net.sf.json.AbstractJSON$1] (value [net.sf.json.AbstractJSON$1@369ef286]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@5ebd327b]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [net.sf.json.AbstractJSON$1] (value [net.sf.json.AbstractJSON$1@369ef286]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@573d59d4]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [net.sf.json.AbstractJSON$1] (value [net.sf.json.AbstractJSON$1@369ef286]) and a value of type [java.util.HashSet] (value [[]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
严重: The web application [/app] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@3412c102]) and a value of type [org.apache.ibatis.jdbc.SqlBuilder.SQL] (value [org.apache.ibatis.jdbc.SqlBuilder$SQL@7cd49a0a]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
2013-10-19 23:07:58 org.apache.coyote.AbstractProtocol stop
信息: Stopping ProtocolHandler ["http-bio-8068"]
2013-10-19 23:07:58 org.apache.coyote.AbstractProtocol stop
信息: Stopping ProtocolHandler ["ajp-bio-8009"]
2013-10-19 23:07:58 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["http-bio-8068"]
2013-10-19 23:07:58 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["ajp-bio-8009"]
相关推荐
Shell脚本定时监控tomcat,服务挂掉自动重启
在Linux环境中,为了确保应用程序如Tomcat能够随系统自动启动并作为守护进程运行,需要进行一系列的配置步骤。本文将详细介绍如何将Tomcat添加到Linux的守护进程,并处理"Invalid user name 'tomcat' specified"的...
### Linux下Tomcat的启动、关闭、杀死进程 在Linux环境下管理Apache Tomcat服务器是非常常见的运维操作之一。本文将详细介绍如何在Linux系统中启动、关闭以及强制终止(杀死)Tomcat进程。 #### 一、启动Tomcat ...
### Windows 下 Tomcat 的守护进程与心跳检测程序详解 在 IT 领域,特别是 Java Web 开发中,Apache Tomcat 是一个非常重要的轻量级应用服务器,它主要用于部署 Java Web 应用程序。在实际生产环境中,为了保证服务...
tomcat7.0安装版,它不需要在安装之后进行环境变量配置。
Tomcat7、Tomcat8和Tomcat9是不同版本的Tomcat,每个版本都有其特性和改进。 **Tomcat7**: Tomcat7是2011年发布的,它主要支持Java Servlet 3.0和JSP 2.2规范。这个版本引入了一些重要改进,包括增强的安全性、更...
Tomcat 7 和 Tomcat 8 是两个非常重要的版本,它们是Apache软件基金会开发的开源Java Servlet容器,主要用于运行Java Web应用程序。这两个版本都遵循Java EE(Enterprise Edition)规范,但各自具有不同的特点和改进...
### Window与Tomcat部署程序后的进程管理 #### 一、部署环境配置 部署的位置为IP地址10.172.29.39,端口号8086,具体的目录为`D:\vas\BSIFMS\tomcat6`。在这里部署的应用程序的进程名称为`ifms.exe`。 #### 二、...
在这个压缩包中,包含了Tomcat的三个不同版本:Tomcat 7、Tomcat 8和Tomcat 9,这些都是免安装版本,方便用户直接解压使用。 Tomcat 7是2011年发布的版本,它支持Servlet 3.0、JSP 2.2和EL 2.2规范。这个版本对并发...
标题中的“tomcat7.0下的64位的tomcat7.exe 和tomcat7w.exe”指的是Apache Tomcat服务器在7.0版本中为64位操作系统提供的可执行文件。Tomcat是Apache软件基金会的一个开源项目,它是一个流行的Java Servlet容器,...
根据提供的信息,我们可以总结出以下知识点: ...通过以上知识点的学习,可以了解到如何通过Java程序实现对Tomcat服务器状态的自动检测与重启,这对于保障基于Tomcat的应用系统持续可用具有重要意义。
Linux 64位环境下的Tomcat 7是Java应用程序服务器,专用于运行Web应用程序,包括动态网站和Web服务。Tomcat 7是Apache软件基金会Jakarta项目的一部分,它基于Servlet和JSP规范,提供了一个轻量级、高性能的平台来...
### Tomcat服务化及其进程标识方法 #### 一、引言 随着企业级应用服务器的广泛应用,Apache Tomcat因其轻量级、灵活等特点,在Java Web应用领域占据了一席之地。然而,对于部署和管理而言,如何将Tomcat作为...
标题中的“tomcat守护进程.rar”指的是一个关于如何在Windows操作系统下配置Tomcat服务器作为守护进程的教程或代码集合。守护进程(Daemon)通常是指在后台运行而不与用户交互的进程,这种设置允许Tomcat在没有图形...
描述中提到的“自动重启已挂掉的tomcat服务器,省去人工人力,保证服务器的正常运行”,意味着通过自动化机制,可以避免因为Tomcat崩溃导致的服务中断,同时减少管理员的维护工作量。这不仅提高了服务的可用性,也...
### 如何启动、重启及杀死Tomcat进程 在IT运维工作中,经常需要对服务器上的应用进行启动、重启或停止操作,以确保应用的稳定运行。本文档将详细介绍如何通过命令行来启动、重启以及杀死Tomcat进程的方法。这对于...
2. **NIO和 APR 改进**:在连接器层,Tomcat 7改进了非阻塞I/O(NIO)支持,并且增强了Apache Portable Runtime (APR)库的集成,以提高性能和稳定性。 3. **更好的管理工具**:提供了更强大的管理和监控工具,如`...
这里提到的资源包含了Tomcat 7、8、8.5和9四个主要版本,这些版本都是为Java Web开发者准备的,特别是针对Eclipse集成开发环境的使用者。 Tomcat 7是Apache Tomcat的一个重要版本,它支持Java EE 6规范,包括...
此小程序专门用来守护Tomcat进程 【运行方法】 直接双击TomcatWatcher.jar 程序通过访问http://localhost和输入的Tomcat端口来访问Tomcat主页,如果获取到返回串证明Tomcat运行中,否则检测JAVA.EXE进程是否存在。...