tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25060] Reloading context orphans currently open jndi datasource connections
Date Sat, 05 Feb 2011 21:32:26 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=25060

--- Comment #6 from Cyril Bonté <cyril.bonte@free.fr> 2011-02-05 16:32:22 EST ---
Hi, I wanted to open a bug report but finally found this old one.

(In reply to comment #4)
> I agree with Glenn that it is possible that some explicit clean-up could be
> performed using a Context LifeCycle Listener but this is a 'nice to have'.
> Therefore, since there is no memory leak here, I am changing this issue to an
> enhancement.

I don't totally agree because some pool configurations can cause a memory leak
(due to a thread leak). For example, when DBCP is configured with
timeBetweenEvictionRunsMillis > 0, the thread won't stop at reload. After
several reloads, PermGen becomes full. This is still true with Tomcat 7.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message