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 No ManagedConnections available Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "No ManagedConnections available" Watch "No ManagedConnections available" New topic

No ManagedConnections available

Ganesh Sundaresan
Ranch Hand

Joined: Feb 09, 2006
Posts: 36

I am getting this Exception

Failed getDBPoolorg.jboss.util.NestedSQLException: No ManagedConnections available
within configured blocking timeout ( 30000 [ms] );

I have set min pool size as 5 and did not specify max size and it defaults to 20.

I have closed all connections in finally block. I beleive connection.close() is not returning the connection back to pool.

Can anyone help me on this. Thanks in advance.

Thanks, Ganesh
SJCP (95%), SCWCD (75%), SCDJWS (Planning to take....)
Ganesh Sundaresan
Ranch Hand

Joined: Feb 09, 2006
Posts: 36
Is there a option in Jboss to create new connections(to certain limit) even when the connection size reaches max limit?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: No ManagedConnections available