2015-09-27 89 views
0

我有一個老的「webapp v2.3」應用程序,我已經在本地部署到Tomcat v6.0.44 但我無法將此應用程序部署到OpenShift Tomcat v6.0.44,我得到以下錯誤:OpenShift Tomcat應用程序部署啓動錯誤

C:\Users\username>rhc tail apps 
==> app-root/logs/jbossews.log <== 
SEVERE: The web application [/equip2call] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak. 
Sep 27, 2015 3:01:20 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 
SEVERE: The web application [/equip2call] appears to have started a thread named [Timer-1] but has failed to stop it. This is very likely to create a memory leak. 
Sep 27, 2015 3:01:20 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads 
SEVERE: The web application [/equip2call] appears to have started a thread named [Timer-2] but has failed to stop it. This is very likely to create a memory leak. 
[equip2call] INFO [main] Logger.info(51) | Logging using commons-logging. 
Sep 27, 2015 3:01:21 PM org.apache.coyote.http11.Http11Protocol start 
INFO: Starting Coyote HTTP/1.1 on http-127.6.120.1-8080 
Sep 27, 2015 3:01:21 PM org.apache.catalina.startup.Catalina start 
INFO: Server startup in 27697 ms 

我的web.xml骨架:

<?xml version="1.0" encoding="UTF-8"?> 
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" 
     "http://java.sun.com/dtd/web-app_2_3.dtd"> 
<web-app> 
    ... 
</web-app> 

有什麼建議?

回答

0

只需將本地主機上的數據庫連接URL更改爲{OPENSHIFT_MYSQL_DB_HOST}即可解決此問題

相關問題