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

           Summary: Do not set to null fields in loaded classes when
                    stopping the container
           Product: Tomcat 6
           Version: 6.0.26
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: cedrik.l...@gmail.com


Since Tomcat 5.5.13, static fields are set to null when undeploying a webapp
(controlled via the org.apache.catalina.loader.
WebappClassLoader.ENABLE_CLEAR_REFERENCES system property).

When shutting down the container, this null-setting process is useless since
the whole JVM will be unloaded anyway. Bypassing said code in this case would
both speed up the shutdown and (as a bonus ^^) avoid spurious Log4J messages in
the console.

-- 
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