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 C
    • Sprint 72 (Jan 2021), Sprint 73 (Feb 2021)
    • 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

        Issue Links

          Activity

            People

              arimdjonoks Artjoms Rimdjonoks
              pranahata Pablo
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: