aspose file tools*
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 Spring in Action 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
Author

tomcat window closes on startup

Abhijeet Rawle
Greenhorn

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
Sheriff

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
Rancher

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


Bill
anupa oru
Ranch Hand

Joined: Jan 15, 2005
Posts: 118
hi,
go through this link
http://www.coderanch.com/t/84624/Tomcat/Having-running-tomcat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat window closes on startup