@echo off

call env.bat

title Jakarta Tomcat (catalina.home=%CATALINA_HOME%)

cd %CATALINA_HOME%

%JAVA_HOME%/bin/java -server -Xmx128M ^
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n ^
-Dcatalina.home=%CATALINA_HOME% ^
-Dcatalina.base=%CATALINA_HOME% ^
-Djava.endorsed.dirs=%CATALINA_HOME%/common/endorsed ^
-Djava.io.tmpdir=%CATALINA_HOME%/temp ^
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager ^
-Djava.util.logging.config.file=%CATALINA_HOME%/conf/logging.properties ^
org.apache.catalina.startup.Bootstrap start

rem -Djavax.net.ssl.trustStore=../db/xml/aa/tomcat/.keystore ^
rem -Djavax.net.ssl.trustStorePassword=changeit ^
rem -Dnyx.home=../ ^
