On 09/29/2010 10:51 AM, Rainer Jung wrote:
On 28.09.2010 19:41, Mladen Turk wrote:
Next the code
> echo "Tomact stopped but PID file could not be removed ($CATALINA_PID)."
Will fail on shells that handle ( ...) like ` ... `
Just as an info: you can use
echo 'Tomcat stopped but PID file could
On 28.09.2010 19:41, Mladen Turk wrote:
Next the code
> echo "Tomact stopped but PID file could not be removed ($CATALINA_PID)."
Will fail on shells that handle ( ...) like ` ... `
Just as an info: you can use
echo 'Tomcat stopped but PID file could not be removed ('$CATALINA_PID').'
(one l
On 09/28/2010 06:59 PM, ma...@apache.org wrote:
Author: markt
+PID="`cat "$CATALINA_PID"`"
+if ps -p $PID> /dev/null; then
+ echo "Tomcat appears to still be running with PID $PID. Start
aborted."
+ exit 1
if $CATALINA_PID points to the file that has invalid
On 09/28/2010 06:59 PM, ma...@apache.org wrote:
Author: markt
Date: Tue Sep 28 16:59:54 2010
New Revision: 1002263
URL: http://svn.apache.org/viewvc?rev=1002263&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49728
Improve PID file handling, particularly when another process