-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Silvio,
Silvio Rainoldi wrote:
| I think it's not this the problem... Connection is managed by
Hibernate and
| I close the connection in all pages...
What about if an exception is thrown? Are you careful to call
Connection.close() in a finally block
Of Silvio
> Rainoldi
> Sent: 23 July 2008 12:05
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: Re: Losing connection to db with many users
>
> Ehm no... :S
> how can I make that?
>
> Thanks
>
> 2008/7/23 <[EMAIL PROTECTED]>:
>
> > Are the
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Silvio
Rainoldi
Sent: 23 July 2008 12:05
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Losing connection to db with many users
Ehm no... :S
how can I make that?
Thanks
2008/7/23 <[EM
MAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Silvio
> Rainoldi
> Sent: 23 July 2008 11:07
> To: users@tomcat.apache.org
> Subject: Losing connection to db with many users
>
> Hi all,
> I'm using tomcat 6 + mysql + c3p0 connection pools + hibernate.
> If i test
@tomcat.apache.org
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 applic
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/