In weblogic environment, a error "weblogic.net.http.SOAPHttpsURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection" may come while trying to connect to a url using javax.net.ssl.HttpsURLConnection.
For my case, modification of the config.xml file inside the cofig directroy inside the server domain directory solved the problem.
<server-start>
<arguments>-DUseSunHttpHandler=true</arguments>
</server-start>
<arguments>-DUseSunHttpHandler=true</arguments>
</server-start>
This will tell the weblogic server to use the Sun Http Handlers and not install its own at the time of starting weblogic server.
No comments:
Post a Comment