Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss Connection Pool Size

 
Meera Krishnan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Can anyone explain me what does it mean if I give 5 as min size and 20 as max size for the JBoss Connection pool? I gave 5 and 100 respectively for them and got an exception in the middle of execution of my code:

Exception insertorg.jboss.util.NestedSQLException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ); - nested throwable:

(javax.resource.ResourceException: No ManagedConnections available within configured blocking timeout ( 30000 [ms] ))


The exception got solved by giving 200 as max size instead of 100. How can give the max size suitable for my requirement? All suggessions are welcome.

Best regards,
Meera.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic