instance2.sh | instance2.sh | |||
---|---|---|---|---|
#!/bin/sh | #!/bin/sh | |||
# Change this to your JDK installation root | # Change this to your JDK installation root | |||
# | # | |||
#JAVA_HOME=/usr/java/j2sdk1.4.0_01 | #JAVA_HOME=/usr/java/jdk1.6.0_18 | |||
JRE=$JAVA_HOME/jre | if [ "$JAVA_HOME" == "" ]; then | |||
JAVA=$JRE/bin/java | echo "Please set JAVA_HOME" | |||
exit 1 | ||||
fi | ||||
workdir=`dirname $0` | workdir=`dirname $0` | |||
workdir=`cd ${workdir} && pwd` | workdir=`cd ${workdir} && pwd` | |||
QUARTZ=${workdir}/../.. | QUARTZ=${workdir}/../.. | |||
. ${QUARTZ}/examples/bin/buildcp.sh | . ${QUARTZ}/examples/bin/buildcp.sh | |||
# | # | |||
# Set the path to your Terracotta server home here | # Set the path to your Terracotta server home here | |||
TC_HOME=${workdir}/../../.. | TC_HOME=${workdir}/../../.. | |||
skipping to change at line 40 | skipping to change at line 42 | |||
TC_CP=$TC_CP:$jarfile | TC_CP=$TC_CP:$jarfile | |||
done | done | |||
QUARTZ_CP=$QUARTZ_CP:$TC_CP | QUARTZ_CP=$QUARTZ_CP:$TC_CP | |||
LOGGING_PROPS="-Dlog4j.configuration=file:${workdir}/log4j.xml" | LOGGING_PROPS="-Dlog4j.configuration=file:${workdir}/log4j.xml" | |||
# Set the name and location of the quartz.properties file | # Set the name and location of the quartz.properties file | |||
QUARTZ_PROPS="-Dorg.quartz.properties=${workdir}/instance2.properties" | QUARTZ_PROPS="-Dorg.quartz.properties=${workdir}/instance2.properties" | |||
$JAVA -classpath $QUARTZ_CP $QUARTZ_PROPS $LOGGING_PROPS org.quartz.example s.example15.ClusterExample dontScheduleJobs | $JAVA_HOME/bin/java -classpath $QUARTZ_CP $QUARTZ_PROPS $LOGGING_PROPS -Dtc .install-root=$TC_HOME org.quartz.examples.example15.ClusterExample dontSch eduleJobs | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 5 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |