How to: Tomcat 5.0.16 as Windows Service 2003-12-22 - By Bill Barker
Back Assuming that you haven't already, you could try setting '--StdOutputFile' and especially '--StdErrorFile' to help you debug your config. Alternatively, you could try: tomcatw //GT//Tomcat5 and see if any messages show up in the log when you right-click on the icon.
"Merrill Cornish" <merrill.cornish@(protected)> wrote in message news:24959172.1072056678015.JavaMail.root@(protected) > OK, I'm answering myself. > > The first time I saw that page of jakarta.apache.org and tried it, it didn't work. I tried again just now, and the command line command did seem to work (although it looks like it's over the 256 byte limit). The result is a Tomcat entry in the services list, set for automatic, but not started. When I use the services display to start it, Windows claims that Tomcat starts and then immediately stops. > > There are no entries in the logs and on entries in the OS events viewer, so I have no idea of what it didn't like. I can still start and stop Tomcat in standalone mode. (I attempted the service install without any other form of Tomcat running.) > > With the service apparently installed, entering > > tomcat //TS//Tomcat5 > > doesn't appear to fail, but it doesn't appear to do anything either. Entering > > tomcat //DS//Tomcat5 > > does uninstall the service (as verified in the services display) as advertised. > > > Is there any way of determining what is preventing the Tomcat service from running. (BTW, I did enter fully qualified pathnames in the //IS//Tomcat5 command line). > > Merrill
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected) For additional commands, e-mail: tomcat-user-help@(protected)
|
|