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 Maximum Number of Connections in JBOSS 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 "Maximum Number of Connections in JBOSS" Watch "Maximum Number of Connections in JBOSS" New topic
Author

Maximum Number of Connections in JBOSS

s rakesh
Greenhorn

Joined: Sep 30, 2005
Posts: 3
Hi all

I am using JBOSS 4.2 and SQLServer 2005 for my application.
I am getting No Managed connections exception on load testing the application.

I changed the value of <max-pool-size> tag in mssql-ds.xml to 100 the load testing passes without any exceptions.

Is it advisable to keep max connections to 100?

I know JBOSS default maximum size is just 20.


Thanks
Rakesh
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9924
    
158

"Rakesh"

Please check your private message for a message from JavaRanch.


[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9924
    
158

Originally posted by rakesh:

Is it advisable to keep max connections to 100?



It depends on your application and the database server. If your application requires a maximum of 100 connections to be open at a given time and if your database server allows that, then you can set that value.
s rakesh
Greenhorn

Joined: Sep 30, 2005
Posts: 3
Thanks Jaikiran
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Maximum Number of Connections in JBOSS
 
Similar Threads
Maximum Number of connections in Connection Pool.
Jboss, connection problem
connection pooling
Connection pool in Jboss
connection pooling in jboss