I just set up 4.1.18 as a service on win2k this morning. The batch file is below.
The section that begins with "set createCmd=" should all be one line. Not sure how that will format with this email client. Anyway, you can probably carve out a similar script that will work for you. To remove, I just do this (again, one line): d:\java\jakarta-tomcat-4.1.18-LE-jdk14\bin\tomcat.exe -uninstall "ngts" === @setlocal @echo off cls set CATALINA_OPTS=-Djava.class.path=D:\java\jakarta-tomcat-4.1.18-LE-jdk14\bin\bootstrap.jar;D:\java\j2sdk1.4.1_01\lib\tools.jar set CATALINA_OPTS=%CATALINA_OPTS% -Dcatalina.base=D:\ngts\catalina_base set CATALINA_OPTS=%CATALINA_OPTS% -Dcatalina.home=%CATALINA_HOME% set createCmd=D:\java\jakarta-tomcat-4.1.18-LE-jdk14\bin\tomcat.exe -install "ngts" D:\java\j2sdk1.4.1_01\jre\bin\client\jvm.dll %CATALINA_OPTS% -start org.apache.catalina.startup.BootstrapService -params start -stop org.apache.catalina.startup.BootstrapService -params stop -out D:\ngts\catalina_base\out.txt -err D:\ngts\catalina_base\err.txt echo %createCmd% %createCmd% === Larry -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
