Start Tomcat in same command prompt
About this task
By default, Tomcat starts up in a new window. If Tomcat encounters startup errors, the new window often closes automatically far too quickly for you to read any error messages in it. To run Tomcat from the same command prompt in which you entered the startup command, perform the following steps:
Procedure
-
Locate the line in the script that runs Tomcat:
startup.bat: call "%EXECUTABLE%" start %CMD_LINE_ARGS% -
Change the
startoption in the command torun. -
Save the script, and then run the script again.
Tomcat then runs in the same command window, which you can use to view any error messages.
