日期:2014-05-17  浏览次数:20806 次

我的tomcat总是自动关闭
环境 tomcat+Apache+oracle9i客户端 2003系统
这是Catalina里的记录
信息: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_02\bin;.;C:\Documents and Settings\administrator.HE\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\Documents and Settings\administrator.HE\WINDOWS;C:\Program Files\Java\jdk1.6.0_02\bin;I:\oracle9i\jre\1.4.2\bin\client;I:\oracle9i\jre\1.4.2\bin;I:\oracle9i\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Dell\SysMgt\RAC5;C:\Program Files\Dell\SysMgt\oma\bin;C:\Program Files\Dell\SysMgt\oma\oldiags\bin;C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\Php
2010-12-13 9:32:44 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8083
2010-12-13 9:32:44 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 713 ms
2010-12-13 9:32:45 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-12-13 9:32:45 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.14
2010-12-13 9:32:45 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8083
2010-12-13 9:32:45 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8009
2010-12-13 9:32:45 org.apache.jk.server.JkMain start
信息: Jk running ID=0 time=0/16 config=null
2010-12-13 9:32:45 org.apache.catalina.startup.Catalina start
信息: Server startup in 617 ms
2010-12-13 9:37:29 org.apache.coyote.http11.Http11Protocol pause
信息: Pausing Coyote HTTP/1.1 on http-8083
2010-12-13 9:37:30 org.apache.catalina.core.StandardService stop
信息: Stopping service Catalina
2010-12-13 9:37:30 org.apache.catalina.core.StandardWrapper unload
信息: Waiting for 10 instance(s) to be deallocated
2010-12-13 9:37:31 org.apache.catalina.core.StandardWrapper unload
信息: Waiting for 10 instance(s) to be deallocated
2010-12-13 9:37:32 org.apache.catalina.core.StandardWrapper unload
信息: Waiting for 10 instance(s) to be deallocated
2010-12-13 9:37:32 org.apache.coyote.http11.Http11Protocol destroy

这是manager里的日志
2010-12-10 14:27:45 org.apache.catalina.core.ApplicationContext log
信息: HTMLManager: init: Associated with Deployer 'Catalina:type=Deployer,host=localhost'
2010-12-10 14:27:45 org.apache.catalina.core.ApplicationContext log
信息: HTMLManager: init: Global resources are available
2010-12-10 14:27:45 org.apache.catalina.core.ApplicationContext log
信息: HTMLManager: list: Listing contexts for virtual host 'localhost'

哪位高手指点下?





------解决方案--------------------
在你的配置环境中
C:\Program Files\Java\jdk1.6.0_02\bin;.;后加上
C:\Program Files\Java\jdk1.6.0_02\lib
试试
------解决方案--------------------
The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

jre有问题,缺少dll文件,重装个jdk试试
------解决方案--------------------
自动死掉应该是java虚拟机崩溃的原因 
尝试一下,升级jdk,在sun公司的网站上看看有没有这个bug,看看这个:
http://mail.openjdk.java.net/pipermail/hotspot-dev/2007-August/000098.html