55httpd_remove
66tomcat_all_remove
77
8- MPC_NAME=MODCLUSTER-736
98# We must shift tomcat ports so that they do not collide with proxy
109PORT=9000
1110SHUTDOWN_PORT=7005
1211
13- httpd_start
12+ MPC_NAME=MODCLUSTER-736 httpd_start
1413
1514# Start a bunch ($1, or 6 if no argument is given) of tomcat
1615# containers, then test them and stop them
@@ -23,7 +22,7 @@ runtomcatbatch() {
2322
2423 for i in $( seq $t 10) ;
2524 do
26- tomcat_start $i
25+ MPC_NAME=MODCLUSTER-736 tomcat_start $i
2726 done
2827
2928 tomcat_count=$( expr 3 + 11 - $t )
@@ -80,7 +79,7 @@ runtomcatbatch() {
8079singlecycle () {
8180 echo " singlecycle: Testing tomcat$1 "
8281 R=$1
83- tomcat_start $1 || exit 1
82+ MPC_NAME=MODCLUSTER-736 tomcat_start $1 || exit 1
8483
8584 # Wait for it to start
8685 echo " Testing(0) tomcat$1 waiting..."
@@ -194,9 +193,9 @@ cyclestomcats() {
194193# basically start and stop random tomcats...
195194runmodcluster736 () {
196195 # start 3 tomcats
197- tomcat_start 2
198- tomcat_start 3
199- tomcat_start 4
196+ MPC_NAME=MODCLUSTER-736 tomcat_start 2
197+ MPC_NAME=MODCLUSTER-736 tomcat_start 3
198+ MPC_NAME=MODCLUSTER-736 tomcat_start 4
200199 tomcat_wait_for_n_nodes 3 || exit 1
201200 # check them
202201 tomcat_start_webapp 2 || exit 1
@@ -231,7 +230,7 @@ runmodcluster736() {
231230 exit 1
232231 fi
233232 tomcat_remove 2
234- tomcat_start 5
233+ MPC_NAME=MODCLUSTER-736 tomcat_start 5
235234
236235 tomcat_wait_for_n_nodes 3
237236 if [ $? -ne 0 ]; then
@@ -251,7 +250,7 @@ runmodcluster736() {
251250 fi
252251 # we have 5 3 4 in shared memory
253252 # read 2
254- tomcat_start 2
253+ MPC_NAME=MODCLUSTER-736 tomcat_start 2
255254 tomcat_wait_for_n_nodes 4
256255 if [ $? -ne 0 ]; then
257256 echo " tomcat_wait_for_n_nodes 4: runmodcluster736 Failed!"
0 commit comments