简体   繁体   中英

Cannot find /usr/local/tomcat/bin/setclasspath.sh error in Tomcat 9 JRE 11 container

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM