My program works just fine for one user. But when I stress my application with 300 transactions per minute (avg 5/sec) i am getting an error (1 transaction of 300 failed).
When i stress with 1000 about 100 transactions are failed.
And I can't understand what's wrong.
Piece of code:
Can't you tell me what may be wrong and how to troubleshoot this?
A dreamer is one step behind the achiever, and the achiever was once a dreamer.
Joined: Jun 01, 2010
I assume that multiple threads can call the method you post. Can you post the implementation of getConnection()?