Tomcat Startup Server Not Working
I installed tomcat but when I cd into the tomcat directory and run startup.bat I just get the following output below. Usually tomcat says "INFO: Server startup in 12345 ms" but now it only outputs the paths below and brings me back to the command prompt.
I've checked my classpaths and they are listed below. What else could be wrong with this?
C:\Software\apache-tomcat-6.0.29\bin>startup.bat
Using CATALINA_BASE: "C:\Software\apache-tomcat-6.0.29"
Using CATALINA_HOME: "C:\Software\apache-tomcat-6.0.29"
Using CATALINA_TMPDIR: "C:\Software\apache-tomcat-6.0.29\temp"
Using JRE_HOME: "C:\jdk1.6.0_13\jre"
Using CLASSPATH: "C:\Software\apache-tomcat-6.0.29\bin\bootstrap.jar"
C:\Software\apache-tomcat-6.0.29\bin>
Update: after the message above, another cmd opens up quickly and closes and it closes too fast for me to read. I believe that is the bootstrap.jar. So the question is why is bootstra开发者_如何转开发p.jar failing?
I had the similar problem, but in my case CATALINA_HOME looks like "C:\Software\apache-tomcat-6.0.29\" (ends with a back slash). I had removed back slash from CATALINA_HOME and tomcat have became to work.
This happened to me. For me it was because the Tomcat files I downloaded were the source code files, not the binary dist.
精彩评论