[
https://issues.apache.org/jira/browse/POOL-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462294#comment-13462294
]
jerrybi commented on POOL-230:
------------------------------
I may not describe the problem clearly.
I am using DBCP's BasicDataSource.
InitialSize = 10
MaxActive=50
MaxIdle=20
MinIdle=10
MaxWait = 6000000
When the problem heppens.
I could still login mysql using mysql client.
"show processlist" cmd list only less then 20 connections.
but the work threads in my program block in dataSource.getConnection()
Even after stop send client requests for a long time, they still blocks
I don't think the pool has been exhausted.
You may read the following page:
http://stackoverflow.com/questions/5714511/deadlock-issue-in-dbcp-deployed-on-tomcat
I have the same proplem with Iravanchi who didn't get the answer either.
> waiting on <0x00000000e7440168> (a
> org.apache.commons.pool.impl.GenericObjectPool$Latch)
> ----------------------------------------------------------------------------------------
>
> Key: POOL-230
> URL: https://issues.apache.org/jira/browse/POOL-230
> Project: Commons Pool
> Issue Type: Bug
> Affects Versions: 1.5.4
> Environment: tomcat using dbcp
> Reporter: jerrybi
>
> "Thread-20" daemon prio=10 tid=0x00007f5810214000 nid=0x5f7b in Object.wait()
> [0x00007f581527c000]
> java.lang.Thread.State: TIMED_WAITING (on object monitor)
> at java.lang.Object.wait(Native Method)
> - waiting on <0x00000000e7440168> (a
> org.apache.commons.pool.impl.GenericObjectPool$Latch)
> at
> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1112)
> - locked <0x00000000e7440168> (a
> org.apache.commons.pool.impl.GenericObjectPool$Latch)
> at
> org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
> at
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
> it seems that the problem bellow still exits.
> https://issues.apache.org/jira/browse/POOL-149
> I am using commons-dbcp-1.3 and commons-pool-1.5.4
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira