我正在使用weblogic服务器12c而我试图通过外部URL访问soap,我为java 8的cacerts文件和weblogic的DemoTrust.jks文件导入了必要的证书。 我根据论坛的另一个问题将参数放在weblogic初始化程序中:
:generateClassList 设置JAVA_OPTIONS =%JAVA_OPTIONS%-Xshare:off -XX:+ UnlockCommercialFeatures -XX:+ IgnoreEmptyClassPaths -XX:DumpLoadedClassList =%APPCDS_CLASS_LIST%-XX:+ UseAppCDS -DUseSunHttpHandler = true -Dssl.SocketFactory.provider = sun.security.ssl。 SSLSocketFactoryImpl -Dssl.ServerSocketFactory.provider = sun.security.ssl.SSLSocketFactoryImpl GOTO:EOF
:useArchive 设置JAVA_OPTIONS =%JAVA_OPTIONS%-XX:+ UnlockCommercialFeatures -Xshare:auto -XX:+ UseAppCDS -XX:+ IgnoreEmptyClassPaths -XX:SharedArchiveFile =%APPCDS_ARCHIVE%-showversion -DUseSunHttpHandler = true -Dssl.SocketFactory.provider = sun.security。 ssl.SSLSocketFactoryImpl -Dssl.ServerSocketFactory.provider = sun.security.ssl.SSLSocketFactoryImpl 设置USING_SHOWVERSION = true GOTO:EOF
:ENDFUNCTIONS
在阅读密钥库时在控制台上:
<06/07/2017, 1:57:44,328 PM BRT> <Notice> <Security> <BEA-090171> <Loading the identity certificate and private key stored under the alias DemoIdentity from the jks keystore file C:\Oracle\Middleware_12.2.1.2\user_projects\domains\base_domain\security\DemoIdentity.jks.>
<06/07/2017, 1:57:44,332 PM BRT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\Oracle\MIDDLE~1.2\wlserver\server\lib\DemoTrust.jks.>
<06/07/2017, 1:57:44,336 PM BRT> <Notice> <Security> <BEA-090169> <Loading trusted certificates from the jks keystore file C:\java\JDK18~1.0_1\jre\lib\security\cacerts.>
javax.xml.ws.WebServiceException: java.io.IOException: Connection closed, EOF detected
javax.xml.ws.WebServiceException: java.io.IOException: Connection closed, EOF detected
at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:195)
at weblogic.wsee.jaxws.spi.WLSProvider.createServiceDelegate(WLSProvider.java:150)
它发生超时,然后是eof错误。 有人帮忙取悦我没有其他选择