This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 12999
    
    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
 
Have you checked out Aspose?
 
subject: tomcat window closes on startup
 
It's not a secret anymore!