I created a Java Liberty application on Bluemix and cloned the sample code from the JazzHub Git repository linked to the application. I then copied the JavaHelloWorldApp.war file to the base directory of the sample code and created a Dockerfile with the following text:
FROM registry.ng.bluemix.net/ibmliberty:javaee7
ADD JavaHelloWorldApp.war /opt/ibm/wlp/usr/servers/defaultServer/dropins/
I set up the DevOps pipeline to build an image and then create a container following this example Node.js application: https://hub.jazz.net/deploy/index.html?repository=https://github.com/Puquios/hello-containers
The application successfully builds and deploys, however I receive the following error when I go to view the url for the new container application:
502 Bad Gateway: Registered endpoint failed to handle the request.
How do I fix this?