jdbc - 由于jdbc驱动加载,Tomcat无法启动

标签 jdbc tomcat6

以下是 tomcat 启动日志的相关部分:

SEVERE: Context [/f360] startup failed due to previous errors
Apr 8, 2010 6:45:56 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: A web application registered the JBDC driver [org.apache.derby.jdbc.ClientDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 8, 2010 6:45:56 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: A web application registered the JBDC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Apr 8, 2010 6:45:56 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: A web application registered the JBDC driver [com.microsoft.sqlserver.jdbc.SQLServerDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

它导致的问题是它基本上导致Web应用程序无法正常启动。

任何想法如何解决这一问题?

最佳答案

如果是 DBCP 问题,则停止 tomcat,终止所有剩余进程(如果您有多个 tomcat 正在运行),删除 tomcat 临时目录(可能还有工作目录)并重试。

关于jdbc - 由于jdbc驱动加载,Tomcat无法启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2604630/

相关文章:

java - 连接关闭后 JDBC 回滚

tomcat 6配置问题?

java - SQLite 和 tomcat 中的并发访问

java - 不确定为什么会发生 'java.net.ConnectException: Connection timed out: connect' 异常

java - 在 Tomcat 6.0.20 中更新现有 webapp 时出现问题

java - 如何在套接字级别拦截 Tomcat 请求?

java - 插入不能正常工作

java - jconn2 和 jconn3 的性能差异

java - 记录/记录数据库更新、访问、修改等的最后日期/时间的简单方法

Java/SQL 查找重复项