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


Mark Thomas <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




--- Comment #1 from Mark Thomas <[EMAIL PROTECTED]>  2008-05-19 13:20:38 PST ---
To quote from the new system props doc that will be in 6.0.17 onwards...

<quote>
org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES    

If true, Tomcat attempts to null out any static or final fields from loaded
classes when a web application is stopped as a work around for apparent garbage
collection bugs and application coding errors.
There have been some issues reported with log4j when this option is true.
Applications without memory leaks using recent JVMs should operate correctly
with this option set to false.
If not specified, the default value of true will be used.
</quote>

The bug you are seeing is a result of this system property defaulting to true.
If your application and any libraries it uses clean up correctly after
themselves on context stop you should be safe to set this system property to
false and the error should go away.

Changing the default to false would fix this error. However, this property has
fixed a number of other issue so on balance a default of true is probably the
right way to go for now.


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to