openshift v3 deploy not working

北城以北 提交于 2020-01-06 05:29:41

问题


I am trying to migrate my java/tomcat application to openshift v3. I have set up the build s2i to point to my git repository, it finds the pom.xml and builds everything, it then displays the message "Copying all war artifacts from /tmp/src/target directory into /opt/webserver/webapps for later deployment...", it then does the docker push. Everything seems ok to this point. The application gets deployed and I connect to the terminal - I see all the artifacts in /tmp/src/target, but NOT in /opt/webserver/webapps ? I only see the manager app. When I navigate to the URL I get "page can't be found" and in the pod logs I see it is being hit ok. I just noticed ROOT.war is in /tmp/src/webapps.

来源:https://stackoverflow.com/questions/46234420/openshift-v3-deploy-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!