Resolve the error message "Metric dispatch failed. Exception: weblogic.net.http.SOAPHttpsURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection" observed in agent logs

Resolve the error message "Metric dispatch failed. Exception: weblogic.net.http.SOAPHttpsURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection" observed in agent logs

This exception occurs specifically in weblogic servers, as it uses its own HTTP handler.

            To resolve this kindly add the below parameter to the JVM arguments and restart the weblogic server instances.                                        

      
     -DUseSunHttpHandler=true

 Example:                 
   -DUseSunHttpHandler=true -javagent:C:/apminsight/apminsight-javaagent.jar





                  New to ADSelfService Plus?