Hi,

> -----Original Message-----
> From: Tom Bednarz [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 23, 2002 6:35 PM
> To: [EMAIL PROTECTED]
> Subject: Sources for Tomcat 4.0.1 Win32 Service
> 
> 
> Hi,
> 
> More specifically I currently have the following problem:
> I have uninstalled the service to re-install it with special JVM 
> parameters. If I execute tomcat /? I get the following help:
> 
> D:\Tomcat4.0\bin>tomcat /?
> To install a service:
>          -install service_name jvm_library (jvm_option)*
>          -start start_class [-method start_method] [-params 
> (start_parameter)+]
>          [-stop start_class [-method stop_method] [-params 
> (stop_parameter)+]]
>          [-out out_log_file] [-err err_log_file]
>          [-current current_dir]
>          [-path extra_path]
> 
> To uninstall a service:
>          -uninstall service_name
> 
> Unfortunately I have no idea what the name of the start class is.  Also I 
> don't know if there are any more parameters.

Name of start class for me is org.apache.catalina.startup.BootstrapService,
it also a stop class too.
Here is me inst.bat for installing Tomcat as a service:
(all at one line)

@tomcat.exe -install Tom C:\jdk1.3\jre\bin\hotspot\jvm.dll 
-jvm_option -Djava.class.path=C:\tomcat.402b2\bin\bootstrap.jar 
-jvm_option -Dcatalina.home=C:\tomcat.402b2 -start 
org.apache.catalina.startup.BootstrapService 
-params start -stop org.apache.catalina.startup.BootstrapService 
-params stop -out C:\tomcat.402b2\logs\service.out -err 
C:\tomcat.402b2\logs\service.err

> I guess I should call something like:
> tomcat -install "Apache Tomcat 4.0" 
> "d:\javasoft\jre131\bin\hotspot\jvm.dll" "-Xms64M -Xmx512MB" 
> -start < LOTS 
> OF PARAMETERS I DON'T KNOW!!!!>
> 

You still can add -X or -server options but they should be after -jvm_option.

> Is there anywhere some documentation on this or can anybody help me?
> 
> Many thanks for your help!
> 
> Thomas
> 

Hope it helps.
Anton.

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to