반응형
export JAVA_HOME=/home/user/jdk1.5.0_22
export USER_HOME=/home/user/apache-tomcat-5.5.36/webapps/ROOT/WEB-INF
export CLASSPATH=.:$USER_HOME/lib/ojdbc14.jar:$USER_HOME/lib/activation-1.1.jar
EXEC_NAME=ServiceName
PROC=`ps -ef | grep $EXEC_NAME | grep -v grep`
if [ "$PROC" != "" ];
then
echo "processing."
else
echo "not processed."
cd $USER_HOME/services/SoapTran/
$JAVA_HOME/bin/java -cp $CLASSPATH -classpath $CLASSPATH java_class_pack.$EXEC_NAME $1
fi