druid connection holder is null

fafcakar  于 3个月前  发布在  Druid
关注(0)|答案(4)|浏览(79)

Mysql:5.6.16, druid:1.1.8,Mysql驱动: 5.1.45 ,断开所有数据库会话大致出现大量java.sql.SQLException: connection holder is null

1hdlvixo

1hdlvixo1#

锁表后出现connection holder is null

hts6caw3

hts6caw32#

开始执行查询的时候遇到同样错误
java.sql.SQLException: connection holder is null at com.alibaba.druid.pool.DruidPooledConnection.checkStateInternal(DruidPooledConnection.java:1112) at com.alibaba.druid.pool.DruidPooledConnection.checkState(DruidPooledConnection.java:1105) at com.alibaba.druid.pool.DruidPooledConnection.getHoldability(DruidPooledConnection.java:961) at com.dianping.zebra.single.jdbc.SingleConnection.getHoldability(SingleConnection.java:182) at com.dianping.zebra.group.jdbc.GroupPreparedStatement.createPreparedStatementInternal(GroupPreparedStatement.java:76) at com.dianping.zebra.group.jdbc.GroupPreparedStatement.executeQueryOnConnection(GroupPreparedStatement.java:144) at com.dianping.zebra.group.jdbc.GroupPreparedStatement.executeQuery(GroupPreparedStatement.java:140) at org.datanucleus.store.rdbms.ParamLoggingPreparedStatement.executeQuery(ParamLoggingPreparedStatement.java:375) at org.datanucleus.store.rdbms.SQLController.executeStatementQuery(SQLController.java:552)

z2acfund

z2acfund4#

removeAbandoned参数设置的啥?

相关问题