So as the title says, I am facing the title issue when running exec env JAVA_OPTS="${JAVA_OPTS}" /usr/local/tomcat/bin/catalina.sh run
in my entrypoint.sh.
I have tried adding unset $CATALINA_HOME
to my entrypoint, to no avail.
Any suggestions?
Edit: The JAVA_OPTS env variable does not set an options in regards to tomcat itself, but rather the webapp that is being run through Tomcat
The issue seemed to be multiple JRE version being installed in the container.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.