Skip to content

Upgrade to jetty12#51

Open
austb wants to merge 6 commits intoOpenVoxProject:mainfrom
austb:jetty12
Open

Upgrade to jetty12#51
austb wants to merge 6 commits intoOpenVoxProject:mainfrom
austb:jetty12

Conversation

@austb
Copy link
Contributor

@austb austb commented Mar 1, 2026

No description provided.

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.
@austb austb added the enhancement New feature or request label Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant