You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/10/21 01:57:47 UTC

DO NOT REPLY [Bug 50130] New: Start Tomcat if $CATALINA_PID present and process not found.

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


DO NOT REPLY [Bug 50130] Start Tomcat if $CATALINA_PID present and process not found.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50130

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-10-21 07:58:33 EDT ---


*** This bug has been marked as a duplicate of bug 50084 ***

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