[jboss-user] [EJB 3.0] - Re: Database Connection Pooling?

2007-03-06 Thread fhh
Not if you do have 50 concurrent users. The connection is only returned to the pool when you close it. This obviuosly means it is not used anymore. Connection pooling will not give you any kind of multiplexing of database access. This is not possible due to the fact that database transactions

[jboss-user] [EJB 3.0] - Re: Database Connection Pooling?

2007-03-05 Thread [EMAIL PROTECTED]
Use of a *-ds.xml file automatically includes JDBC connection pooling via JBossJCA. Your all set. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025137#4025137 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025137

[jboss-user] [EJB 3.0] - Re: Database Connection Pooling?

2007-03-05 Thread majohnst
I am using a *-ds.xml, so that is good, but I still don't think my pooling is working. I am stress testing my webapp. Just for kicks, I set my Postgres server to only accept a maximum of 20 connections. I created a stress test to have 50 concurrent users. After the test gets running, I get an