刚从 JFinal + mysql环境 移植到JFinal + oracle 环境
运行时老是报错
java.sql.SQLException: Some resources failed to close properly while closing com.mchange.v2.c3p0.impl.NewPooledConnection@1e0d7bee
Caused by: java.net.SocketException: Connection reset by peer: socket write error
网上查说需要重启oracle服务器。。。重启后隔断时间又出现以上错误
波总 是不是要配置一下c3p0的连接池啊 ,现在没有配 代码如下
return new C3p0Plugin(PropKit.get("jdbcUrl"), PropKit.get("user"), PropKit.get("password").trim());
项目:JFinal