This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Automatically shutdown Tomcat6.0.35 server" Watch "Automatically shutdown Tomcat6.0.35 server" New topic
Author

Automatically shutdown Tomcat6.0.35 server

Tapan Prajapati
Greenhorn

Joined: Mar 05, 2010
Posts: 27
Hii,

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
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

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).


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
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.

Bill
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 | krenu@infocepts.com | www.infocepts.com
-------------------------------------------------------------------------------------
 
 
subject: Automatically shutdown Tomcat6.0.35 server
 
Similar Threads
Tomcat shutting down automatically
servlet closing
tomcat finding files
tomcat keeping shuting down
tomcat connection