[ZBX-24298] Zabbix Java Gateway 6.0.28 doesn't support rest connector Created: 2024 Apr 03  Updated: 2024 Apr 28  Resolved: 2024 Apr 28

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Java gateway (J)
Affects Version/s: 5.0.42, 6.0.28, 6.4.13, 7.0.0beta2
Fix Version/s: 5.0.43rc1, 6.0.30rc1, 6.4.15rc1, 7.0.0rc1, 7.0 (plan)

Type: Problem report Priority: Critical
Reporter: Klemen Sorčnik Assignee: dimir
Resolution: Fixed Votes: 0
Labels: JNDI, java
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Causes
Team: Team A
Sprint: S24-W18/19
Story Points: 0.5

 Description   

Steps to reproduce:

  1. You need JMX monitoring setup with JMX endpoint configured as: service:jmx:rest://{HOST.CONN}:{HOST.PORT}/IBMJMXConnectorREST
  2. Update java gateway to version 6.0.28
  3. Restart java gateway service
  4. Check JMX target status

Result:

com.zabbix.gateway.ZabbixException:  unsupported JNDI service provider, "IBMJMXConnectorREST": service:jmx:rest://test.si:2341/IBMJMXConnectorREST

Expected:
The same configuration and setup works with version 6.0.13



 Comments   
Comment by Edgar Akhmetshin [ 2024 Apr 04 ]

Probably related to DEV-2658 (CVE-2024-22121) fix. Confirmed.

Comment by dimir [ 2024 Apr 05 ]

Some documentation on built-in JNDI service providers: https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.jndi.html#i3094617

Comment by dimir [ 2024 Apr 26 ]

Overview

This change brings back support for other JNDI service providers than rmi in JMX monitoring that was broken in:

Fixed in

Generated at Thu Oct 09 22:19:37 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.