Two Laptop Bag
The moose likes Tomcat and the fly likes tomcat window closes on startup 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 "tomcat window closes on startup" Watch "tomcat window closes on startup" New topic

tomcat window closes on startup

Abhijeet Rawle

Joined: Sep 29, 2004
Posts: 2
hi!having problem in running tomcat.when i run startup.bat, the tomcat windows closes. as a result am not able to check nething using System.println on the console window. can i get a list of environment variables or parameters in startup.bat?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

From the same directory, use:
catalina start

The dos window will stay open.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13027
Alternate solution if you have to use startup.bat - have the final executable line in startup.bat use run instead of start.

anupa oru
Ranch Hand

Joined: Jan 15, 2005
Posts: 118
go through this link
I agree. Here's the link:
subject: tomcat window closes on startup
It's not a secret anymore!