Reputation: 93
I am attempting to deploy my java web application to OpenShift (Tomcat 7). The app runs fine on my local tomcat. I upload the .war file to OpenShift,and put it to webapps location,but I can't reach this app through my web browser,it just show me an empty page.However when I Manually create a file like test.html ,I can get it's content.And I have check the authority,it is correct. Curious,I don't what is wrong with me.Please help,thanks!
Upvotes: 1
Views: 6953
Reputation: 4479
In case you might be trying the wrong url, you should be able to test it at yourApp-yourDomain.rhcloud.com/yourWARname.
See OpenShift Deployment directions, or see my blog if you are additionally interested in custom domain or GWT deployment with your WAR on OpenShift.
Upvotes: 2
Reputation: 1500
you can do like that External Sources link :Link1 & Link2
You basically have two options to use if you want to deploy applications that have already been compiled into WAR or EAR files onto your OpenShift gear, either add them into your git repository, or scp/sftp them directly to your gear.
Upvotes: 2