File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes managed connections Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "managed connections" Watch "managed connections" New topic

managed connections


Joined: Mar 05, 2004
Posts: 3

We are facing a problem with database connections in JBoss. we are using mysql as the db server..

During peak loads, getting the following exception..

Caused by: javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 5000 [ms] )
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(|
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(|
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(|
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(|
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(|
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(|
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(|

Could be because the connections are not being closed in all the places in the application? or is there any other reason to it..??
Any way to check this ??

Chan Huaquan

Joined: Jun 18, 2003
Posts: 1
yes , i had met the same things. but my db is postgresql 7.2 , anyone can help me ?
I agree. Here's the link:
subject: managed connections
It's not a secret anymore!