Revision: 975d09cf0cab
Author: Jean Deruelle <[email protected]>
Date: Wed Aug 29 06:45:40 2012
Log: trying to fix the script according to
http://stackoverflow.com/questions/818255/in-the-bash-shell-what-is-21
http://code.google.com/p/sipservlets/source/detail?r=975d09cf0cab
Modified:
/sip-servlets-test-suite/sipp-scenarios/clustering/auto-start-jboss-server.sh
=======================================
---
/sip-servlets-test-suite/sipp-scenarios/clustering/auto-start-jboss-server.sh
Sun Apr 8 19:19:15 2012
+++
/sip-servlets-test-suite/sipp-scenarios/clustering/auto-start-jboss-server.sh
Wed Aug 29 06:45:40 2012
@@ -1,9 +1,9 @@
export JAVA_OPTS="-server -Xms1536m -Xmx1536m -XX:PermSize=128M
-XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode"
if [ "0" = $3 ]; then
echo "Port configuration is 0. Using default command. No need for hacks."
- $JBOSS_HOME/bin/run.sh -Djboss.server.log.threshold=INFO -c $1
&> "jboss-$1-$4.out"&
+ $JBOSS_HOME/bin/run.sh -Djboss.server.log.threshold=INFO -c $1 >
jboss-$1-$4.out 2>&1 &
else
- $JBOSS_HOME/bin/run.sh -Djboss.server.log.threshold=INFO -c $1
-Djboss.service.binding.set=ports-0$3 -Djboss.messaging.ServerPeerID=$3
&> "jboss-$1-$4.out"&
+ $JBOSS_HOME/bin/run.sh -Djboss.server.log.threshold=INFO -c $1
-Djboss.service.binding.set=ports-0$3 -Djboss.messaging.ServerPeerID=$3 >
jboss-$1-$4.out 2>&1 &
fi
export jbosspid=$!
echo "Starting app server. The pid for $2 is $jbosspid and other options
ports are $3 config is $4"