This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "managed connections" Watch "managed connections" New topic
Author

managed connections

kd
Greenhorn

Joined: Mar 05, 2004
Posts: 3
Hi,

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(InternalManagedConnectionPool.java:262)|
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:496)|
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:425)|
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:318)|
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:477)|
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:814)|
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102)|

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 ??

thanks
Chan Huaquan
Greenhorn

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: http://aspose.com/file-tools
 
subject: managed connections
 
Similar Threads
jboss behind firewall
JBosss 5.1.0 and Connection Issue
java.lang.Exception: STACKTRACE
problem in connectivity through datasource to oracle database
JBoss Classpath