jivejdon中catalina.bat配置

14-04-29 tianhandigeng

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>

tomcat6.0.39

[该贴被tianhandigeng于2014-04-29 17:25修改过]

猜你喜欢