I want to deploy my web app from GitHub with Travis CI to my WildFly application server on OpenShift.
I followed the How to Build and Deploy OpenShift Java Projects using Travis CI tutorial but my index.html
page from my Java EE 7 web app does not show up. Instead of the index.html
page I get OpenShift's default page, saying: "Welcome to your WildFly 8 application on OpenShift".
What do I have to do so that my webapp is displayed?
Here are the last lines of my Travis CI console log:
remote: [WARNING] The requested profile "openshift" could not be activated because it does not exist.
remote: Preparing build for deployment
remote: Deployment id is 20db7c5e
remote: Activating deployment
remote: HAProxy already running
remote: HAProxy instance is started
remote: Deploying WildFly
remote: ls: cannot access /var/lib/openshift/54e7963efcf933b7e2000037/app-root/runtime/repo//deployments: No such file or directory
remote: Starting wildfly cart
remote: Found 127.9.239.1:8080 listening port
remote: Found 127.9.239.1:9990 listening port
remote: /var/lib/openshift/54e7963efcf933b7e2000037/wildfly/standalone/deployments /var/lib/openshift/54e7963efcf933b7e2000037/wildfly
remote: /var/lib/openshift/54e7963efcf933b7e2000037/wildfly
remote: CLIENT_MESSAGE: Artifacts deployed: ./ROOT.war
remote: -------------------------
remote: Git Post-Receive Result: success
remote: Activation status: success
remote: Deployment completed with status: success
You can check my webapp code here: https://github.com/welovecoding/javeasy
The deployment can be seen on: http://www.javeasy.com/