This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Automatically shutdown Tomcat6.0.35 server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Automatically shutdown Tomcat6.0.35 server" Watch "Automatically shutdown Tomcat6.0.35 server" New topic

Automatically shutdown Tomcat6.0.35 server

Tapan Prajapati

Joined: Mar 05, 2010
Posts: 27

i am using windows Vista 32 bit Business version , i installed Tomcat 6.0.35 successfully and now when i run the Tomcat server from <Tomcat_Home>\bin\Tomcat6.0.exe then it started and automatically shutdown. How to make my server in running mode ..?
Rob Spoor

Joined: Oct 27, 2005
Posts: 20193

If you've installed Tomcat using the installer it has installed itself as a Windows service. Just check your Services list (type in "services" in the start menu entry box).

How To Ask Questions How To Answer Questions
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
If you installed Tomcat from the zip file - as an application, not a service - it must be started by running the startup.bat file - use a command prompt window from the tomcat bin directory. The reason you cant start by directly executing the exe is that the bat files set up important environment variables.

Komal Renu
Ranch Hand

Joined: Jul 21, 2011
Posts: 51
Also, once you start up the server using startup.bat, and if the issue still occurs, then you might want to check if port 8080 which is used by default for tomcat, is not in use.
If it is then you can either free the port or configure your tomcat server to point to a different port.

Thanks and Regards,
Komal Renu | |
I agree. Here's the link:
subject: Automatically shutdown Tomcat6.0.35 server
It's not a secret anymore!