数据连接池的错误?--又出现这个错误。。

倚小丁 发布于 2010/11/20 14:14
阅读 5K+
收藏 0

 

这个错误是什么原因?

Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" java.lang.NullPointerException

at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257)

at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:577)

Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" java.lang.NullPointerException

at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257)

at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:577)

Exception in thread "Resource Destroyer in BasicResourcePool.close()" java.lang.NullPointerException

at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257)

at com.mchange.v2.resourcepool.BasicResourcePool$5.run(BasicResourcePool.java:1181)

Exception in thread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" java.lang.NullPointerException

at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257)

at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:577)

刚刚 又出现这样的错误。。。

严重: The web application [/jxt] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.

2010-11-20 14:40:09 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

严重: The web application [/jxt] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to create a memory leak.

2010-11-20 14:40:09 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

严重: The web application [/jxt] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to create a memory leak.

2010-11-20 14:40:09 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

严重: The web application [/jxt] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to create a memory leak.

2010-11-20 14:40:09 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

严重: The web application [/jxt] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@103c29b]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@1dd7bc5]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

2010-11-20 14:40:09 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

严重: The web application [/jxt] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1e8c585]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@ffa6eb]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

2010-11-20 14:40:09 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap

严重: The web application [/jxt] created a ThreadLocal with key of type [null] (value [com.opensymphony.xwork2.inject.ContainerImpl$10@1e8c585]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@11d3226]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.

加载中
0
jing31
jing31

看log怎么感觉像是你log4j的问题呢?呵呵~

0
倚小丁
倚小丁

引用来自#2楼“jing31”的帖子

看log怎么感觉像是你log4j的问题呢?呵呵~

不会的吧。。

我试着换一个。

0
张林
张林

看空指针,看看某个对象没传进来,debug一下吧,我一般都是设断点就知道问题了

0
wendal
wendal

tomcat重启一下吧

0
罪恶的花生
罪恶的花生

com.mchange.v2.async.ThreadPoolAsynchronousRunner

空错误!你debug一下你的这个类方法

0
二两
二两

前一段时间我也老出现你这问题  我用的是群集。。主要原因是代码没写好~出现空值。。。

0
JavaGG
JavaGG

好象是c3p0的问题,以前也出现过,在某中高并发特定情况就跳出来了

返回顶部
顶部