Archive for December, 2008

Tomcat startup window disappears ?

December 31, 2008

There are times when you start tomcat and suddenly the black little window that shows the status of the server, disappears, and you are like “hey wait, where did that window disappear ?”. You do this cycle a zillion times and still the black little window just appears and disappears, more or less like my salary 🙂

You were so far probably using startup.bat or wttomcat_start to start tomcat.
Here is what you can do so you can make that window start.
at the command line, am sure you know what that means, tab into the bin of tomcats and type: catalina.bat run
this will ensure that the window stays and shows you what the error was which was causing the window to disappear, wait, what did you think, the window just like that disappeared or what ?
Only in case your catalina.bat file doesnt exist for some reason then, edit tomcat/bin/startup.bat in one of the last lines change the keyword “start” to “run”.  Then run startup.bat

hope this was of some help to you