[Tomcat]JDBC Driver has been forcibly unregistered

Tomcat版本:6.0.41

报错详细内容:

严重: The web application [/] 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.

Tomcat的lib目录下缺少Oracle的JDBC驱动

 

$CATALINA_HONE/conf/server.xml:

<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<Listener className="org.apache.catalina.core.JasperListener" />
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" />
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />

比起Tomcat5.5,Tomcat6.0新增了JreMemoryLeakPreventionListener来定位运行时的内存泄露和文件锁定

 

你可能感兴趣的:(tomcat,内存泄露)