tomcat webapps(jwboss / webapps) 仅包含ROOT.war。
如何导航到我部署的应用? 我正在使用tomcat装备。是否有服务器管理器UI? (像tomcat经理一样) 不知道是否重要,但我使用Spring作为我的应用程序
我试过了:
<openshift_application_name>.rhcloud.com/<MY REST PATH>
<openshift_application_name>.rhcloud.com/<myWebAppName>/<MY REST PATH>
我两个都得到404
http://mirror1.ops.rhcloud.com/nexus/content/groups/public/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar (422 KB,2925.7 KB /秒)[INFO]打包webapp [INFO]组装 webapp [初始] in [/var/lib/openshift/52dbe400e0b8cdce430000d0/app-root/runtime/repo/target/0.1-MVP] [INFO]处理战争项目[INFO]复制webapp资源 [在/ var / lib中/ openshift / 52dbe400e0b8cdce430000d0 / APP-根/运行/回购/ SRC /主/ web应用] [INFO] Webapp组装在[531 msecs] [INFO]建立战争: /var/lib/openshift/52dbe400e0b8cdce430000d0/app-root/runtime/repo/target/0.1-MVP.war [INFO]已添加WEB-INF / web.xml,跳过[INFO] -------------------------------------------------- ---------------------- [INFO]建立成功[信息] -------------------------------------------------- ---------------------- [INFO]总时间:1:37.456s [INFO]完成于:1月19日09:44:11 EST 2014 [INFO]最终记忆:19M / 86M [INFO] -------------------------------------------------- ---------------------- [警告]无法激活请求的配置文件“openshift” 因为它不存在 + /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh @ .rhcloud.com'gear stop --conditional --exclude-web-proxy --git-ref 086d26cc8c980ca3144fcf1b5a524d521e3758b5'停止装备......停止 jbossews cartridge将SIGTERM发送给jboss:410122 ... kill -9 410376 杀了-9 410122 ++ /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh @ .rhcloud.com'gear 创建部署-DIR” + deployment_dir = 2014-01-19_09-44-28.240 + rsync --delete-after -az -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh /var/lib/openshift/52dbe400e0b8cdce430000d0//app-deployments/current/metadata.json @ .rhcloud.com:应用程序的部署/ 2014-01-19_09-44-28.240 / metadata.json + rsync --delete-after -az -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh --exclude .git / var / lib / openshift / 52dbe400e0b8cdce430000d0 / app-root / runtime / repo / @ .rhcloud.com:APP-根/运行/回购/ + rsync --delete-after -az -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh 的/ var / lib中/ openshift / 52dbe400e0b8cdce430000d0 / APP-根/运行/建立依赖性/ @ .rhcloud.com:APP-根/运行/建立依赖性/ + rsync --delete-after -az -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh 的/ var / lib中/ openshift / 52dbe400e0b8cdce430000d0 / APP-根/运行/依赖性/ @ .rhcloud.com:APP-根/运行/依赖性/ + /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh @ .rhcloud.com'gear remotedeploy --deployment-datetime 2014-01-19_09-44-28.240'为部署准备构建部署ID为2e006237激活部署 + tmp = / var / lib / openshift // jbossews // tmp +'[' - d / var / lib / openshift // jbossews // tmp']' '$ tmp / '中的+ +'[' - ''/ var / lib / openshift // jbossews // tmp / '']' ++ ls / var / lib / openshift // app-root / runtime / repo // webapps +'['''''启动jbossews盒发现127.13.77.129:8080监听端口归档工件完成:成功
答案 0 :(得分:1)
检查您的pom.xml以确保您拥有类似于此处显示的openhift配置文件:https://github.com/openshift/origin-server/blob/master/cartridges/openshift-origin-cartridge-jbossews/template/pom.xml
否则,openshift一旦建成,就不知道如何处理war文件。
根据此错误:[警告]请求的个人资料&#34; openshift&#34;因为它不存在而无法激活