Posts

Showing posts from July, 2006

JBoss NestedSQLException No ManagedConnections

org.jboss.util.NestedSQLException: No ManagedConnections

http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJCACommon

JBoss
Pooling parameters

* - whether separate subpools should be created for connections inside and outside JTA transactions (default false)
* - the minimum number of connections in the pool (default 0 - zero)
* - the maximum number of connections in the pool (default 20)
* - the length of time to wait for a connection to become available when all the connections are checked out (default 5000 == 5 seconds, from 3.2.4 it is 30000 == 30 seconds)
* - the number of minutes after which unused connections are closed (default 15 minutes)
* - whether the connection should be "locked" to the transaction, returning it to the pool at the end of the transaction (default true for Local, false for XA)

http://dev.mysql.com/doc/refman/5.0/en/too-many-connections.html
A.2.6. Too many connections

If you get a Too many connections error when you try to connect to…