tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: How to: Tomcat 5.0.16 as Windows Service
Date Tue, 23 Dec 2003 06:50:54 GMT
Thanks for the script, Bill.  I've been looking for something that actually 
works and this finally does....almost....

The script is missing one important thing.  It doesn't include 
%JAVA_HOME%\lib\tools.jar in the --ImagePath which causes JSP compilation 
to fail.  Attached is a modified script that fixes that and adds and adds some -Xms and -Xmx stuff.  BTW, I tried adding 
-server, but the service wouldn't start when it was added.  Any idea 
why?  How else do I specify Tomcat to use the -server JVM rather than the 
default -client?


At 08:47 PM 12/22/2003 -0800, you wrote:
>One of the other developers added the attached .bat file to make it easier
>to install as a service (I renamed the attachment to '.txt', since a lot of
>mail servers strip '.bat' attachments :).  rename it back to '.bat', and see
>if it help.
>   Usage: service.bat install/remove [service_name]
>service_name defaults to Tomcat5 if not specified.
>"Merrill Cornish" <> wrote in message
> > Bill,
> >
> >    Yes, I should have thought of the --StdOutFile and --StdErrorFile
>arguments.  However, specifying them does no good.  The files are created,
>but they are empty.
> >
> > Merrill
>To unsubscribe, e-mail:
>For additional commands, e-mail:

View raw message