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?

                    • Related Articles

                    • LDAP - Unable to find valid SSL Certificate

                      If there is an error while adding LDAP Server Monitor with the message "Unable to find valid SSL Certificate", then please try the below steps to troubleshoot the issue. When the error occurs we can find the below traces in the "stderr.txt.*" log ...
                    • How to Manually Deploy the registermbeans.war file into the Weblogic Server

                      Applications Manager collects performance data from WebLogic Server version 11 and above using an MBean agent. This agent is typically deployed automatically. However, if the agent isn't deployed for any reason, you can manually deploy the ...
                    • Resolving Issues When Onboarding SSL-Enabled MySQL Database Servers

                      Error Message: Connections using insecure transport are prohibited while --require_secure_transport=ON Solution: To overcome this issue follow the steps given below: Execute the following query in the corresponding MySQL shell script: ALTER USER ...
                    • Troubleshooting SSL Handshake Error

                      An SSL Handshake error typically occurs when a secure connection cannot be established due to issues like incompatible SSL protocol versions, ciphers or missing client certificates. Verify URL Accessibility Ensure that the URL you’re monitoring is ...
                    • Troubleshooting Authentication Failed error

                      Authentication Failure Authentication failure occurs when the request to a resource is missing or has invalid credentials. Check if URL requires authentication Access the URL in an incognito/private window and check if any pop up asking for ...