我试过运行Tomcat6。 它总是抛出以下异常:
....
09:16:13,968 [main] INFO - SchemaUpdate | HHH000232: Schema update complete
Aug 25, 2014 9:16:15 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Aug 25, 2014 9:16:15 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/myapp] startup failed due to previous errors
Aug 25, 2014 9:16:15 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/myapp] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2014 9:16:15 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/myapp] appears to have started a thread named [File Reaper] but has failed to stop it. This is very likely to create a memory leak.
Aug 25, 2014 9:16:16 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Aug 25, 2014 9:16:16 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10494 ms
我使用了以下
我已经将我的jbdc从{app_home} / lib删除到{tomcat_home} / lib,然后重新启动Tomcat,就像我在To prevent a memory leak, the JDBC Driver has been forcibly unregistered中看到的那样
不幸的是,错误仍然存在。
我收到错误后 我可以去tomcat主页但是在尝试使用tomcat 6管理器界面启动myapp之后我收到了这条消息:
"FAIL - Application at context path /myapp could not be started"
我无法访问myapp服务器主页
如何解决此问题?
提前致谢。
earist。
答案 0 :(得分:0)
在SEVERE的情况下:由于先前的错误,Context [/ myapp]启动失败 catilina.out中没有关于错误的日志,但您可以在localhost。*日志文件中找到一些日志。
从tomcat的日志文件夹中删除今天日期的localhost。*日志文件,并尝试再次启动tomcat,同时尾随localhost日志文件。你将在这个问题上取得一些领先。
答案 1 :(得分:0)
我发现这是我的错。 Tomcat正常启动。
问题是我没有位置路径的权限。 该位置用于存储我的应用程序的一些数据。
感谢。