tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 25060] Reloading context orphans currently open jndi datasource connections
Date Sat, 05 Feb 2011 21:32:26 GMT

--- Comment #6 from Cyril Bonté <> 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:
------- You are receiving this mail because: -------
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message