Issue Tomcat 10.0.14 & Jolokia

CMK version: 2.0.0p17 (CEE)
OS version: Red Hat Enterprise Linux Server release 7.5

Error message: HTTP Status 404 – Not Found*

Hello, I am currently testing the jolokia plugin. With a 9.x Tomcat everything works fine, but with a 10.x Tomcat I always get the error message “HTTP Status 404 - Not Found” and “Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.” when I open http://xxx.xxx.xxx.xxx:8081/jolokia/version.

Generally a popup appears with the Basic Authentication, after entering user/password the error message appears. With 9.x Tomcat a JSON output comes after entering user/password as expected.
Any ideas? Is anyone running jolokia with Tomcat 10.x?

Thanks a lot in advance!
Christian

1 Like

Thats looks like an Jolokia Issue not Checkmk.
I have the same behavior with Tomcat 10.
The Return Code 404 comes from jolokia itself.

It may be related to the migration of java EE (tomcat 9 and earlier)to jakarta EE(tomcat 10 and later). The groupId of the HTTPServlet is now jakarta.servlet
Check your localhost logs

ab

EDIT: As of right now jolokia is not compatible with tomcat 10 due to the same issue:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.