title: How to deploy a Java web application with Travis CI to an OpenShift WildFly server?
body: <p>I want to deploy my web app from GitHub with Travis CI to my WildFly application server on OpenShift.</p>
  
  <p>I followed the <a href="https://blog.openshift.com/how-to-build-and-deploy-openshift-java-projects-using-travis-ci/" rel="nofollow">How to Build and Deploy OpenShift Java Projects using Travis CI</a> tutorial but my <code>index.html</code> page from my Java EE 7 web app does not show up. Instead of the <code>index.html</code> page I get OpenShift's default page, saying: "Welcome to your WildFly 8 application on OpenShift".</p>
  
  <p>What do I have to do so that my webapp is displayed?</p>
  
  <p>Here are the last lines of my Travis CI console log:</p>
  
  <pre><code>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
  </code></pre>
  
  <p>You can check my webapp code here: <a href="https://github.com/welovecoding/javeasy" rel="nofollow">https://github.com/welovecoding/javeasy</a></p>
  
  <p>The deployment can be seen on: <a href="http://www.javeasy.com/" rel="nofollow">http://www.javeasy.com/</a></p>