Tuesday, January 21, 2014
java.lang.ClassCastException: weblogic.net.http.SOAPHttpsURLConnection
ERROR : java.lang.ClassCastException: weblogic.net.http.SOAPHttpsURLConnection
The above error may occur while making a HTTP(s) connection to external resource from weblogic server because underline API uses weblogic implementation .
weblogic.net.http.HttpsURLConnection : This class is used to represent a HTTP with SSL (HTTPS) connection to a remote object.
To Overcome the above issue Add the below flag in jvm argument to tell the weblogic server to use the Sun API Http Handlers instead of weblogic API
-DUseSunHttpHandler=true
Labels:
Oracle Weblogic server
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment