简体   繁体   English

使用tomcat7部署应用程序的问题

[英]Issue with deploying application using tomcat7

I am trying to deploy an application using spring in tomcat7 running on ubuntu12. 我正在尝试在ubuntu12上运行的tomcat7中使用spring部署应用程序。 When I drop the war file in the webapps directory, the directory is created for the application inside webapps - yet the application does not load up. 当我将war文件放到webapps目录中时,将为webapps内的应用程序创建目录-但该应用程序未加载。 Latest issue is copied below. 最新一期复制到下面。 Any thoughts on troubleshooting this will be appreciated. 关于排除故障的任何想法将不胜感激。

Java versions are the same on the computers where the war file was generated vs the one where I am deploying the application. Java版本在生成war文件的计算机上与我在其中部署应用程序的计算机上相同。 I do not see a file permission issue - there is a logging.properties file in tomcat7. 我没有看到文件权限问题-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.

Update: I missed an error message. 更新:我错过了一条错误消息。 I will update this ticket shortly. 我将尽快更新这张票。

Update: I was missing a file in tomcat meant for the application deployment - pilot error. 更新:我在tomcat中缺少一个用于应用程序部署的文件-试验错误。 Thanks to everyone for sharing their thoughts- much appreciated! 感谢大家分享他们的想法-非常感谢!

It looks like a known issue of MySQL over tomcat, have you tried yet any of the suggested solutions in 它看起来像是MySQL在tomcat上的已知问题,您是否尝试过以下任何建议的解决方案?

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

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

?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM