Are you able to share the whole thing? That's just one thread. If you have a whole bunch of threads all hitting the database, that sounds like a potential issue at the database end. If there are no other threads accessing the database, then its possible there is a leak somewhere.
Jon On Mon, Oct 7, 2019 at 11:23 PM Kalyan <kalyanfrem...@gmail.com> wrote: > Hello Jon, > Even after increasing the bean pool size. I am getting the exception. > > Below is the jstack. > But I have enough connection configured on the database as well. > > Could you please see what's going with this. > > > "JungoThreadPool-1-115-T348" #225 prio=5 os_prio=0 tid=0x00007fa5fc123000 > nid=0x3204 waiting on condition [0x00007fa56d86d000] > java.lang.Thread.State: WAITING (parking) > at sun.misc.Unsafe.park(Native Method) > - parking to wait for <0x00000006819f6760> (a > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) > at > java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) > at > > java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) > at > > org.apache.commons.pool2.impl.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:583) > at > > org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:442) > at > > org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363) > at > > org.apache.commons.dbcp2.managed.ManagedConnection.updateTransactionStatus(ManagedConnection.java:127) > at > > org.apache.commons.dbcp2.managed.ManagedConnection.<init>(ManagedConnection.java:60) > at > > org.apache.openejb.resource.jdbc.dbcp.BasicManagedDataSource$1$1.<init>(BasicManagedDataSource.java:89) > at > > org.apache.openejb.resource.jdbc.dbcp.BasicManagedDataSource$1.getConnection(BasicManagedDataSource.java:89) > at > > org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533) > at JDBCQueryElement.getConnection(DLJDBCQueryElement.java:3173) > > thanks > Kalyan > > > > -- > Sent from: > http://tomee-openejb.979440.n4.nabble.com/TomEE-Users-f979441.html >