tomcat批处理最后执行命令

D:\apache-tomcat-6.0.14\bin>startup.bat
Using CATALINA_BASE:   D:\apache-tomcat-6.0.14
Using CATALINA_HOME:   D:\apache-tomcat-6.0.14
Using CATALINA_TMPDIR: D:\apache-tomcat-6.0.14\temp
Using JRE_HOME:        C:\Java\jdk1.5.0_16
start "Tomcat" "C:\Java\jdk1.5.0_16\bin\java"  -Djava.util.logging.manager=org.a
pache.juli.ClassLoaderLogManager -Djava.util.logging.config.file="D:\apache-tomc
at-6.0.14\conf\logging.properties"   -Djava.endorsed.dirs="D:\apache-tomcat-6.0.
14\endorsed" -classpath "C:\Java\jdk1.5.0_16\lib\tools.jar;D:\apache-tomcat-6.0.
14\bin\bootstrap.jar" -Dcatalina.base="D:\apache-tomcat-6.0.14" -Dcatalina.home=
"D:\apache-tomcat-6.0.14" -Djava.io.tmpdir="D:\apache-tomcat-6.0.14\temp" org.ap
ache.catalina.startup.Bootstrap  start

注:从中我们可以看到,其实启动tomcat就是一个
java -D -classpth org.apache.catalina.startup.Bootstrap  start
过程,设置资源,设置classpath,然后启动org.apache.catalina.startup.Bootstrap这个类的主方法main方法,带参数start

你可能感兴趣的:(java,apache,tomcat,C++,c)