Capture Tomcat Error Messages
Sometimes an error message appears in Tomcat but the window disappears too quickly to be able to read it. If this happens, you can modify the catalina.bat
file to solve this problem. Open catalina.bat
in a text editor and search for the following command:
set _EXECJAVA=start "%TITLE%" %_RUNJAVA%
remove this line and add the following instead:
set _EXECJAVA=%_RUNJAVA%