问:DEBUG ajp-bio-8285-exec-8 com.mingsoft.servlet.regex.ListView -/home/xmszm2xrmbsgz8m/www/DEBUG ajp-bio-8285-exec-1 com.mingsoft.servlet.regex.ListView -http://www.xmszm.com:80/DEBUG ajp-bio-8285-exec-1 com.mingsoft.servlet.regex.ListView -/home/xmszm2xrmbsgz8m/www/DEBUG ajp-bio-8285-exec-6 com.mingsoft.servlet.regex.ListView -http://www.xmszm.com:80/DEBUG ajp-bio-8285-exec-6 com.mingsoft.servlet.regex.ListView -/home/xmszm2xrmbsgz8m/www/WARN ajp-bio-8285-exec-6 com.mchange.v2.c3p0.impl.NewPooledConnection -[c3p0] A PooledConnection that has signalled a error is still in use!WARN ajp-bio-8285-exec-6 com.mchange.v2.c3p0.impl.NewPooledConnection -[c3p0] error has [ com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No allowed after closed. ] which will not be to listeners!com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No allowed after closed. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.Util.getInstance(Util.java:386) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920) at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1304) at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1296) at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4511) at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4476) at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.in ajp-bio-8285-exec-4 com.mingsoft.servlet.regex.ListView -http://www.xmszm.com:80/DEBUG ajp-bio-8285-exec-4 com.mingsoft.servlet.regex.ListView -/home/xmszm2xrmbsgz8m/www/WARN ajp-bio-8285-exec-4 com.mchange.v2.c3p0.impl.NewPooledConnection -[c3p0]
请问下应该如何解决?感觉是mysql断开连接了。用久了。代码未见任何异常。,连接mysql报错,每天晚上第二天就会断开
答:您好,
还木有评论哦,快来抢沙发吧~