Tomcat 在部署过程中遇到的错误,求大神帮忙
严重:Thewebapplication[/springDemo]registeredtheJDBCdriver[oracle.jdbc.OracleDriver]but...
严重: The web application [/springDemo] registered the JDBC 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.
2011-9-12 17:08:57 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/springDemo] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011-9-12 17:08:57 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/springDemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1fa980b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@113fc37]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-9-12 17:08:57 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/springDemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1139c27]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@70ed00]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-9-12 17:08:57 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/springDemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1139c27]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1d7a36e]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-9-12 17:08:59 org.apache.catalina.core.ApplicationContext log
------------------------------------------------------------------------------------------------------
tomcat6 启动无异常。部署时报上述错误 求解答 展开
2011-9-12 17:08:57 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
严重: The web application [/springDemo] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
2011-9-12 17:08:57 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/springDemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1fa980b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@113fc37]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-9-12 17:08:57 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/springDemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1139c27]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@70ed00]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-9-12 17:08:57 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
严重: The web application [/springDemo] created a ThreadLocal with key of type [com.opensymphony.xwork2.inject.ContainerImpl$10] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1139c27]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1d7a36e]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
2011-9-12 17:08:59 org.apache.catalina.core.ApplicationContext log
------------------------------------------------------------------------------------------------------
tomcat6 启动无异常。部署时报上述错误 求解答 展开
3个回答
展开全部
url="jdbc:mysql://localhost:8080/mylib"
mysql数据库端口默认都是3306,这里是不是有问题?我记得8080是tomcat的吧?
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
<listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询