Author: jfrederic.clere(a)jboss.com
Date: 2010-05-25 11:01:34 -0400 (Tue, 25 May 2010)
New Revision: 2677
Modified:
trunk/build/unix/buildbin.TC7.sh
Log:
stop tomcat after (and before starting it).
Modified: trunk/build/unix/buildbin.TC7.sh
===================================================================
--- trunk/build/unix/buildbin.TC7.sh 2010-05-25 14:29:29 UTC (rev 2676)
+++ trunk/build/unix/buildbin.TC7.sh 2010-05-25 15:01:34 UTC (rev 2677)
@@ -69,6 +69,8 @@
export JAVA_OPTS
EOF
+(cd $native_sources/output/build; bin/shutdown.sh)
+sleep 10
(cd $native_sources/output/build; bin/startup.sh)
echo ""
echo "Waiting for Tomcat to start"
@@ -79,5 +81,8 @@
export ANT_HOME=$TS_HOME/tools/ant
(cd $TS_HOME/bin; ant run.all || exit 1) || exit 1
(cd $TS_HOME/bin; ant report || exit 1) || exit 1
+(cd $native_sources/output/build; bin/shutdown.sh)
+echo ""
echo "Done"
+echo ""
exit 0