tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57801] Tomcat catalina.sh fails to start after machine is reboot because there is another process have the same PID as Tomcat before reboot
Date Fri, 10 Apr 2015 10:52:46 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57801

--- Comment #4 from jiaoyk@gmail.com ---
Thanks Rainer.

If the machine is shutdown by power off, the rc script may don't have chance to
execute.
After use ps to check if the PID is alive, could you also extract the path of
the process, and compare it with the home path of tomcat? If the path is the
same, the process should be tomcat, otherwise, it's other process. Then, the
script could rm the PID file and continue to start.

Sometimes, the tomcat process is just hung up. could you provide a force start
option? Even the tomcat process is there, just kill it and start anyway.

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