Pooling does not seem to be working, every request to specific url executes 5 queries and opens 5 connections and leaves them open once 50 connections are open ( maxActive setting ). I get timeout error here are my settings see if there is any thing wrong. ( Followed jakarta website ): ( Tomcat / MySQL )
From what I have read the above code should work, but it doesn't please help... [ November 08, 2004: Message edited by: Kerry Wilson ]
I've had the same problem with commons dbcp, and spent some time reviewing my code and config files. Somehow through google found that it was a bug within some version of commons dbcp. This could be your case.
As soon as I replaced the buggy jar with some older one, everything worked just fine.