Thank you - disabling the PermGen fix by setting
org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
to false stops the exception from appearing, as you suggested.
Doing this does make me a bit nervous though, as we've had problems with
PermGen memory exhaustion in the past.
It also suggests that this fix has problems of its own. I have a very
simple test war that demonstrates the problem - is it worth filing a bug
report to pinpoint what's going wrong in this particular case?
Also is it a supported configuration to use commons-logging and log4j in
WEB-INF/lib? I can't find a definitive statement one way or the other in
the Tomcat docs, but it seems necessary to do this to get debugging info
from digester etc. Unless I'm missing something.
Many thanks, John.
Caldarale, Charles R wrote:
From: John Holman [mailto:j.g.hol...@qmul.ac.uk]
Subject: commons-logging problem
When packaged as a war file this combination reliably produces the
exception shown below in the Tomcat console under the following
circumstances:
This is likely the result of a fix to prevent PermGen from filling up after
some number of webapp redeployments. You can try disabling the newer behavior
by setting the system property:
org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
to false. Doc is here:
http://tomcat.apache.org/tomcat-5.5-doc/config/systemprops.html#Other
The original bug report is here:
https://issues.apache.org/bugzilla/show_bug.cgi?id=41939
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org