Hello JAVA Experts,
After upgrading JAVA8 to JAVA 17, We got one problem, an existing JMX client to invoke an get operation always timeout after the Server side VM is fresh installed. the connection timeout we set is 2 seconds, but the first time jmx connection always timeout, then if we run the same connection again, it passed with less than 1 seconds.
We enabled jdk.tls.client.protocols=TLSv1.2 and also set the same cipher suite for jmx agent.
the following is the client side when setup the jmx connection.
-Djdk.tls.client.protocols=TLSv1.2 \
-Djdk.tls.client.cipherSuites=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 \
-Djavax.net.ssl.trustStore=### \
-Djavax.net.ssl.trustStorePassword=### \
-Djavax.net.ssl.keyStore=###\
-Djavax.net.ssl.keyStorePassword=### \
Any idea for this issue?
Thanks in advance,
Eric.