Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Automatically shutdown Tomcat6.0.35 server

 
Tapan Prajapati
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
-------------------------------------------------------------------------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic