javax.xml.ws.soap.SOAPFaultException:javax.net.ssl.SSLException:收到致命警报:handshake_failure

时间:2018-05-16 20:27:40

标签: java soap websphere jax-ws tls1.2

我正在将应用程序从java 1.6迁移到java 1.8.0。我一直在接受一些问题。

javax.xml.ws.soap.SOAPFaultException:javax.net.ssl.SSLException:已收到 致命警报:handshake_failure 我收到此错误

我在 Websphere Application Server 8.5 中工作,它适用于 TLS 1.2

我想知道您之前是否有过这样的错误。

 javax.xml.ws.soap.SOAPFaultException: javax.net.ssl.SSLException: Received 

fatal alert: handshake_failure
[5/16/18 16:07:28:986 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:1363)
[5/16/18 16:07:28:986 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.demarshalFaultResponse(MethodMarshallerUtils.java:1089)

[5/16/18 16:07:28:986 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalFaultResponse(DocLitWrappedMethodMarshaller.java:680)
[5/16/18 16:07:28:986 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.getFaultResponse(JAXWSProxyHandler.java:626)
[5/16/18 16:07:28:986 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:566)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:432)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:213)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at com.sun.proxy.$Proxy790.initTransaction(Unknown Source)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at cl.transbank.webpay.WebpayMallNormal.initTransaction(WebpayMallNormal.java:61)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at cl.transbank.webpay.WebpayMallNormal.initTransaction(WebpayMallNormal.java:103)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at cl.scotiabank.controller.TransactionController.initTransactionCard(TransactionController.java:118)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at java.lang.reflect.Method.invoke(Method.java:508)
[5/16/18 16:07:28:987 GMT-04:00] 0000012a SystemErr     R   at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
[5/16/18 16:07:28:988 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at cl.scotiabank.filter.CredentialFilter.doFilter(CredentialFilter.java:79)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3980)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1016)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
[5/16/18 16:07:28:989 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[5/16/18 16:07:28:990 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R Caused by: javax.net.ssl.SSLException: Received fatal alert: handshake_failure
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R   at com.ibm.jsse2.j.a(j.java:35)
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R   at com.ibm.jsse2.ap.a(ap.java:133)
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R   at com.ibm.jsse2.ap.a(ap.java:250)
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R   at com.ibm.jsse2.ap.j(ap.java:86)
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R   at com.ibm.jsse2.ap.b(ap.java:437)
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R   at com.ibm.jsse2.ap.a(ap.java:532)
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R   at com.ibm.jsse2.ap.unwrap(ap.java:572)
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R   at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:11)
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:1088)
[5/16/18 16:07:28:991 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyOutbound(SSLConnectionLink.java:792)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.connect(SSLConnectionLink.java:1030)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at com.ibm.wsspi.channel.base.OutboundProtocolLink.connect(OutboundProtocolLink.java:87)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.http.channel.outbound.impl.HttpOutboundLink.connect(HttpOutboundLink.java:281)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.channel.framework.impl.OutboundVirtualConnectionImpl.connect(OutboundVirtualConnectionImpl.java:79)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.websvcs.transport.http.HTTPConnection.doConnect(HTTPConnection.java:484)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.websvcs.transport.http.HTTPConnection.connect(HTTPConnection.java:199)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSender.setupHTTPConnection(SOAPOverHTTPSender.java:2203)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.websvcs.transport.http.SOAPOverHTTPSender.<init>(SOAPOverHTTPSender.java:2149)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at com.ibm.ws.websvcs.transport.http.HTTPTransportSender.invoke(HTTPTransportSender.java:372)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:556)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
[5/16/18 16:07:28:992 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
[5/16/18 16:07:28:993 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.execute(AxisInvocationController.java:578)
[5/16/18 16:07:28:993 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.doInvoke(AxisInvocationController.java:127)
[5/16/18 16:07:28:993 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl.invoke(InvocationControllerImpl.java:93)
[5/16/18 16:07:28:993 GMT-04:00] 0000012a SystemErr     R   at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:419)
[5/16/18 16:07:28:993 GMT-04:00] 0000012a SystemErr     R   ... 46 more

1 个答案:

答案 0 :(得分:0)

由于此问题的根本原因尚不清楚,我的愿景是启用调试标志:-Djavax.net.debug=all是个好主意。它可能会在根部发光。