Saturday, 24 August 2013

Deploy an app to openshift

Deploy an app to openshift

I'm having a Java EE application. This app works fine on local (using
eclipse, Jboss 7AS). I exported this app to ROOT.war file. I clone my
Jboss app (named webdientu) on OpenShift then put ROOT.war to
webdientu/deployments. First, i don't change any more just to test a
helloworld.html file in my project that only contains html code. Then
using Git to push:
cd webdientu/
git add .
git commit -m 'my project'
git push
But after deploying, *.rhcloud.com/webdientu/helloworld.html is 404 error.
I clone my app again to view. webdientu/src don't change any things.
Maybe, ROOT.war is not deployed. Can you show my why? What steps do I need
to do next? Thanks.

No comments:

Post a Comment