wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Tomcat not starting on running startup.bat 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 "Tomcat not starting on running startup.bat" Watch "Tomcat not starting on running startup.bat" New topic

Tomcat not starting on running startup.bat

Ankur Gargg
Ranch Hand

Joined: Sep 11, 2011
Posts: 55

Hi Ranchers

I am running tomcat 6 on windows x86.

I set JAVA_OPTS=-Xmx2048m in catalina.bat.

However after doing the changes and trying to start the server by running startup.bat the server did not start.

Am I missing anything?

Ankur Garg

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12756
Probably an error is being reported in a command prompt window which opens and closes before you can see it.

Change the last executable line in startup bat to use run instead of start and execute startup.bat from the command line of a command prompt window so the errors will appear in an open window.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Tomcat not starting on running startup.bat
Similar Threads
JWS and Tomcat together
how to start Websphere 5.0 server
Tomcat startup.bat command not working
tomcat window closes on startup
Deploying Servlet in Tomcat 5.0