Bug 68826 - Tomcat fails on startup with signed jar with logging.properties inside
Summary: Tomcat fails on startup with signed jar with logging.properties inside
Status: RESOLVED INVALID
Alias: None
Product: Tomcat 9
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 9.0.86
Hardware: PC All
: P2 blocker (vote)
Target Milestone: -----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-25 05:29 UTC by Anna Markina
Modified: 2024-03-25 17:57 UTC (History)
0 users



Attachments
Stacktrace on java 8 (78.85 KB, text/plain)
2024-03-25 05:29 UTC, Anna Markina
Details
Stacktrace on java 17 (97.51 KB, text/plain)
2024-03-25 05:30 UTC, Anna Markina
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anna Markina 2024-03-25 05:29:50 UTC
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.
Comment 1 Anna Markina 2024-03-25 05:30:27 UTC
Created attachment 39636 [details]
Stacktrace on java 17
Comment 2 Mark Thomas 2024-03-25 17:57:47 UTC
As per the provided information, this is a JDK issue, not a Tomcat issue.