Created attachment 39635 [details] Stacktrace on java 8 Overview: Tomcat fails on startup with StackOverflowError when there is a signed jar with logging.properties inside. Steps to Reproduce: 1) Download and unpack Apache Tomcat. 2) Create a signed jar with logging.properties file inside. 3) Put the jar from step 2 to $TOMCAT_HOME/lib folder. 4) Launch Tomcat with startup.sh Actual Results: Tomcat fails with StackOverflowError. Expected Results: Tomcat starts successfully. Builds and Platforms: The bug can be reproduced on Windows or Linux platforms. It showed up when we had upgraded Java to 8u381, also it is actual for Java 17.0.10. Does not reproduce in earlier versions of JRE. Additional Information: There is a JDK bug https://bugs.openjdk.org/browse/JDK-8314263, which is marked as solved, but here it is.
Created attachment 39636 [details] Stacktrace on java 17
As per the provided information, this is a JDK issue, not a Tomcat issue.