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 Wed, 24 Dec 2003 03:50:17 GMT

I'm also seeing the behavior or no stdout or stderr output under Win2k, 
although it seems to work fine on my XP box.  Weird.  Anyway, I'd recommend 
uninstalling Tomcat5 and getting the .zip distribution.  Just unzip it to a 
directory, set CATALINA_HOME as appropriate and run this script 
again.  Spaces in paths cause no end in headaches for Java programs.  I 
avoid them like the plague.  Can't tell you much more than that.  This 
script (from Bill Barker, originally, of which I just made minor 
modifications) is the first one that allowed me to even start the service 
without error.  I had been using the old tomcat.exe from the 4.1.xx 
distributions up until now.


At 06:49 PM 12/23/2003 -0600, you wrote:
>I tried your batch file for installing Tomcat 5 as a Windows service.  I 
>had to edit it to put double quotes around %EXECUTABLE% since my Tomcat is 
>located under the \Program Files\ directory and the space in the pathname 
>was messing up the command line parsing.
>With my standalone Tomcat stopped, the batch file runs fine (i.e., no 
>output to STDERR, no error messages to STDOUT, ends by saying Tomcat is 
>installed), but the following error dialog pops up:
>Apache Process Runner
>Apache Process Runner has encountered a problem and needs to close.  We 
>are sorry for the inconvenience. ... Please tell Microsoft about this 
>problem. ... [Send Error Report]/[Don't Send]
>There is no Apache Tomcat5 service in the services list.
>I tried rebooting and running the batch file from a clean system, but the 
>same thing happened.  Any ideas?
>Merrill Cornish
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message