Ad Widget

Collapse

How to install Zabbix-java-gateway based on JDK11? |SSL peer shut down incorrectly

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HarryReid
    Junior Member
    • Nov 2023
    • 2

    #1

    How to install Zabbix-java-gateway based on JDK11? |SSL peer shut down incorrectly

    When installing zabbix-java-gateway, jdk8 is used by default, and it will be automatically installed without 1.8. However, my Java applications are all based on jdk11, so when collecting data through the JavaGateway, an error will be reported: SSL peer shutdown incorrect. It is speculated that the inconsistency in the jdk version is the cause.Click image for larger version

Name:	image.png
Views:	559
Size:	74.8 KB
ID:	473471
  • jsrozo
    Junior Member
    • May 2023
    • 6

    #2
    Try up the jmx jboss whit the next parameters:

    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote"
    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.port=XXXX"
    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.rmi.port=XXXX"
    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.ssl=false"
    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.registry.ssl=false"
    JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote.authenticate=false"
    JAVA_OPTS="$JAVA_OPTS -Djava.rmi.server.hostname=XXXX"​

    Comment

    Working...