I uses tomcat6.0,jdk1.6, When I start tomcat in myeclipse, it can process request , but two minutes later it can not process request.
log4j show :
Java Code:
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1039) - Removing expired resource: com.mchange.v2.c3p0.impl.NewPooledConnection@1b36583 [com.mchange.v2.resourcepool.BasicResourcePool@1df75d8]
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1159) - trace com.mchange.v2.resourcepool.BasicResourcePool@1df75d8 [managed: 4, unused: 4, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@15e54e8)
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1077) - EXPIRED resource: com.mchange.v2.c3p0.impl.NewPooledConnection@15df183 ---> age: 33485   max: 30000 [com.mchange.v2.resourcepool.BasicResourcePool@1df75d8]
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1039) - Removing expired resource: com.mchange.v2.c3p0.impl.NewPooledConnection@15df183 [com.mchange.v2.resourcepool.BasicResourcePool@1df75d8]
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1159) - trace com.mchange.v2.resourcepool.BasicResourcePool@1df75d8 [managed: 3, unused: 3, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@15e54e8)
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1077) - EXPIRED resource: com.mchange.v2.c3p0.impl.NewPooledConnection@10d806c ---> age: 33485   max: 30000 [com.mchange.v2.resourcepool.BasicResourcePool@1df75d8]
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1039) - Removing expired resource: com.mchange.v2.c3p0.impl.NewPooledConnection@10d806c [com.mchange.v2.resourcepool.BasicResourcePool@1df75d8]
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1159) - trace com.mchange.v2.resourcepool.BasicResourcePool@1df75d8 [managed: 2, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@15e54e8)
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1077) - EXPIRED resource: com.mchange.v2.c3p0.impl.NewPooledConnection@1314e55 ---> age: 33453   max: 30000 [com.mchange.v2.resourcepool.BasicResourcePool@1df75d8]
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1039) - Removing expired resource: com.mchange.v2.c3p0.impl.NewPooledConnection@1314e55 [com.mchange.v2.resourcepool.BasicResourcePool@1df75d8]
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1159) - trace com.mchange.v2.resourcepool.BasicResourcePool@1df75d8 [managed: 1, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@15e54e8)
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1077) - EXPIRED resource: com.mchange.v2.c3p0.impl.NewPooledConnection@9da471 ---> age: 33438   max: 30000 [com.mchange.v2.resourcepool.BasicResourcePool@1df75d8]
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1039) - Removing expired resource: com.mchange.v2.c3p0.impl.NewPooledConnection@9da471 [com.mchange.v2.resourcepool.BasicResourcePool@1df75d8]
2009-04-17 14:28:13,828 DEBUG [Timer-0] (BasicResourcePool.java:1159) - trace com.mchange.v2.resourcepool.BasicResourcePool@1df75d8 [managed: 0, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@15e54e8)
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (GooGooStatementCache.java:229) - ENTER METHOD: closeAll( com.mysql.jdbc.Connection@5dfc45 )! -- num_connections: 0
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (GooGooStatementCache.java:231) - Set of statements for connection: null
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (GooGooStatementCache.java:274) - closeAll(): com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 0; checked out: 0; num connections: 0; num keys: 0
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (GooGooStatementCache.java:229) - ENTER METHOD: closeAll( com.mysql.jdbc.Connection@5d50ab )! -- num_connections: 0
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (GooGooStatementCache.java:231) - Set of statements for connection: null
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (GooGooStatementCache.java:274) - closeAll(): com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 0; checked out: 0; num connections: 0; num keys: 0
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (GooGooStatementCache.java:229) - ENTER METHOD: closeAll( com.mysql.jdbc.Connection@fdc252 )! -- num_connections: 0
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (GooGooStatementCache.java:231) - Set of statements for connection: null
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (GooGooStatementCache.java:274) - closeAll(): com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 0; checked out: 0; num connections: 0; num keys: 0
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] (GooGooStatementCache.java:229) - ENTER METHOD: closeAll( com.mysql.jdbc.Connection@523b16 )! -- num_connections: 0
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] (GooGooStatementCache.java:231) - Set of statements for connection: null
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] (GooGooStatementCache.java:274) - closeAll(): com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 0; checked out: 0; num connections: 0; num keys: 0
2009-04-17 14:28:13,828 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] (GooGooStatementCache.java:229) - ENTER METHOD: closeAll( com.mysql.jdbc.Connection@13d3b95 )! -- num_connections: 0
2009-04-17 14:28:13,859 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] (GooGooStatementCache.java:231) - Set of statements for connection: null
2009-04-17 14:28:13,859 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0] (GooGooStatementCache.java:274) - closeAll(): com.mchange.v2.c3p0.stmt.GlobalMaxOnlyStatementCache stats -- total size: 0; checked out: 0; num connections: 0; num keys: 0
2009-04-17 14:28:13,843 DEBUG [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] (GooGooStatementCache.java:229) - ENTER METHOD: closeAll( com.mysql.jdbc.Connection@1006ab6 )! -- num_connections: 0
how can I do?