[jboss-cvs] JBossAS SVN: r110775 - branches/JBPAPP_5_1/main/src/bin.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Feb 25 03:34:12 EST 2011
Author: jiwils
Date: 2011-02-25 03:34:12 -0500 (Fri, 25 Feb 2011)
New Revision: 110775
Modified:
branches/JBPAPP_5_1/main/src/bin/run.sh
Log:
Fix for JBPAPP-5824. The PID file if created, is now removed.
Modified: branches/JBPAPP_5_1/main/src/bin/run.sh
===================================================================
--- branches/JBPAPP_5_1/main/src/bin/run.sh 2011-02-24 20:55:18 UTC (rev 110774)
+++ branches/JBPAPP_5_1/main/src/bin/run.sh 2011-02-25 08:34:12 UTC (rev 110775)
@@ -324,6 +324,9 @@
# Wait for a complete shudown
wait $JBOSS_PID 2>/dev/null
fi
+ if [ "x$JBOSS_PIDFILE" != "x" ]; then
+ grep "$JBOSS_PID" $JBOSS_PIDFILE && rm $JBOSS_PIDFILE
+ fi
fi
# If restart doesn't work, check you are running JBossAS 4.0.4+
# http://jira.jboss.com/jira/browse/JBAS-2483
Property changes on: branches/JBPAPP_5_1/main/src/bin/run.sh
___________________________________________________________________
Added: svn:mergeinfo
+ /branches/JBPAPP_4_2_0_GA_CP/system/src/bin/run.sh:108548
More information about the jboss-cvs-commits
mailing list