DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28469>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28469

stderr is closed when it is used by jk_logger_file.c

           Summary: stderr is closed when it is used by jk_logger_file.c
           Product: Tomcat 5
           Version: Unknown
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Native:JK
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I'm using mod_jk2 2.0.4. jk_logger_file.c uses apr_file_open_stderr to create a
stderr handle. jk2_logger_file_init is called twice - once from setProperty, and
once from jk2_workerEnv_init. on the second call, the previously created stderr
handle is closed, and another apr_file_t handle is created - on the already
closed file handle 2. nothing is logged from now on, EBADF.

(there is no separate bugzilla product for tomcat-connectors, so I put this
report into Tomcat 5/Native:JK, no idea if this is correct)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to