tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48831] New: Properly closing JULI FileHandler
Date Mon, 01 Mar 2010 09:01:26 GMT

           Summary: Properly closing JULI FileHandler
           Product: Tomcat 7
           Version: trunk
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina

Created an attachment (id=25070)
 --> (

This is a result of testing that I performed for our current trunk to evaluate
r910974 that is currently proposed for TC6.

I will first describe my environment. Results and findings will follow below.

Steps to reproduce:
1. With current trunk as of revision 917296 apply the patch that I am attaching
to this issue, and build it. The patch:
- adds logging to FileHandler#close().
The logging statement checks that this.writer != null, to do not try logging on
a closed handler (thus reopening it).
- sets bufferSize for catalina and localhost handlers
- marks ClassLoaderLogManager#useShutdownHook as volatile

2. Clear the logs folder.
3. Run "catalina.bat start", wait a while and run "catalina.bat stop".

Logs that I'll attach are the result of the above steps.

OS: WindowsXP/SP3, JRE: Sun JRE 6u18

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