You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2003/01/10 18:20:23 UTC
DO NOT REPLY [Bug 15960] New: -
TelnetAppender prevents tomcat from shutting down
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15960>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15960
TelnetAppender prevents tomcat from shutting down
Summary: TelnetAppender prevents tomcat from shutting down
Product: Log4j
Version: 1.2
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Appender
AssignedTo: log4j-dev@jakarta.apache.org
ReportedBy: jhkeller@ucdavis.edu
When running log4j with a TelnetAppender within Tomcat 4.0x, Tomcat's normal
shutdown hook does not seem to kill the process.
The servlets give messages that they are being shut down, but the process does
not end. I believe that tomcat is shutting down properly, but the
TelnetAppender ServerSocket is listening on a non-daemon thread. This is
preventing the server
from shutting down as requested.
This causes a problem for restarting the server as the TelnetAppender is still
listening on the specified port and the next restart of the tomcat engine then
bombs when attaching loggers because the port is already in use on the machine.
This causes the error in Bug# 15198 when the servlet survives the logger
exception and attempts to use the logger.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>