使用tomcat7部署应用程序时出现问题

时间:2014-01-31 15:54:21

标签: java spring tomcat7

我正在尝试在运行ubuntu12的tomcat7中使用spring部署应用程序。当我将war文件放在webapps目录中时,会为webapps中的应用程序创建目录 - 但是应用程序没有加载。最新问题复制如下。任何有关解决此问题的想法将不胜感激。

生成war文件的计算机上的Java版本与我部署应用程序的版本相同。我没有看到文件权限问题 - tomcat7中有一个logging.properties文件。

Jan 31, 2014 10:43:05 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Jan 31, 2014 10:43:05 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/test-webapp] startup failed due to previous errors
Jan 31, 2014 10:43:05 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/test-webapp] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.

更新: 我错过了一条错误消息。我很快就会更新这张票。

更新: 我在tomcat中缺少一个用于应用程序部署的文件 - 导航错误。感谢大家分享他们的想法 - 非常感谢!

1 个答案:

答案 0 :(得分:1)

它看起来像tomcat上已知的MySQL问题,您是否尝试了

中的任何建议解决方案

http://bugs.mysql.com/bug.php?id=69526

http://bugs.mysql.com/bug.php?id=68556