问题描述
詹金斯表示,构建成功了(见下面的日志),我可以看到/app-root/runtime/repo/target/0.1-MVP
tomcat webapps(jwboss / webapps)
仅包含ROOT.war。
我如何导航到我部署的应用程序?
我正在使用tomcat装备。有没有服务器管理器用户界面? (像tomcat经理)
不知道它是否重要,但我使用Spring的应用程序
我试过:
< openshift_application_name> .rhcloud.com /< MY REST PATH>
< openshift_application_name> .rhcloud.com /< myWebAppName> /< MY REST PATH>
我在这两个版本都得到了404
$ b
检查你的pom.xml文件,确保你有一个openshift配置文件,如下所示:
或者其他openshift不知道如何处理war文件。根据这个错误:[警告]请求的配置文件openshift无法被激活,因为它不存在Jenkins shows that the build was successful (see log below) and I can see the war in
/app-root/runtime/repo/target/0.1-MVP
The tomcat webapps (jwboss/webapps)contains only ROOT.war.
How I can navigate to my deployed app?I am using the tomcat gear. Is there a server manager UI? (something like tomcat manager)Don't know if it matters but I using Spring for my application
I tried:
<openshift_application_name>.rhcloud.com/<MY REST PATH>
<openshift_application_name>.rhcloud.com/<myWebAppName>/<MY REST PATH>
I am getting 404 on both
Check your pom.xml to make sure that you have an openshift profile like the one that is shown here:https://github.com/openshift/origin-server/blob/master/cartridges/openshift-origin-cartridge-jbossews/template/pom.xml
Or else openshift doesn't know what to do with the war file once it's built.
According to this error: [WARNING] The requested profile "openshift" could not be activated because it does not exist
这篇关于获取404虽然我的应用程序已部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!