Here you go:

1.  Set up CATALNA_HOME environment variable pointing to your install of 
Tomcat-4.1.12
2.  Set up CATALNIA_OPTS with the value something like "-server -Xms128m 
-Xmx512m"

3. Open up a *new* command prompt (because currently open ones won't 
contain the system vars you just added) and past in the following:

%CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina 
%JAVA_HOME%\jre\bin\server\jvm.dll 
-Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar 
-Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start 
org.apache.catalina.startup.BootstrapService -params start -stop 
org.apache.catalina.startup.BootstrapService -params stop -out 
%CATALINA_HOME%\logs\stdout.log -err %CATALINA_HOME%\logs\stderr.log

To Uninstall Catalina Service use:

%CATALINA_HOME%\bin\tomcat.exe -uninstall Apache-Catalina


NOTE:  make sure that you email client didn't add carriage returns.  There 
should be no hard breaks in any of the above, only spaces.  If there are 
hard breaks, copy it into an editor, remove the carriage returns, copy it 
again, and paste it to the command prompt.

You should get a message saying that the task was installed successfully.

4. Now open the services applet and start Apache-Catalina

Jake


At 02:57 PM 10/14/2002 -0400, you wrote:
>Hi --
>
>I saw a lot of docs on setting up TomCat 3.x as an NT service.  Many said
>there was a bug when using JDK1.3.1 (the service would close when user
>logged out)
>
>I was wondering if there was any info / how-tos on getting TomCat 4.1.12
>(with JDK 1.4.1) set up as an NT Service.
>
>Thanks
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to