Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat window closes on startup

 
Abhijeet Rawle
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the same directory, use:
catalina start

The dos window will stay open.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
go through this link
http://www.coderanch.com/t/84624/Tomcat/Having-running-tomcat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic