Docker Container Run

To start the containerized UpgradeUtilityWeb application, run

docker run format:(-v refers to Volumes):

$ docker run -d --restart unless-stopped --network=host --privileged -v /path/to/the/externallibs:/usr/local/tomee/externallibs/ -v /path/to/the/externallibs/uuwebconf:/usr/local/tomee/webapps/uuwebconf --env-file /path/to/the/uuweb_env.dat -p <App_External_Port>:<App_Container_Port> --name <Container_Name> --hostname localhost <Image_Name>:<Image_Tag> createServer.sh

docker run example:

docker run -d --restart unless-stopped --network=host --privileged -v /scratch/oipa/docker/upgradeutilityweb/externallibs/:/usr/local/tomee/externallibs/ -v /scratch/oipa/docker/upgradeutilityweb/externallibs/uuwebconf:/usr/local/tomee/webapps/uuwebconf --env-file /scratch/oipa/docker/upgradeutilityweb/uuweb_env.dat -p 7001:7001 --name upgradeutilityweb --hostname localhost upgradeutilityweb:12.0.2 createServer.sh

Check the docker logs in the PUTTY console by executing the below command:

$ docker logs -f upgradeutilityweb

Access the application when you see the Server startup in [xxxxxx] milliseconds message in the PUTTY console.

Manual Deployment

  • Extract and unzip the UpgradeUtilityWeb.zip into tomEE webapps folder, it contains UpgradeUtilityWeb.war and uuwebconf folders.

  • Open the properties.json file inside uuwebconf folder and update the backend url i.e. ugradeutility micro service application url (ex: http://localhost:6060/).

  • Navigate to the bin folder of TomEE and open the command prompt in this location to start the server using the command:

    • For Windows - catalina.bat run

    • For Linux - ./catalina.sh start

UpgradeUtilityWeb

The UpgradeUtilityWeb application log in URL: http://hostname:7001/UpgradeUtilityWeb/