Open
Conversation
Migrate from trapperkeeper-webserver-jetty10 to trapperkeeper-webserver-jetty12 version 1.0.0-SNAPSHOT. This provides Jetty 12 support with the Jakarta Servlet API (jakarta.servlet) replacing the legacy javax.servlet API.
Update the metrics service test file to import and reference jetty12-service instead of jetty10-service. The test functionality remains unchanged as the webserver service protocol is the same.
Update the ring app example to reference the jetty12-service in its bootstrap configuration.
Update the ring app example README to reference Jetty 12 and the new webserver service, including the GitHub URL, project name, service name, and bootstrap.cfg example.
Migrate from javax.servlet to jakarta.servlet and from ring.util.servlet to ring.util.jakarta.servlet to match the Jetty 12 requirements.
Jolokia 2.x uses the Jakarta Servlet API (jakarta.servlet) which is required for compatibility with Jetty 12. This updates the dependency from jolokia-core to jolokia-server-core and migrates to the new package structure: - org.jolokia.http.AgentServlet -> org.jolokia.server.core.http.AgentServlet - org.jolokia.config.ConfigKey -> org.jolokia.server.core.config.ConfigKey - org.jolokia.util.LogHandler -> org.jolokia.server.core.service.api.LogHandler Jolokia 2.x uses a modular architecture where the core server requires additional service modules to function. The jolokia-service-jmx module provides the JMX backend, and jolokia-service-serializer handles JSON serialization of JMX responses. The Jolokia 2.x LogHandler interface adds a new isDebug() method that must be implemented. This method returns whether debug logging is enabled, allowing Jolokia to skip expensive debug message construction when debug logging is disabled.
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.
No description provided.