https://issues.apache.org/bugzilla/show_bug.cgi?id=50556

--- Comment #3 from Christopher Schultz <ch...@christopherschultz.net> 
2011-01-06 17:55:20 EST ---
(In reply to comment #2)
> the JreMemoryLeakPreventionListener is there to initialize such leaking
> classes.

Yup, I've worked on it.

> And yes, it is safe to initialize com.sun.jndi.ldap.LdapPoolManager during
> tomcat startup.

Excellent: just initialize the class inside of the CTTL push/pop that's already
in there and you should be okay. I guess you'd only have to do it if
com.sun.jndi.ldap.connect.pool.timeout > 0, though system properties can be
changed at runtime, so it might be a good idea to temporarily set it to 1 if
it's currently 0, init the class, then set it back.

-- 
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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to