https://issues.apache.org/bugzilla/show_bug.cgi?id=47699
Summary: CATALINA_PID can be over-written by failed start Product: Tomcat 6 Version: 6.0.20 Platform: PC OS/Version: Windows Server 2003 Status: NEW Severity: normal Priority: P2 Component: Native:Integration AssignedTo: dev@tomcat.apache.org ReportedBy: ma...@apache.org --- Comment #0 from Mark Thomas <ma...@apache.org> 2009-08-17 13:59:59 BST --- If CATALINA_PID is defined and start is called twice in succession CATALINA_PID will be over-written by second start (that will fail as the ports are in use). This will leave the PID file referencing the wrong PID. This could be fixed be preventing a start if the PID file already exists. This requires adding code to remove the PID file on successful stop. Since the stop command returns before the process exits, some form of timeout is necessary. Patch to follow shortly. -- 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