we just migrated from JBoss 3.0.4 to JBoss 3.2.3. There seems to be some connection leak inside JBoss ( we did not change any code ) over time, but it could be that I've configured things wrongly so here's a sample config ( I got this to work ), the problem only occurs when many of the developers are connecting at the same time. We have about 5 machines running ( non of which is doing anything strenuous ) when we see that the total connection to the database ( from all machines ) exceeds the maximum allowable ( set by the database ). Anything missing ?
<!-- The jndi name of the DataSource, it is prefixed with java:/ -->
<!-- Datasources are not available outside the virtual machine -->
<!-- The driver class -->
<!-- The login and password -->
<!-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -->
<!-- The maximum connections in a pool/sub-pool -->
<!-- The time before an unused connection is destroyed -->
<!-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -->
<!-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -->
<!-- Whether to check all statements are closed when the connection is returned to the pool,
this is a debugging feature that should be turned off in production -->
"jgettle" wrote:"jgettle" wrote:
Do you still have this problem. We are seeing a similar problem and I was wondering if you found a solution/workaround. We ran JBoss 3.2.3 for over a month in our test environment without a problem. Now when we move it to production we started to see this issue.