Re: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure while connecting to Paypal Sandbox

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure while connecting to Paypal Sandbox

Jacques Le Roux
Administrator
Hi,

Sorry your message got deep in the pending list. If you have not already solved the issue please have a look at
http://svn.apache.org/viewvc?view=revision&revision=1636866

Please use rather user ML for such questions, see why here http://ofbiz.apache.org/mailing-lists.html
You will get a better support and it's more fair to share with everybody

The wider the audience the better the answers you might get

Thanks

Jacques

Le 05/06/2016 à 05:01, [hidden email] a écrit :

> Hi Jacques,
> I am getting handshake_failure error while trying to communicate with Paypal sandbox.
> Curretly I am using Ofbiz 13.07 version.
> Paypal has stopped supporting TLSv1.0 and TLSv1.1 so to use TLSv1.2 I changed to below file to configure TLSv1.2.
>
> ofbiz-release13.07\framework\catalina\ofbiz-component.xml
> changed this property..  <property name="protocols" value="TLSv1.2"/>
>
>
> Still I am facing the same issue.
> Please let me know how to resolve this.
>
>
>
>   [java] 2016-06-05 08:17:59,343 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : live/PayPalAPI/65.1=https://api.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,343 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : live/PayPalAPIAA/65.1=https://api-aa.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,347 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : live/PayPalAPI-threetoken/65.1=https://api-3t.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,347 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : live/PayPalAPIAA-threetoken/65.1=https://api-aa-3t.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,347 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : sandbox/PayPalAPI/65.1=https://api.sandbox.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,347 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : sandbox/PayPalAPIAA/65.1=https://api.sandbox.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,347 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : sandbox/PayPalAPI-threetoken/65.1=https://api-3t.sandbox.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,347 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : sandbox/PayPalAPIAA-threetoken/65.1=https://api-aa-3t.sandbox.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,347 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : beta-sandbox/PayPalAPI/65.1=https://api.beta-sandbox.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,347 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : beta-sandbox/PayPalAPIAA/65.1=https://api.beta-sandbox.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,347 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : beta-sandbox/PayPalAPI-threetoken/65.1=https://api-3t.beta-sandbox.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,347 |0.0.0.0-8443-exec-15 |EndpointsReader               |D| Found endpoint URL : beta-sandbox/PayPalAPIAA-threetoken/65.1=https://api-aa-3t.beta-sandbox.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,475 |0.0.0.0-8443-exec-15 |NVPAPICaller                  |D| Connection opened for PayPalAPI: https://api-3t.sandbox.paypal.com/nvp
>   [java] 2016-06-05 08:17:59,979 |0.0.0.0-8443-exec-15 |NVPAPICaller                  |I| CANCELURL=https%3A%2F%2F127.0.0.1%3A8443%2Fecommerce%2Fcontrol%2FpayPalCheckoutCancel&MAXAMT=43.19&AMT=43.19&L_SHIPPINGOPTIONISDEFAULT0=true&CALLBACK=https%3A%2F%2F127.0.0.1%3A8443%2Fecommerce%2Fcontrol%2FpayPalCheckoutUpdate&L_AMT0=47.99&TAXAMT=0.00&L_AMT1=-47.99&L_AMT2=-4.80&ITEMAMT=43.19&L_SHIPPINGOPTIONNAME0=Calculated+Offline&CALLBACKTIMEOUT=6&REQCONFIRMSHIPPING=0&L_SHIPPINGOPTIONAMOUNT0=0.00&ALLOWNOTE=1&RETURNURL=https%3A%2F%2F127.0.0.1%3A8443%2Fecommerce%2Fcontrol%2FpayPalCheckoutReturn&PAYMENTACTION=Order&INSURANCEOPTIONOFFERED=false&L_QTY0=2&L_NUMBER1=GZ-2002&L_NUMBER0=GZ-2002&SHIPPINGAMT=0.00&L_QTY2=1&L_QTY1=1&L_NUMBER2=N%2FA&L_NAME0=Square+Gizmo&L_NAME1=Square+Gizmo+Adjustments&L_NAME2=Order+Adjustments&METHOD=SetExpressCheckout&CURRENCYCODE=USD&PWD=******&SOURCE=PAYPAL_JAVA_SDK_65.1&SIGNATURE=**********&USER=prgupta-facilitator_api1.professionalaccess.com&VERSION=65.1 sent
>   [java] 2016-06-05 08:18:01,556 |0.0.0.0-8443-exec-15 |header                        |D| >> "POST /nvp HTTP/1.1[\r][\n]"
>   [java] 2016-06-05 08:18:01,648 |0.0.0.0-8443-exec-15 |header                        |D| >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
>   [java] 2016-06-05 08:18:01,648 |0.0.0.0-8443-exec-15 |header                        |D| >> "Host: api-3t.sandbox.paypal.com[\r][\n]"
>   [java] 2016-06-05 08:18:01,648 |0.0.0.0-8443-exec-15 |header                        |D| >> "Content-Length: 948[\r][\n]"
>   [java] 2016-06-05 08:18:01,652 |0.0.0.0-8443-exec-15 |header                        |D| >> "Content-Type: text/html; charset=UTF-8[\r][\n]"
>   [java] 2016-06-05 08:18:01,652 |0.0.0.0-8443-exec-15 |header                        |D| >> "[\r][\n]"
>   [java] 2016-06-05 08:18:01,652 |0.0.0.0-8443-exec-15 |content                       |D| >> "CANCELURL=https%3A%2F%2F127.0.0.1%3A8443%2Fecommerce%2Fcontrol%2FpayPalCheckoutCancel&MAXAMT=43.19&AMT=43.19&L_SHIPPINGOPTIONISDEFAULT0=true&CALLBACK=https%3A%2F%2F127.0.0.1%3A8443%2Fecommerce%2Fcontrol%2FpayPalCheckoutUpdate&L_AMT0=47.99&TAXAMT=0.00&L_AMT1=-47.99&L_AMT2=-4.80&ITEMAMT=43.19&L_SHIPPINGOPTIONNAME0=Calculated+Offline&CALLBACKTIMEOUT=6&REQCONFIRMSHIPPING=0&L_SHIPPINGOPTIONAMOUNT0=0.00&ALLOWNOTE=1&RETURNURL=https%3A%2F%2F127.0.0.1%3A8443%2Fecommerce%2Fcontrol%2FpayPalCheckoutReturn&PAYMENTACTION=Order&INSURANCEOPTIONOFFERED=false&L_QTY0=2&L_NUMBER1=GZ-2002&L_NUMBER0=GZ-2002&SHIPPINGAMT=0.00&L_QTY2=1&L_QTY1=1&L_NUMBER2=N%2FA&L_NAME0=Square+Gizmo&L_NAME1=Square+Gizmo+Adjustments&L_NAME2=Order+Adjustments&METHOD=SetExpressCheckout&CURRENCYCODE=USD&PWD=3JUSK5HZZZHKPD6T&SOURCE=PAYPAL_JAVA_SDK_65.1&SIGNATURE=AFcWxV21C7fd0v3bYYYRCpSSRl31AkMWJMOz6816U2Hf1IqOF6qC15x3&USER=prgupta-facilitator_api1.professionalaccess.com&VERSION=65.1"
>   [java] 2016-06-05 08:18:04,998 |0.0.0.0-8443-exec-15 |FatalException                |F| Unable to complete HTTPS transaction
>   [java] javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
>   [java]     at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:709) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122) ~[?:1.7.0_79]
>   [java]     at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[?:1.7.0_79]
>   [java]     at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[?:1.7.0_79]
>   [java]     at java.io.FilterOutputStream.flush(FilterOutputStream.java:140) ~[?:1.7.0_79]
>   [java]     at org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:146) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) ~[commons-httpclient-3.1.jar:?]
>   [java]     at com.paypal.sdk.core.nvp.NVPAPICaller.call(NVPAPICaller.java:353) [paypal_base.jar:?]
>   [java]     at com.paypal.sdk.services.NVPCallerServices.call(NVPCallerServices.java:56) [paypal_base.jar:?]
>   [java]     at org.ofbiz.accounting.thirdparty.paypal.PayPalServices.sendNVPRequest(PayPalServices.java:1008) [ofbiz-accounting.jar:?]
>   [java]     at org.ofbiz.accounting.thirdparty.paypal.PayPalServices.setExpressCheckout(PayPalServices.java:149) [ofbiz-accounting.jar:?]
>   [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
>   [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
>   [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
>   [java]     at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
>   [java]     at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.order.thirdparty.paypal.ExpressCheckoutEvents.setExpressCheckout(ExpressCheckoutEvents.java:68) [ofbiz-order.jar:?]
>   [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
>   [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
>   [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
>   [java]     at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
>   [java]     at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:93) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:79) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:696) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:421) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211) [ofbiz-webapp.jar:?]
>   [java]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [servlet-api-3.0.jar:?]
>   [java]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-3.0.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:317) [ofbiz-webapp.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.ofbiz.content.content.ContentUrlFilter.doFilter(ContentUrlFilter.java:110) [ofbiz-content.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.ofbiz.product.category.CatalogUrlFilter.doFilter(CatalogUrlFilter.java:338) [ofbiz-product.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_79]
>   [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_79]
>   [java]     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79]
>   [java] 2016-06-05 08:18:05,042 |0.0.0.0-8443-exec-15 |PayPalServices                |E| null
>   [java] com.paypal.sdk.exceptions.FatalException: Unable to complete HTTPS transaction
>   [java]     at com.paypal.sdk.core.nvp.NVPAPICaller.call(NVPAPICaller.java:372) ~[paypal_base.jar:?]
>   [java]     at com.paypal.sdk.services.NVPCallerServices.call(NVPCallerServices.java:56) ~[paypal_base.jar:?]
>   [java]     at org.ofbiz.accounting.thirdparty.paypal.PayPalServices.sendNVPRequest(PayPalServices.java:1008) ~[ofbiz-accounting.jar:?]
>   [java]     at org.ofbiz.accounting.thirdparty.paypal.PayPalServices.setExpressCheckout(PayPalServices.java:149) [ofbiz-accounting.jar:?]
>   [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
>   [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
>   [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
>   [java]     at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
>   [java]     at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:400) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.order.thirdparty.paypal.ExpressCheckoutEvents.setExpressCheckout(ExpressCheckoutEvents.java:68) [ofbiz-order.jar:?]
>   [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
>   [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
>   [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
>   [java]     at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
>   [java]     at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:93) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:79) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:696) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:421) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211) [ofbiz-webapp.jar:?]
>   [java]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [servlet-api-3.0.jar:?]
>   [java]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-3.0.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:317) [ofbiz-webapp.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.ofbiz.content.content.ContentUrlFilter.doFilter(ContentUrlFilter.java:110) [ofbiz-content.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.ofbiz.product.category.CatalogUrlFilter.doFilter(CatalogUrlFilter.java:338) [ofbiz-product.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_79]
>   [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_79]
>   [java]     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79]
>   [java] Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
>   [java]     at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:709) ~[?:1.7.0_79]
>   [java]     at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122) ~[?:1.7.0_79]
>   [java]     at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) ~[?:1.7.0_79]
>   [java]     at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) ~[?:1.7.0_79]
>   [java]     at java.io.FilterOutputStream.flush(FilterOutputStream.java:140) ~[?:1.7.0_79]
>   [java]     at org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:146) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) ~[commons-httpclient-3.1.jar:?]
>   [java]     at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) ~[commons-httpclient-3.1.jar:?]
>   [java]     at com.paypal.sdk.core.nvp.NVPAPICaller.call(NVPAPICaller.java:353) ~[paypal_base.jar:?]
>   [java]     ... 50 more
>   [java] 2016-06-05 08:18:05,046 |0.0.0.0-8443-exec-15 |ServiceDispatcher             |E| Error in Service [payPalSetExpressCheckout]: Unable to complete HTTPS transaction
>   [java] 2016-06-05 08:18:05,046 |0.0.0.0-8443-exec-15 |TransactionUtil               |E| [TransactionUtil.rollback]
>   [java] java.lang.Exception: Stack Trace
>   [java]     at org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:340) [ofbiz-entity-test.jar:?]
>   [java]     at org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:317) [ofbiz-entity-test.jar:?]
>   [java]     at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:539) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:232) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83) [ofbiz-service.jar:?]
>   [java]     at org.ofbiz.order.thirdparty.paypal.ExpressCheckoutEvents.setExpressCheckout(ExpressCheckoutEvents.java:68) [ofbiz-order.jar:?]
>   [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_79]
>   [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_79]
>   [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_79]
>   [java]     at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_79]
>   [java]     at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:93) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:79) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:696) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:421) [ofbiz-webapp.jar:?]
>   [java]     at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:211) [ofbiz-webapp.jar:?]
>   [java]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) [servlet-api-3.0.jar:?]
>   [java]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [servlet-api-3.0.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:317) [ofbiz-webapp.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.ofbiz.content.content.ContentUrlFilter.doFilter(ContentUrlFilter.java:110) [ofbiz-content.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.ofbiz.product.category.CatalogUrlFilter.doFilter(CatalogUrlFilter.java:338) [ofbiz-product.jar:?]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) [tomcat-7.0.68-catalina.jar:7.0.68]
>   [java]     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_79]
>   [java]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_79]
>   [java]     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-7.0.68-tomcat-coyote.jar:7.0.68]
>   [java]     at java.lang.Thread.run(Thread.java:745) [?:1.7.0_79]
>   [java] 2016-06-05 08:18:05,066 |0.0.0.0-8443-exec-15 |TransactionUtil               |I| [TransactionUtil.rollback] transaction rolled back
>   [java] 2016-06-05 08:18:05,066 |0.0.0.0-8443-exec-15 |ServiceDispatcher             |T| Sync service [ecommerce/payPalSetExpressCheckout] finished in [6123] milliseconds
>   [java] 2016-06-05 08:18:05,070 |0.0.0.0-8443-exec-15 |ExpressCheckoutEvents         |E| Unable to complete HTTPS transaction
>   [java] 2016-06-05 08:18:05,154 |0.0.0.0-8443-exec-15 |UtilProperties                |I| ResourceBundle AccountingErrorUiLabels (en_US) created in 0.084s with 94 properties
>   [java] 2016-06-05 08:18:05,158 |0.0.0.0-8443-exec-15 |RequestHandler                |I| Ran Event [java:org.ofbiz.order.thirdparty.paypal.ExpressCheckoutEvents#setExpressCheckout] from [request], result is [error]
>   [java] 2016-06-05 08:18:05,158 |0.0.0.0-8443-exec-15 |RequestHandler                |I| Rendering View [showcart], sessionId=130E43479D2AA5DDB25341EC7A527928.jvm1
>   [java] 2016-06-05 08:18:05,538 |0.0.0.0-8443-exec-15 |ServiceDispatcher             |T| Sync service [ecommerce/getUserPreferenceGroup] finished in [4] milliseconds
>
>
> Regards,
> Harsha
>
> _____________________________________
> Sent from http://ofbiz.135035.n4.nabble.com
>
>
>