tomcatserver.bat
上传用户:aonuowh
上传日期:2021-05-23
资源大小:35390k
文件大小:1k
- call setallEnv.bat
- cd ..
- rem This batch file starts a web server
- rem Please make sure you have set the java home directory,
- rem For example: If jdk1.2 is installed in your machine
- rem in the C:jdk1.2 directory then set JAVA_HOME_DIR=C:jdk1.2
- rem set JAVA_HOME=c:jdk1.2
- set CLASSPATH=%SNMP_HOME%classes
- set classpath=.;%SNMP_HOME%jarsAdventNetSnmp.jar;%SNMP_HOME%jarsAdventNetLogging.jar;%SNMP_HOME%jarsAdventNetHttpMibBrowser.jar;%SNMP_HOME%tomcatlibANT.JAR;%SNMP_HOME%tomcatlibJAXP.JAR;%SNMP_HOME%tomcatlibSERVLET.JAR;%SNMP_HOME%tomcatlibPARSER.JAR;%SNMP_HOME%tomcatlibWEBSER~1.JAR;%SNMP_HOME%tomcatlibJASPER.JAR;%JAVA_HOME%libtools.jar;%CLASSPATH%
- java -Dtomcat.home=%SNMP_HOME%tomcat StartServer -class org.apache.tomcat.startup.Tomcat