This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12675
    
    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
 
Similar Threads
Deploying Servlet in Tomcat 5.0
problem with tomcat server console
apache-tomcat-6.0.10 startup error
How to check Tomcat Exceptions?
Problem in starting Tomcat.