You can't perform any operations on this connection. It has been automatically closed by Proxool for some reason你的连接已经被proxool 关闭了,所以不能设置任何操作了!我想不出太多的理由,是不是你设置的连接池初始容量太小了。调高一点,比如10/20
解决方案 »
- java如何通过jdbc执行存储过程
- 把jstl标签改造成struts2标签
- jdk环境变量问题求助
- liferay启动异常
- 很简单的问题,但是很少有人能给我讲明白。
- 给大家推荐一个非常专业的研发论坛 - 52RD研发论坛
- 请问在自定义标记中能不能传变量?
- 关于struts的问题(在线等待,如果你觉的分不够我可以继续在开贴给你分)
- JBuilder数据库编程出错!???
- 一个很奇怪的问题:在myeclipse上用tomcat能运行,而ant build之后将war文件放到tomcat下却不能运行
- <html:image>标签路径问题
- Couldn't perform the operation getAutoCommit 求救!
<something-else-entirely>
<proxool>
<alias>DPwc</alias>
<driver-url>jdbc:mysql://localhost:3306/wcdb?Unicode=true&characterEncoding=gb2312</driver-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<driver-properties>
<property name="user" value="root"/>
<property name="password" value=""/>
</driver-properties>
<house-keeping-sleep-time>60000</house-keeping-sleep-time>
<prototype-count>10</prototype-count>
<maximum-connection-count>250</maximum-connection-count>
<minimum-connection-count>100</minimum-connection-count>
<statistics>15s,10m,1d</statistics>
</proxool>
</something-else-entirely>
1 你换一个连接池看看,这样可以排除连接池问题,比如c3p0 或者 dbcp 之类的
2 你换一种方式访问连接池,这样来排除你的程序代码问题,比如直接拿到数据库连接。总之,把问题分成2部分,排查!
我邮箱:[email protected]