Docker Community Forums

Share and learn in the Docker community.

Memory leak error in Apache tomcat Application Deployment

Hi Team,
I am deploying my application in tomcat and using postgres DB .I pushed below mentioned DB’s to access the application .I am getting memory leak error and "apps/NextGene/WEB-INF/lib/spark-assembly-1.5.1-hadoop2.4.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class " jar not loaded error. Can you please check the below compose file and provide the answer.

docker compose version
docker-compose version 1.9.0, build 2585387
docker-py version: 1.10.6
CPython version: 2.7.9
OpenSSL version: OpenSSL 1.0.1t 3 May 2016

version: ‘2’

services:
tomcat:
image: "tomcat:6.0.48-jre7"
ports:
- "8080:8080"
volumes:
- "/root/tomcat/nextgene:/usr/local/tomcat/webapps"
environment:
- DEBUG= “false”
- DB_USERNAME= “postgres”
- DB_PASS= “postgres1”
- DB_PATH_ESH= “192.168.14.66:32768/ESH_DB_254_12082016”
- DB_PATH_JBPM= “192.168.14.66:32768/esh_jbpm”
- DB_PATH_SHEDULE= “192.168.14.66:32768/esh_schedule”