tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50130] New: Start Tomcat if $CATALINA_PID present and process not found.
Date Wed, 20 Oct 2010 23:57:47 GMT
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: mikevdg@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message