【发布时间】:2012-10-15 14:44:39
【问题描述】:
我们在尝试连接服务器时收到此 java SSL 错误。在运行应用程序时,我们收到此错误,然后我们必须重新启动应用程序以使其再次可用。有人可以帮忙吗?
at java.lang.Thread.run(Thread.java:662)
Caused by: com.sun.xml.internal.ws.wsdl.parser.InaccessibleWSDLException: 2 counts of InaccessibleWSDLException.
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:161)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:133)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:254)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:217)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:165)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:93)
at javax.xml.ws.Service.<init>(Service.java:56)
【问题讨论】:
-
请使用 -Djavax.net.debug=ssl 运行您的代码,握手并在此处发布结果输出。
-
感谢 EJP。我们有时会在生产服务器上收到此错误,并且在重新启动后再次正常工作。在本地它工作正常,但我正在尝试复制它,所以一旦我在本地得到它,我会提供它