When you start tomcat with the startup.bat file, the dos window will disappear.
Chintan Rajyaguru
Ranch Hand
Joined: Aug 19, 2001
Posts: 341
posted
0
Try opening a command prompt window. Change to the bin directory of Tomcat installation. Issue a dir command to make sure you see the startup batch file. Issue startup comman to run this batch file. This way the window will NOT disappear and you will be able to see the actual problem. Most likely the problem is due to one or more of the following: 1. Java home is not set right 2. You have some server running on the port Tomcat is trying to use (most likely port 8080)
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
1
posted
0
When you start tomcat with the startup.bat file, the dos window will disappear.
I believe that is only true if you doubleclick on startup.bat - if you use a command window it stays open. The default startup.bat does some checking for environment variables, then runs catalina.bat in a new window - it is this window that pops up and disappears, taking useful information about what happened with it. In order to see the exception information, change the last executable line of startup.bat to:
with "run" instead of "start" Bill
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.