微信开发:weblogic.net.http.SOAPHttpsURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
2016-09-08 11:46
417 查看
java.lang.ClassCastException: weblogic.net.http.SOAPHttpsURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
问题描述:WebLogic默认使用自己的 连接weblogic.net.http.SOAPHttpsURLConnection,不能转换为通讯的连接 javax.net.ssl.HttpsURLConnection
修改 startWblogic.sh 文件
找到 JAVA_OPTIONS="${JAVA_OPTIONS}”
JAVA_OPTIONS="${JAVA_OPTIONS}
-DUseSunHttpHandler=true" 屏蔽weblogic自身的默认连接
千万要注意 -DUseSunHttpHandler=true 是加在 JAVA_OPTION=""的里面,我第一次加在了这个配置的下面,搞了半天都没有起作用。
问题描述:WebLogic默认使用自己的 连接weblogic.net.http.SOAPHttpsURLConnection,不能转换为通讯的连接 javax.net.ssl.HttpsURLConnection
修改 startWblogic.sh 文件
找到 JAVA_OPTIONS="${JAVA_OPTIONS}”
JAVA_OPTIONS="${JAVA_OPTIONS}
-DUseSunHttpHandler=true" 屏蔽weblogic自身的默认连接
千万要注意 -DUseSunHttpHandler=true 是加在 JAVA_OPTION=""的里面,我第一次加在了这个配置的下面,搞了半天都没有起作用。
相关文章推荐
- weblogic.net.http.SOAPHttpsURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
- weblogic.net.http.SOAPHttpsURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
- weblogic.net.http.SOAPHttpsURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
- sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
- HttpURLConnectionImpl cannot be cast to javax.net.ssl.HttpsURLConnection
- 解决sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.net.ssl.HttpsURLConnection
- java.lang.ClassCastException: libcore.net.http.HttpURLConnectionImpl cannot be cast to javax.net.ssl
- 解决weblogic.net.http.SOAPHttpsURLConnection incompatible with javax.net.ssl.HttpsURLConnection
- [Java][Weblogic] weblogic.net.http.SOAPHttpsURLConnection incompatible with javax.net.ssl.HttpsURLConnection解决办法
- java.lang.ClassCastException: sun.net.www.protocol.http.HttpURLConnection cannot be cast to javax.n
- jms异常 weblogic.jms.client.JMSConnectionFactory cannot be cast to javax.jms.ConnectionFactory
- weblogic.net.http.SOAPHttpsURLConnectionl类型解决
- Weblogic10.3部署报com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputFactory
- HttpsURLConnection请求https,抛出javax.net.ssl.SSLException: hostname in certificate didn't match:
- Weblogic10g部署web项目报错:com.ctc.wstx.stax.WstxInputFactory cannot be cast to javax.xml.stream.XMLInputF
- Tomcat正常启动,页面报HTTP Status 500 - Class com.fjc.Hello is not a Servlet,控制台报 cannot be cast to javax.se
- 关于weblogic下使用URL.openConnection获取连接返回javax.net.ssl.SSLKeyException错误
- weblogic.xml.jaxp.RegistrySAXParserFactory cannot be cast to javax.xml.parsers.SAXParserFactory
- 关于weblogic下使用URL.openConnection获取连接返回javax.net.ssl.SSLKeyException错误
- https应用:避免HttpClient的”javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated”异常