Please ensure that James server is compiled
before trying to build the spring deployment. Please note that 'dist' must be
run at least once before 'lite' can be run.
${phoenix-deployment.build.lib.jar}
/dev/null 2>/dev/null
then
echo "Already Running!!"
exit 1
fi
fi
echo "START `date`" >> $JAMES_CONSOLE
nohup sh -c "exec $JAMES_CMD >>$JAMES_CONSOLE 2>&1" >/dev/null &
echo $! > $JAMES_PID
echo "James pid="`cat $JAMES_PID`
@@SEMI_COLON@@@@SEMI_COLON@@
restart)
$0 stop $*
sleep 5
$0 start $*
@@SEMI_COLON@@@@SEMI_COLON@@
stop)
PID=`cat $JAMES_PID 2>/dev/null`
echo "Shutting down James: $PID"
kill $PID 2>/dev/null
sleep 5
kill -9 $PID 2>/dev/null
rm -f $JAMES_PID
echo "STOPPED `date`" >>$JAMES_CONSOLE
@@SEMI_COLON@@@@SEMI_COLON@@
*)
echo 'Booting James'
if [ -f $JAMES_PID ]
then
echo "James is already running"
exit 1
fi
exec $JAMES_CMD
@@SEMI_COLON@@@@SEMI_COLON@@
esac
]]>
java -cp ${exe-classpath};../conf org.apache.james.container.spring.Main