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

           Summary: Start Tomcat if $CATALINA_PID present and process not
                    found.
           Product: Tomcat 6
           Version: 6.0.26
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: mike...@gulik.co.nz


Created an attachment (id=26193)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26193)
Diff containing changes to catalina.sh. Diff does not contain directory info.

Currently, Tomcat will refuse to start if the $CATALINA_PID file is found. If
the Tomcat process dies and the $CATALINA_PID is not cleaned up, then the user
ends up in the annoying circumstance of not being able to start or stop tomcat
using the provided scripts.

This patch will test whether the process the the PID file stores actually
exists, and if not then it will start tomcat anyway. Starting tomcat will also
replace the PID file with a new version.

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