help with JavaService - TechRepublic
General discussion
June 20, 2003 at 01:21 AM
prancervoid

help with JavaService

by prancervoid . Updated 23 years ago

below is my .bat file to install JavaService (as provided by (http://www.alexandriasc.com/software/JavaService/index.html). However, i am unable to add additional .jar files to classpath, other than tomcat.jar.
running on Win2k, Tomcat 3.3.1a, JDK1.2
how can .jar/.zip files be added to classpath for this java service?

set CP=%TOMCAT_HOME%\lib\tomcat.jar
echo %CP%
JavaService.exe -install “Jakarta-Tomcat” %java_home%\jre\bin\classic\jvm.dll -Djava.class.path=%CP% -Dtomcat.home=%TOMCAT_HOME% -Djava.security.policy=%TOMCAT_HOME%/conf/tomcat.policy -Xms128m -Xmx128m -start org.apache.tomcat.startup.Main -params start -stop org.apache.tomcat.startup.Main -params stop -out %TOMCAT_HOME%\logs\stdout.log -err %TOMCAT_HOME%\logs\stderr.log

This discussion is locked

All Comments