Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem running newer official tomcat docker images #316

Open
andrewleech opened this issue Oct 5, 2023 · 0 comments
Open

Problem running newer official tomcat docker images #316

andrewleech opened this issue Oct 5, 2023 · 0 comments

Comments

@andrewleech
Copy link

Describe the bug
Newer docker images based on tomcat are failing to start.

To Reproduce

Versions tomcat-v1.2023.7 through .10 are all failing this way.

$ docker run -p 8080:8080 plantuml/plantuml-server:tomcat-v1.2023.7
Cannot find /usr/local/tomcat/bin/setclasspath.sh
This file is needed to run this program

The image / container exits at this point.

Expected behavior
tomcat-v1.2023.6 and earlier works as expected

$ docker run -p 8080:8080 plantuml/plantuml-server:tomcat-v1.2023.tomcat-v1.2023.6
NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
05-Oct-2023 06:13:13.137 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name:   Apache Tomcat/10.0.23
05-Oct-2023 06:13:13.144 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Jul 14 2022 08:16:11 UTC
05-Oct-2023 06:13:13.145 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 10.0.23.0
05-Oct-2023 06:13:13.145 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
05-Oct-2023 06:13:13.145 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            4.9.0-13-amd64
05-Oct-2023 06:13:13.145 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
05-Oct-2023 06:13:13.146 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/local/openjdk-11
05-Oct-2023 06:13:13.146 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           11.0.16+8
05-Oct-2023 06:13:13.146 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
05-Oct-2023 06:13:13.148 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/tomcat
05-Oct-2023 06:13:13.148 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/tomcat
05-Oct-2023 06:13:13.385 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.lang=ALL-UNNAMED
05-Oct-2023 06:13:13.385 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.io=ALL-UNNAMED
05-Oct-2023 06:13:13.386 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util=ALL-UNNAMED
05-Oct-2023 06:13:13.386 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
05-Oct-2023 06:13:13.386 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
05-Oct-2023 06:13:13.387 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
05-Oct-2023 06:13:13.388 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
05-Oct-2023 06:13:13.388 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
05-Oct-2023 06:13:13.388 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
05-Oct-2023 06:13:13.389 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
05-Oct-2023 06:13:13.389 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
05-Oct-2023 06:13:13.389 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat
05-Oct-2023 06:13:13.390 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat
05-Oct-2023 06:13:13.390 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp
05-Oct-2023 06:13:13.535 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache Tomcat Native library [1.2.35] using APR version [1.7.0].

Server (please complete the following information):

  • OS: Debian, Docker version 19.03.15, build 99e3ed8919
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant