jivejdon中catalina.bat配置

tianhandigeng發表於2014-04-29

if not "%LOGGING_CONFIG%" == "" goto noJuliConfig
set LOGGING_CONFIG=-Dnop
if not exist "%CATALINA_BASE%\conf\logging.properties" goto noJuliConfig
set LOGGING_CONFIG=-Djava.util.logging.config.file="%CATALINA_BASE%\conf\logging.properties"
:noJuliConfig
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%  -Djava.awt.headless=true -Djava.security.auth.login.config=%CATALINA_BASE%/conf/jaas.config
set JAVA_OPTS=%JAVA_OPTS% -Xms100m -Xmx100m

if not "%LOGGING_MANAGER%" == "" goto noJuliManager
set LOGGING_MANAGER=-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
:noJuliManager
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%
 -Djava.security.auth.login.config=%CATALINA_BASE%/conf/jaas.config

rem ----- Execute The Requested Command ---------------------------------------
set JAVA_OPTS=%JAVA_OPTS% -Djava.security.auth.login.config=%CATALINA_BASE%/conf/jaas.config

<p class="indent">


tomcat6.0.39

[該貼被tianhandigeng於2014-04-29 17:25修改過]

相關文章