Bug 1473022 - Thread hang in org.apache.commons.pool.impl.GenericObjectPool.borrowObject
Thread hang in org.apache.commons.pool.impl.GenericObjectPool.borrowObject
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: apache-commons-pool (Show other bugs)
7.2
Unspecified Unspecified
urgent Severity urgent
: rc
: ---
Assigned To: Java maintainers
BaseOS QE - Apps
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-19 17:01 EDT by Robert Bost
Modified: 2017-11-02 07:01 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robert Bost 2017-07-19 17:01:10 EDT
Description of problem:
HTTP threads are hanging in GenericObjectPool.borrowObject. There's is no thread actively using a DataSource connection.

"http-bio-18000-exec-215" #240 daemon prio=5 os_prio=0 tid=0x00007f7a380a4800 nid=0x596c in Object.wait() [0x00007f7a1dbba000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:502)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1118)
        - locked <0x00000000da733398> (a org.apache.commons.pool.impl.GenericObjectPool$Latch)
        at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:108)
        at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1046)
        at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)
        at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)
        at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:572)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:636)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:665)
        at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:673)
        at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:733)
        ....




Version-Release number of selected component (if applicable):
apache-commons-pool-1.6-9.el7.noarch

Note You need to log in before you can comment on or make changes to this bug.