Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10370

Java Gateway cannot connect to remote JMX server if RMI registry is forced by SSL

    XMLWordPrintable

    Details

    • Team:
      Team C
    • Sprint:
      Sprint 72 (Jan 2021), Sprint 73 (Feb 2021)
    • Story Points:
      2

      Description

      I've tested it with glassfish and one needs to do

      HashMap envSSL = new HashMap<>(env != null ? env : Collections.emptyMap());
      envSSL.put("com.sun.jndi.rmi.factory.socket", new SslRMIClientSocketFactory());
      jmxc = JMXConnectorFactory.connect(url, envSSL);
      

      Before

      jmxc = JMXConnectorFactory.connect(url, envSSL);
      

      Failing to do this returns in IOEXceptiom:

      non-JRMP server at remote endpoint
      

        Attachments

          Activity

            People

            Assignee:
            arimdjonoks Artjoms Rimdjonoks
            Reporter:
            pranahata Pablo
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: