File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes tomcat service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat service" Watch "tomcat service" New topic

tomcat service

TomTom Lee

Joined: Jun 15, 2007
Posts: 8
Hi all...

I currently have TomCat set up so that each of my webapps has its own separate TomCat windows service (its own conf folder, conf files, and ports). They all work fine, but one of them does not stop properly. When I right click and stop the service, the dialog box hangs and then times out. However, the tomcat executable does die somewhere along the way, and for all intensive purposes, the webapp is stopped. But for some reason, the windows service manager thing thinks the webapp is still alive. When I try to stop the service with the "sc" command, I get an error and a weird message that says "The pipe has been ended." Does anyone know what is going on?

Thanks alot
Ilari Moilanen
Ranch Hand

Joined: Apr 15, 2008
Posts: 199
Are the shutdown ports all different from each other for all your Tomcat instances?

Can you show what is written in Tomcat logs when the shutdown command is executed?
TomTom Lee

Joined: Jun 15, 2007
Posts: 8
Yeah all the ports are different. The log files don't show anything. They just say things like "Stopping Service..." and then instead of saying "Service stopped successfully", it just ends.

I agree. Here's the link:
subject: tomcat service
It's not a secret anymore!