My Tomcat 7.0.39 Windows 64bit would fail to start before it encountered the Findclass error described above. Increasing the log level verbosity revealed the JVM Tomcat was using on startup. In my case, it was using the default which incidentally was only a JRE install, not the JDK I had installed separately.
I aslo encountered the 'FindClass org/apache/catalina/startup/Bootstrap failed' error when running the Tomcat7 Windows service. However, Tomcat was able to start with no errors using the startup.bat file. Also, it's important to verify no other web server is listening on the default port, 8080. Reviewing the logging information associated with the startup.bat will reveal the classpath Tomcat is using with this startup approach.
Adding the tomcat-juli.jar to the Tomcat 7.0.39 Windows 64bit allowed the Windows service to startup fine (not required here: http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html). The classpath is a file system root derived reference so remember to use fully qualified paths when referencing jar files.
发布评论
评论(2)
Apache Tomcat 7.0.x 需要 Java 6。。
Java 5 很旧,Sun/Oracle 不再支持,并且根本无法与 Tomcat 7 一起使用。您需要升级。
Apache Tomcat 7.0.x requires Java 6. .
Java 5 is old and no longer supported by Sun/Oracle, and will not work at all with Tomcat 7. You need to upgrade.
我的 Tomcat 7.0.39 Windows 64 位在遇到上述 Findclass 错误之前将无法启动。增加日志级别的详细程度可以显示 Tomcat 在启动时使用的 JVM。就我而言,它使用的是默认值,顺便说一句,这只是一个 JRE 安装,而不是我单独安装的 JDK。
运行 Tomcat7 Windows 服务时,我也遇到了“FindClass org/apache/catalina/startup/Bootstrap failed”错误。但是,Tomcat 使用startup.bat 文件能够正常启动。此外,验证没有其他 Web 服务器正在侦听默认端口 8080 也很重要。查看与startup.bat 关联的日志记录信息将揭示 Tomcat 在此启动方法中使用的类路径。
将 tomcat-juli.jar 添加到 Tomcat 7.0.39 Windows 64 位允许 Windows 服务正常启动(此处不需要:http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html)。类路径是文件系统根派生的引用,因此请记住在引用 jar 文件时使用完全限定路径。
My Tomcat 7.0.39 Windows 64bit would fail to start before it encountered the Findclass error described above. Increasing the log level verbosity revealed the JVM Tomcat was using on startup. In my case, it was using the default which incidentally was only a JRE install, not the JDK I had installed separately.
I aslo encountered the 'FindClass org/apache/catalina/startup/Bootstrap failed' error when running the Tomcat7 Windows service. However, Tomcat was able to start with no errors using the startup.bat file. Also, it's important to verify no other web server is listening on the default port, 8080. Reviewing the logging information associated with the startup.bat will reveal the classpath Tomcat is using with this startup approach.
Adding the tomcat-juli.jar to the Tomcat 7.0.39 Windows 64bit allowed the Windows service to startup fine (not required here: http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html). The classpath is a file system root derived reference so remember to use fully qualified paths when referencing jar files.