Problem with a Database ConnectionPool

2003-03-20 Thread Guillaume Albini
Hi,

I use Tomcat 4.0.1 with the parameter reloadable=true for my webapp.

I have a problem with my Database Connection Pool when Tomcat Reloading this Context 
after install new classes or *.jar.
My connections are not destroy by tomcat and remain latency but my ConnectionPool 
can't use its.
So, my ConnectionPool create new connections but the number of connections increase.

I use a finalyse method in my connectionPool but its not call .

Do you have ideas ?

Thank you for your help

Albini Guillaume




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Problem with a Database ConnectionPool

2003-03-20 Thread Phillip Qin
Can you destroy it in your initialization servlet's destroy method?

-Original Message-
From: Guillaume Albini [mailto:[EMAIL PROTECTED] 
Sent: March 20, 2003 6:32 AM
To: [EMAIL PROTECTED]
Subject: Problem with a Database ConnectionPool

Hi,

I use Tomcat 4.0.1 with the parameter reloadable=true for my webapp.

I have a problem with my Database Connection Pool when Tomcat Reloading this
Context after install new classes or *.jar.
My connections are not destroy by tomcat and remain latency but my
ConnectionPool can't use its.
So, my ConnectionPool create new connections but the number of connections
increase.

I use a finalyse method in my connectionPool but its not call .

Do you have ideas ?

Thank you for your help

Albini Guillaume




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Problem with a Database ConnectionPool

2003-03-20 Thread Guillaume Albini
No, I use Struts 1.0.2 and my ConnectionPool call in business method outside my 
servlet's


On Thu, 20 Mar 2003 09:59:54 -0500
Phillip Qin <[EMAIL PROTECTED]> wrote:

>Can you destroy it in your initialization servlet's destroy method?
>
>-Original Message-
>From: Guillaume Albini [mailto:[EMAIL PROTECTED] 
>Sent: March 20, 2003 6:32 AM
>To: [EMAIL PROTECTED]
>Subject: Problem with a Database ConnectionPool
>
>Hi,
>
>I use Tomcat 4.0.1 with the parameter reloadable=true for my webapp.
>
>I have a problem with my Database Connection Pool when Tomcat Reloading this
>Context after install new classes or *.jar.
>My connections are not destroy by tomcat and remain latency but my
>ConnectionPool can't use its.
>So, my ConnectionPool create new connections but the number of connections
>increase.
>
>I use a finalyse method in my connectionPool but its not call .
>
>Do you have ideas ?
>
>Thank you for your help
>
>Albini Guillaume
>
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problem with a Database ConnectionPool

2003-03-20 Thread Salina Cheung
Have same problem.

When classes are reloaded, number of DB connections
exceeds the max number of connections allowed. 
crashing my DB server. 

Any fixes?

Thanks.




__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]