This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 12769
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
Consider Paul's rocket mass heater.
subject: tomcat window closes on startup