本帖最后由 shary 于 2012-9-25 14:46 编辑
平台部署在linux下,启动运行都没问题,但是使用命令shutdown后报错,导致再次启动时启动不了,错误如下:
13:02:00,062 INFO pushlet:79 - SessionManager: Mon Sep 24 13:02:00 CST 2012 sto
pped
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesJ
dbc
严重: The web application [] registered the JBDC driver [org.hsqldb.jdbc.JDBCDri
ver] but failed to unregister it when the web application was stopped. To preven
t a memory leak, the JDBC Driver has been forcibly unregistered.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesJ
dbc
严重: The web application [] registered the JBDC driver [com.mysql.jdbc.Driver]
but failed to unregister it when the web application was stopped. To prevent a m
emory leak, the JDBC Driver has been forcibly unregistered.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesJ
dbc
严重: The web application [] registered the JBDC driver [org.logicalcobwebs.prox
ool.ProxoolDriver] but failed to unregister it when the web application was stop
ped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesJ
dbc
严重: The web application [] registered the JBDC driver [oracle.jdbc.driver.Orac
leDriver] but failed to unregister it when the web application was stopped. To p
revent a memory leak, the JDBC Driver has been forcibly unregistered.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesT
hreads
严重: The web application [] appears to have started a thread named [Thread-2] b
ut has failed to stop it. This is very likely to create a memory leak.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
严重: The web application [] appears to have started a thread named [Thread-3] b
ut has failed to stop it. This is very likely to create a memory leak.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesT
hreads
严重: The web application [] appears to have started a thread named [Thread-4] b
ut has failed to stop it. This is very likely to create a memory leak.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesT
hreads
严重: The web application [] appears to have started a thread named [HouseKeeper
] but has failed to stop it. This is very likely to create a memory leak.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesT
hreads
严重: The web application [] appears to have started a thread named [Store sampl
eCache1 Spool Thread] but has failed to stop it. This is very likely to create a
memory leak.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesT
hreads
严重: The web application [] appears to have started a thread named [Store sampl
eCache1 Expiry Thread] but has failed to stop it. This is very likely to create
a memory leak.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesT
hreads
严重: The web application [] appears to have started a thread named [Store query
.Document Spool Thread] but has failed to stop it. This is very likely to create
a memory leak.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearReferencesT
hreads
严重: The web application [] appears to have started a thread named [Timer-0] bu
t has failed to stop it. This is very likely to create a memory leak.
2012-9-24 13:02:00 org.apache.catalina.loader.WebappClassLoader clearThreadLocal
Map
严重: The web application [] created a ThreadLocal with key of type [org.apache.
axis.utils.XMLUtils.ThreadLocalDocumentBuilder] (value [org.apache.axis.utils.XM
LUtils$ThreadLocalDocumentBuilder@a75e9f]) and a value of type [org.apache.crims
on.jaxp.DocumentBuilderImpl] (value [org.apache.crimson.jaxp.DocumentBuilderImpl
@3534c1]) but failed to remove it when the web application was stopped. This is
very likely to create a memory leak.
2012-9-24 13:02:00 org.apache.coyote.http11.Http11AprProtocol destroy
信息: Stopping Coyote HTTP/1.1 on http-8089
2012-9-24 13:02:01 org.apache.coyote.ajp.AjpAprProtocol destroy
信息: Stopping Coyote AJP/1.3 on ajp-8009
程序如果运行在windows下,正常情况(不使用平台代码运行的情况下)是使用shutdown停止tomcat时,tomcat服务窗口就会停止服务并且自动关闭,但使用平台代码运行时,也会报这个错误,并且tomcat服务窗口不会关闭,这情况在windows下好解决,直接关闭tomcat窗口就好,但如果在linux就不行,shutdown后再次启动就不行了,必须强制停止进程才可以。急!!!!!!!!!!!!!!!!! |