/
Tomcat container

Tomcat container

Here we are going to focus on the Tomcat server and Java services.

  1. Go to /opt/zw-vmmc-docker/tomcat/conf and create log4j2.json config.json file:

    vim/opt/zw-vmmc-docker/tomcat/conf/log4j2.json

     

    And paste the next content:

    { "configuration": { "status": "warn", "name": "connectDWS", "packages": "psi.dws", "ThresholdFilter": { "level": "debug" }, "appenders": { "Console": { "name": "Console", "PatternLayout": { "pattern": "%d{HH:mm:ss.SSS} %-5level %X{request.id} %logger{36} - %msg%n" } } }, "loggers": { "root": { "level": "warn", "AppenderRef": { "ref": "Console" } } } } }
  2. In the same folder create config.json file:

    vim /opt/zw-vmmc-docker/tomcat/conf/config.json
  3. Copy the next lines on the file you are creating:

  4. After that, we will need to get the services. To get the resources you need to access to GitHub and download the war files of the next releases:

  5. All these war files have to be moved to /opt/zw-vmmc-docker/tomcat/webapps

  6. The last step in the tomcat folder is to create the dockerfile in /opt/zw-vmmc-docker/tomcat :

  7. With the next content:

 


Next: Node_container folder ➡️

Related content