tomcatserver.sh
上传用户:aonuowh
上传日期:2021-05-23
资源大小:35390k
文件大小:1k
- # Please ensure that you have set the PATH variable before executing this script
- currDir=`pwd`
- CLASSPATH=
- export CLASSPATH
- . setallEnv.sh
- cd ..
- # Set the PATH
- PATH=${JAVA_HOME_DIR}/bin:${PATH}
- export PATH
- CLASSPATH=.:$SNMP_HOME/jars/AdventNetSnmp.jar:$SNMP_HOME/jars/AdventNetLogging.jar:$SNMP_HOME/jars/AdventNetHttpMibBrowser.jar:$SNMP_HOME/tomcat/lib/ant.jar:$SNMP_HOME/tomcat/lib/jaxp.jar:$SNMP_HOME/tomcat/lib/servlet.jar:$SNMP_HOME/tomcat/lib/parser.jar:$SNMP_HOME/tomcat/lib/webserver.jar:$SNMP_HOME/tomcat/lib/jasper.jar:$JAVA_HOME/lib/tools.jar:$CLASSPATH
- export CLASSPATH
- $JAVA_CMD -version
- $JAVA_CMD -Dtomcat.home=$SNMP_HOME/tomcat StartServer -class org.apache.tomcat.startup.Tomcat
- cd $currDir