tterminator 2012-03-19
#/bin/sh
#JAVA_HOME=$JAVA_HOME
#echo $$ >$CAPAA_HOME/source/.java_process
LOGFILE=$CAPAA_HOME/log/javaagent_stat.log
echo "`date +%Y%m%d/%H:%M:%S` : Start Java Agent" >> $LOGFILE
PATH=$PATH
echo "`date +%Y%m%d/%H:%M:%S` : Start Java Agent "
CLASSPATH=$CAPAA_HOME/lib/ibatis-2.3.4.726.jar:$CAPAA_HOME/lib/icu4j-4_0_d02.jar:$CAPAA_HOME/lib/capaa-agent.jar:$CAPAA_HOME/lib/commons-codec-1.1.jar:$CAPAA_HOME/lib/commons-lang-2.1.jar:$CAPAA_HOME/lib/jasypt-1.6.jar:$CAPAA_HOME/lib/log4j-1.2.15.jar:$CAPAA_HOME/lib/ojdbc14.jar:$CAPAA_HOME/config/
java -classpath $CLASSPATH com.capaa.agent.main.AgentMain >>$LOGFILE|echo $$ >$CAPAA_HOME/source/.java_process
#java -classpath $CLASSPATH com.capaa.agent.main.AgentMain