Posts

Showing posts from September, 2015

Tomcat Debug Cannot Startup

Image
Today I download the Windows binary version of the Apache Tomcat , after I follow the guide to install the tomcat , when I using the command line startup.bat the tomcat, a command prompt out then close automatically. while the command prompt only show this. Another command prompt is come out but exit automatically and the Apache tomcat Server is not start which test it using the browser key in localhost:8080, but turns out is connection timeout. I look through the startup.bat and found that it call catalina.bat with no arguments. The catalina.bat is too long , very lazy to look at it. I try to google it the way to stop the pop up command prompt close. Ok , no more story straight to the solution: 1) Type in "catalina.bat run" at the bin directory of your apache tomcat folder.(or in baby step type in "C:\tomcat\bin\catalina.bat run" replace the tomcat with the name of your Apache directory) 2) Then it come out the logs cannot create logs  org.a