Fix Candlepin service failure with Tomcat 9 - #622
Closed
jeremylenz wants to merge 1 commit into
Closed
Conversation
The candlepin service fails to start because server.xml references org.apache.catalina.core.OpenSSLLifecycleListener, which only exists in Tomcat 10.1+. The nightly candlepin image ships Tomcat 9.0.87. This change detects the Tomcat major version at deploy time and makes the OpenSSLLifecycleListener conditional on Tomcat >= 10. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Member
I think your container image might just be old. I show |
Contributor
Author
|
That was it, I just had to pull a new image. This led me to discover that there is only |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why are you introducing these changes? (Problem description, related links)
The candlepin service fails to start on deployments using the nightly candlepin container image. The failure occurs because
server.xmlreferencesorg.apache.catalina.core.OpenSSLLifecycleListener, which is a Tomcat 10.1+ class, but the current nightly candlepin image ships Tomcat 9.0.87.What are the changes introduced in this pull request?
How to test this pull request
Steps to reproduce:
Checklist
🤖 Generated with Claude Code