tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject RE: Losing connection to db with many users
Date Wed, 23 Jul 2008 10:58:57 GMT
Are the connections being returned to the pool after use? If they are not
then your application could quickly run out of connections.


-----Original Message-----
From: [] On Behalf Of Silvio
Sent: 23 July 2008 11:07
Subject: Losing connection to db with many users

Hi all,
I'm using tomcat 6 + mysql + c3p0 connection pools + hibernate.
If i test my web application with Apache JMeter simulating 100 users
(threads?!) in a page, after 5-30 seconds i will lose the connection to db.
If I redeploy the application it work again... In the tomcat manager I see
15'000/18'000 sessions :S Please help me and sorry for my bad english

This  message  may  contain  confidential and  privileged  information.
If you  are not the  intended recipient  you should not  disclose, copy
or distribute information in this e-mail or take any action in reliance
on its contents.  To do so is strictly  prohibited and may be unlawful.
Please  inform  the  sender that  this  message has  gone astray before
deleting it.  Thank you.

2008 marks the 60th anniversary of the NHS.  It's an opportunity to pay
tribute to the NHS staff and volunteers who help shape the service, and
celebrate their achievements.

If you work for the NHS  and  would like  an NHSmail  email account, go

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message