我试图从Eclipse在OpenShift上部署Spring MVC应用程序。所有人都成功地推送到OpenShift存储库。但是,当我打开我的网站时,它给了我503错误。我使用的是Spring MVC,Hibernate。 请帮忙!
我的日志文件
Jan 30, 2016 1:23:09 PM org.apache.catalina.startup.Catalina addClusterRuleSet
INFO: Cluster RuleSet not found due to [java.lang.ClassNotFoundException: org.apache.catalina.ha.ClusterRuleSet]. Cluster configuration disabled.
Jan 30, 2016 1:23:09 PM org.apache.catalina.startup.Catalina addClusterRuleSet
INFO: Cluster RuleSet not found due to [java.lang.ClassNotFoundException: org.apache.catalina.ha.ClusterRuleSet]. Cluster configuration disabled.
Jan 30, 2016 1:23:10 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.p$
Jan 30, 2016 1:23:10 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-127.3.60.1-8080"]
Jan 30, 2016 1:23:10 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1499 ms
Jan 30, 2016 1:23:11 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 30, 2016 1:23:11 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.54
Jan 30, 2016 1:23:11 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/openshift/56acfef17628e1c82e00007c/app-root/runtime/dependencies/jbossews/webapps/ROOT.war
Jan 30, 2016 1:23:14 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [105] milliseconds.
Jan 30, 2016 1:23:14 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /var/lib/openshift/56acfef17628e1c82e00007c/app-root/runtime/dependencies/jbossews/webapps/ROOT.war $
Jan 30, 2016 1:23:14 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-127.3.60.1-8080"]
Jan 30, 2016 1:23:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3612 ms
Jan 30, 2016 1:27:04 PM org.apache.coyote.AbstractProtocol pause
INFO: Pausing ProtocolHandler ["http-bio-127.3.60.1-8080"]
Jan 30, 2016 1:27:04 PM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Jan 30, 2016 1:27:04 PM org.apache.coyote.AbstractProtocol stop
INFO: Stopping ProtocolHandler ["http-bio-127.3.60.1-8080"]
Jan 30, 2016 1:27:04 PM org.apache.coyote.AbstractProtocol destroy
INFO: Destroying ProtocolHandler ["http-bio-127.3.60.1-8080"]
Jan 30, 2016 1:58:25 PM org.apache.catalina.startup.Catalina addClusterRuleSet
INFO: Cluster RuleSet not found due to [java.lang.ClassNotFoundException: org.apache.catalina.ha.ClusterRuleSet]. Cluster configuration disabled.
Jan 30, 2016 1:58:26 PM org.apache.catalina.startup.Catalina addClusterRuleSet
INFO: Cluster RuleSet not found due to [java.lang.ClassNotFoundException: org.apache.catalina.ha.ClusterRuleSet]. Cluster configuration disabled.
答案 0 :(得分:0)
我使用的是:Spring MVC,Hibernate。
我在某些步骤中解决了这个问题:
很高兴我会帮助smbd!