在tomcat bin里面有个catalina.bat
if not "%SECURITY_POLICY_FILE%" == "" goto doSecurity %_EXECJAVA% -verbose:class %JAVA_OPTS% %CATALINA_OPTS% %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION% goto end
|
加入 -verbose:class.
可以看到启动时类的加载.
阅读(1576) | 评论(0) | 转发(0) |