amsfo revision 0a99555401a033704f1f171baab6db11fb5528f2
1347N/A# at opensso/legal/CDDLv1.0.txt.
1347N/A echo "restart $AM_SFO_RESTART"
1347N/A echo "cluster list $CLUSTER_LIST"
1347N/A if test -f $JMQ_PID_FILE ; then
1347N/A if test -f $JMQ_PID_FILE ; then
1347N/A echo " $JMQEXECUTABLE -bgnd $BROKER_OPTIONS -vmargs $BROKER_VM_ARGS -name $BROKER_INSTANCE_NAME -port $BROKER_PORT -cluster $CLUSTER_LIST"
1347N/A $JMQEXECUTABLE -bgnd $BROKER_OPTIONS -vmargs "$BROKER_VM_ARGS" -name $BROKER_INSTANCE_NAME -port $BROKER_PORT -cluster $CLUSTER_LIST &
1347N/A echo $_jmqpid > $JMQ_PID_FILE
export AM_SFO_RESTART
if test -f $AM_PID_FILE ; then
echo $amdb_status
echo "$AMEXECUTABLE -a $CLUSTER_LIST -u $USER_NAME -f $PASSWORDFILE -b $DATABASE_DIR $AMSESSIONDB_ARGS -m $CONF_FILE"
$AMEXECUTABLE -a $CLUSTER_LIST -u $USER_NAME -f $PASSWORDFILE -b $DATABASE_DIR $AMSESSIONDB_ARGS -m $CONF_FILE >> $LOG_DIR/amsessiondb.log &
_ampid=$!
echo $_ampid > $AM_PID_FILE
if test -f $AM_PID_FILE ; then
status=$?
if [ $status != 0 ]; then
_repeat=true
while [ $_repeat ]; do
sleep 2