Hi all,
I am integrating the PayPal express checkout in my ofbiz application for checkout purpose, but while connecting with the server the following error is comes related to ssl. but my browser is already having the ssl but the code is throwing the following exception javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150) In paypalfunctions.java Exception in httpcall() e :: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to re at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1057) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1041) at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:402) at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170) at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:840) at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) at org.ofbiz.ecart.misc.paypalfunctions.httpcall(paypalfunctions.java:394) at org.ofbiz.ecart.misc.paypalfunctions.CallShortcutExpressCheckout(paypalfunctions.java:190) at org.ofbiz.ecart.misc.expresscheckout.payPalDoGet(expresscheckout.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) at org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:221) at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:145) at sun.security.validator.Validator.validate(Validator.java:203) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172) at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841) ... 44 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:236) at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194) at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:216) Can anybody tell me how to correct this problem and wat should i need to do to solve this problem? Please... With regards, S K Pradeep kumar |
are you using the paypal third party in ofbiz
if not not enough information. This may be your lead PKIX path building failed: however that is not part of ofbiz paypal. if you do a google on PKIX path building failed: you get a lot of links Pradeep Kumar sent the following on 9/1/2008 12:17 PM: > Hi all, > > I am integrating the PayPal express checkout in my ofbiz application for > checkout purpose, but while connecting with the server > the following error is comes related to ssl. but my browser is already > having the ssl but the code is throwing the following exception > > javax.net.ssl.SSLHandshakeException: > sun.security.validator.ValidatorException: PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: unable to find > valid certification path to requested target > at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150) > In paypalfunctions.java Exception in httpcall() e :: > javax.net.ssl.SSLHandshakeException: > sun.security.validator.ValidatorException: PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: unable to find > valid certification path to re > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518) > at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174) > at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106) > at > com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) > at > com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1057) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1041) > at > sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:402) > at > sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170) > at > sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:840) > at > sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) > at > org.ofbiz.ecart.misc.paypalfunctions.httpcall(paypalfunctions.java:394) > at > org.ofbiz.ecart.misc.paypalfunctions.CallShortcutExpressCheckout(paypalfunctions.java:190) > at > org.ofbiz.ecart.misc.expresscheckout.payPalDoGet(expresscheckout.java:96) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) > at > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) > at > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) > at > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) > at > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) > at > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:595) > Caused by: sun.security.validator.ValidatorException: PKIX path building > failed: sun.security.provider.certpath.SunCertPathBuilderException: unable > to find valid certification path to requested target > at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:221) > at > sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:145) > at sun.security.validator.Validator.validate(Validator.java:203) > at > com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172) > at > com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841) > ... 44 more > Caused by: sun.security.provider.certpath.SunCertPathBuilderException: > unable to find valid certification path to requested target > at > sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:236) > at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194) > at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:216) > > > Can anybody tell me how to correct this problem and wat should i need to do > to solve this problem? Please... > > > With regards, > S K Pradeep kumar > |
In reply to this post by skpradeepkumar
This is common error when the client does not recognize the SSL
certificate presented by the server. Browsers generally through a dialog box and gives you a chance to accept the certificate. If you don't want to see this error in browser, you can import the certificate permanently in the browser (not advised unless you know the associated security risk). From stack trace, JDK (client) is refusing to connect to server due to invalid (not issued by well known CA, expired etc) certificate. Your solution is to import that certificate into you cacert certificate of JDK. Raj Pradeep Kumar wrote: > Hi all,u > > I am integrating the PayPal express checkout in my ofbiz application for > checkout purpose, but while connecting with the server > the following error is comes related to ssl. but my browser is already > having the ssl but the code is throwing the following exception > > javax.net.ssl.SSLHandshakeException: > sun.security.validator.ValidatorException: PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: unable to find > valid certification path to requested target > at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150) > In paypalfunctions.java Exception in httpcall() e :: > javax.net.ssl.SSLHandshakeException: > sun.security.validator.ValidatorException: PKIX path building failed: > sun.security.provider.certpath.SunCertPathBuilderException: unable to find > valid certification path to re > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518) > at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174) > at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106) > at > com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) > at > com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1057) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1041) > at > sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:402) > at > sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:170) > at > sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:840) > at > sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:230) > at > org.ofbiz.ecart.misc.paypalfunctions.httpcall(paypalfunctions.java:394) > at > org.ofbiz.ecart.misc.paypalfunctions.CallShortcutExpressCheckout(paypalfunctions.java:190) > at > org.ofbiz.ecart.misc.expresscheckout.payPalDoGet(expresscheckout.java:96) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) > at > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) > at > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) > at > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) > at > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) > at > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:595) > Caused by: sun.security.validator.ValidatorException: PKIX path building > failed: sun.security.provider.certpath.SunCertPathBuilderException: unable > to find valid certification path to requested target > at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:221) > at > sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:145) > at sun.security.validator.Validator.validate(Validator.java:203) > at > com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172) > at > com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841) > ... 44 more > Caused by: sun.security.provider.certpath.SunCertPathBuilderException: > unable to find valid certification path to requested target > at > sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:236) > at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:194) > at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:216) > > > Can anybody tell me how to correct this problem and wat should i need to do > to solve this problem? Please... > > > With regards, > S K Pradeep kumar > > |
Hi all,
I am integrating the PayPal express checkout in my ofbiz application for checkout purpose, but while connecting (ie calling server api function) with the server API for the checkout functions the following error is comes related to ssl. but my browser is already having the ssl but the code is throwing the following exception 2008-09-06 02:23:22,000 (http-0.0.0.0-8098-Processor4) [ ?:? :INFO ] Proxy configuration file not found. Looks like proxy not being used. 2008-09-06 02:23:22,000 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : live/PayPalAPI/53.0=https://api.paypal.com/nvp 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : live/PayPalAPIAA/53.0=https://api-aa.paypal.com/nvp 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : live/PayPalAPI-threetoken/53.0=https://api-3t.paypal.com/nvp 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : live/PayPalAPIAA-threetoken/53.0=https://api-aa-3t.paypal.com/nvp 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : sandbox/PayPalAPI/53.0=https://api.sandbox.paypal.com/nvp 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : sandbox/PayPalAPIAA/53.0=https://api.sandbox.paypal.com/nvp 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : sandbox/PayPalAPI-threetoken/53.0=https://api-3t.sandbox.paypal.com/n 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : sandbox/PayPalAPIAA-threetoken/53.0=https://api-aa-3t.sandbox.paypal. 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : beta-sandbox/PayPalAPI/53.0=https://api.beta-sandbox.paypal.com/nvp 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : beta-sandbox/PayPalAPIAA/53.0=https://api.beta-sandbox.paypal.com/nvp 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : beta-sandbox/PayPalAPI-threetoken/53.0=https://api-3t.beta-sandbox.pa 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Found endpoint URL : beta-sandbox/PayPalAPIAA-threetoken/53.0=https://api-aa-3t.beta-sandb 2008-09-06 02:23:22,062 (http-0.0.0.0-8098-Processor4) [ ?:? :DEBUG] Connection opened for PayPalAPI: https://api-3t.sandbox.paypal.com/nvp 2008-09-06 02:23:22,359 (http-0.0.0.0-8098-Processor4) [ ?:? :INFO ] AMT=12&CANCELURL=http%3A%2F%2Flocalhost%3A8098%2Fecart%2Fcontrol%2Fmain%3FpaymentType%3DSa 2008-09-06 02:23:23,359 (http-0.0.0.0-8098-Processor4) [ Wire.java:69 :DEBUG] >> "POST /nvp HTTP/1.1[\r][\n]" 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ Wire.java:69 :DEBUG] >> "User-Agent: Jakarta Commons-HttpClient/3.0.1[\r][\n]" 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ Wire.java:69 :DEBUG] >> "Host: api-3t.sandbox.paypal.com[\r][\n]" 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ Wire.java:69 :DEBUG] >> "Content-Length: 464[\r][\n]" 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ Wire.java:69 :DEBUG] >> "Content-Type: text/html; charset=UTF-8[\r][\n]" 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ Wire.java:69 :DEBUG] >> "[\r][\n]" 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ Wire.java:83 :DEBUG] >> "AMT=12&CANCELURL=http%3A%2F%2Flocalhost%3A8098%2Fecart%2Fcontrol%2Fmain%3FpaymentType% 2008-09-06 02:23:23,859 (http-0.0.0.0-8098-Processor4) [ ?:? :FATAL] Unable to complete HTTPS transaction javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518) com.paypal.sdk.exceptions.FatalException: Unable to complete HTTPS transaction at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174) at com.paypal.sdk.core.nvp.NVPAPICaller.call(Unknown Source) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168) at com.paypal.sdk.services.NVPCallerServices.call(Unknown Source) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848) at org.ofbiz.ecart.misc.PayPalReviewOrder.ReviewOrderFunction(PayPalReviewOrder.java:83) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106) at org.ofbiz.ecart.misc.PayPalReviewOrder.setPayPalCredentials(PayPalReviewOrder.java:146) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:622) at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59) at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) at java.io.FilterOutputStream.flush(FilterOutputStream.java:123) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) at org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:150) at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.paypal.sdk.core.nvp.NVPAPICaller.call(Unknown Source) at com.paypal.sdk.services.NVPCallerServices.call(Unknown Source) at org.ofbiz.ecart.misc.PayPalReviewOrder.ReviewOrderFunction(PayPalReviewOrder.java:83) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.ofbiz.ecart.misc.PayPalReviewOrder.setPayPalCredentials(PayPalReviewOrder.java:146) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at java.lang.Thread.run(Thread.java:595) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:622) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at java.io.FilterOutputStream.flush(FilterOutputStream.java:123) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:150) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) at java.lang.Thread.run(Thread.java:595) at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) Caused by: sun.security.validator.ValidatorException: No trusted certificate found at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) at sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) at sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at sun.security.validator.Validator.validate(Validator.java:203) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320) ... 34 more at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841) Caused by: sun.security.validator.ValidatorException: No trusted certificate found ... 52 more at sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304) $$$$$$$$$$$$$$$$$$$$$$ at sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107) at sun.security.validator.Validator.validate(Validator.java:203) at com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172) at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320) at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841) ... 52 more 2008-09-06 02:23:23,968 (http-0.0.0.0-8098-Processor4) [ ?:? :FATAL] java.lang.NullPointerException at java.util.StringTokenizer.<init>(StringTokenizer.java:182) at java.util.StringTokenizer.<init>(StringTokenizer.java:204) at com.paypal.sdk.core.nvp.NVPDecoder.decode(Unknown Source) at org.ofbiz.ecart.misc.PayPalReviewOrder.ReviewOrderFunction(PayPalReviewOrder.java:94) at org.ofbiz.ecart.misc.PayPalReviewOrder.setPayPalCredentials(PayPalReviewOrder.java:146) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) at org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) at org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595) 2008-09-06 02:23:23,984 (http-0.0.0.0-8098-Processor4) [ RequestManager.java:117:INFO ] [RequestManager.getRequestAttribute] Value for attribute "null" of uri "revieworderpayapal 2008-09-06 02:23:23,984 (http-0.0.0.0-8098-Processor4) [ RequestHandler.java:456:INFO ] [RequestHandler.doRequest]: Response is handled by the event. sessionId=9368E77A449B422331 2008-09-06 02:23:24,015 (http-0.0.0.0-8098-Processor4) [ ControlServlet.java:256:DEBUG] [[[revieworderpayapal] Done rendering page, Servlet Finished- total:2.187,since last([revi 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ ControlServlet.java:90 :INFO ] The character encoding of the request is: [null]. The character encoding we will use for t 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ ControlServlet.java:126:DEBUG] [[[error.jsp] Servlet Starting, doing setup- total:0.0,since last(Begin):0.0]] 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ ControlServlet.java:181:DEBUG] [[[error.jsp] Setup done, doing Event(s) and View(s)- total:0.0,since last([error.jsp] Ser 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ RequestHandler.java:266:INFO ] [Processing Request]: cms sessionId=9368E77A449B422331713B506F55550C.jvm1 2008-09-06 02:23:24,078 (http-0.0.0.0-8098-Processor4) [ CmsEvents.java:125:INFO ] Path INFO for Alias: error.jsp 2008-09-06 02:23:24,109 (http-0.0.0.0-8098-Processor4) [ CmsEvents.java:162:INFO ] Current PathInfo: error.jsp 2008-09-06 02:23:24,125 (http-0.0.0.0-8098-Processor4) [ CmsEvents.java:227:INFO ] No website [WebStore] publish point found for contentId: error.jsp 2008-09-06 02:23:24,140 (http-0.0.0.0-8098-Processor4) [ JavaEventHandler.java:96 :ERROR] -- With regards, S K Pradeep kumar |
This is problem related to no valid certificate available in your system
(client) and it had been discussed many time in the mailing list. I would suggest you to search the mail archives. Raj Pradeep Kumar wrote: > Hi all, > > I am integrating the PayPal express checkout in my ofbiz application > for > checkout purpose, but while connecting (ie calling server api function) with > the server API for the checkout functions the following error is comes > related to ssl. but my browser is already > having the ssl but the code is throwing the following exception > > 2008-09-06 02:23:22,000 (http-0.0.0.0-8098-Processor4) > [ ?:? :INFO ] Proxy configuration file not found. > Looks like proxy not being used. > 2008-09-06 02:23:22,000 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > live/PayPalAPI/53.0=https://api.paypal.com/nvp > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > live/PayPalAPIAA/53.0=https://api-aa.paypal.com/nvp > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > live/PayPalAPI-threetoken/53.0=https://api-3t.paypal.com/nvp > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > live/PayPalAPIAA-threetoken/53.0=https://api-aa-3t.paypal.com/nvp > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > sandbox/PayPalAPI/53.0=https://api.sandbox.paypal.com/nvp > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > sandbox/PayPalAPIAA/53.0=https://api.sandbox.paypal.com/nvp > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > sandbox/PayPalAPI-threetoken/53.0=https://api-3t.sandbox.paypal.com/n > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > sandbox/PayPalAPIAA-threetoken/53.0=https://api-aa-3t.sandbox.paypal. > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > beta-sandbox/PayPalAPI/53.0=https://api.beta-sandbox.paypal.com/nvp > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > beta-sandbox/PayPalAPIAA/53.0=https://api.beta-sandbox.paypal.com/nvp > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > beta-sandbox/PayPalAPI-threetoken/53.0=https://api-3t.beta-sandbox.pa > 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Found endpoint URL : > beta-sandbox/PayPalAPIAA-threetoken/53.0=https://api-aa-3t.beta-sandb > 2008-09-06 02:23:22,062 (http-0.0.0.0-8098-Processor4) > [ ?:? :DEBUG] Connection opened for PayPalAPI: > https://api-3t.sandbox.paypal.com/nvp > 2008-09-06 02:23:22,359 (http-0.0.0.0-8098-Processor4) > [ ?:? :INFO ] > AMT=12&CANCELURL=http%3A%2F%2Flocalhost%3A8098%2Fecart%2Fcontrol%2Fmain%3FpaymentType%3DSa > 2008-09-06 02:23:23,359 (http-0.0.0.0-8098-Processor4) [ > Wire.java:69 :DEBUG] >> "POST /nvp HTTP/1.1[\r][\n]" > 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ > Wire.java:69 :DEBUG] >> "User-Agent: Jakarta > Commons-HttpClient/3.0.1[\r][\n]" > 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ > Wire.java:69 :DEBUG] >> "Host: api-3t.sandbox.paypal.com[\r][\n]" > 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ > Wire.java:69 :DEBUG] >> "Content-Length: 464[\r][\n]" > 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ > Wire.java:69 :DEBUG] >> "Content-Type: text/html; charset=UTF-8[\r][\n]" > 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ > Wire.java:69 :DEBUG] >> "[\r][\n]" > 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ > Wire.java:83 :DEBUG] >> > "AMT=12&CANCELURL=http%3A%2F%2Flocalhost%3A8098%2Fecart%2Fcontrol%2Fmain%3FpaymentType% > 2008-09-06 02:23:23,859 (http-0.0.0.0-8098-Processor4) > [ ?:? :FATAL] Unable to complete HTTPS transaction > javax.net.ssl.SSLHandshakeException: > sun.security.validator.ValidatorException: No trusted certificate found > at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518) > com.paypal.sdk.exceptions.FatalException: Unable to complete HTTPS > transaction > at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174) > at com.paypal.sdk.core.nvp.NVPAPICaller.call(Unknown Source) > at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168) > at com.paypal.sdk.services.NVPCallerServices.call(Unknown Source) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848) > at > org.ofbiz.ecart.misc.PayPalReviewOrder.ReviewOrderFunction(PayPalReviewOrder.java:83) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106) > at > org.ofbiz.ecart.misc.PayPalReviewOrder.setPayPalCredentials(PayPalReviewOrder.java:146) > at > com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030) > at java.lang.reflect.Method.invoke(Method.java:585) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:622) > at > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) > at > com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59) > at > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) > at > java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) > at > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) > at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) > at > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) > at java.io.FilterOutputStream.flush(FilterOutputStream.java:123) > at > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) > at > org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:150) > at > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) > at > org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > at > org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > at > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) > at > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at com.paypal.sdk.core.nvp.NVPAPICaller.call(Unknown Source) > at com.paypal.sdk.services.NVPCallerServices.call(Unknown Source) > at > org.ofbiz.ecart.misc.PayPalReviewOrder.ReviewOrderFunction(PayPalReviewOrder.java:83) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at > org.ofbiz.ecart.misc.PayPalReviewOrder.setPayPalCredentials(PayPalReviewOrder.java:146) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > at > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > at > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > at > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > at java.lang.Thread.run(Thread.java:595) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > Caused by: javax.net.ssl.SSLHandshakeException: > sun.security.validator.ValidatorException: No trusted certificate found > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518) > at > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) > at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at > com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > at > com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:622) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at > com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > at > java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at java.io.FilterOutputStream.flush(FilterOutputStream.java:123) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at > org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:150) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at > org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) > at java.lang.Thread.run(Thread.java:595) > at > org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) > Caused by: sun.security.validator.ValidatorException: No trusted certificate > found > at > org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) > at > sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304) > at > org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) > at > sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107) > at > org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) > at sun.security.validator.Validator.validate(Validator.java:203) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) > at > com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172) > at > org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) > at > com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320) > ... 34 more > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841) > Caused by: sun.security.validator.ValidatorException: No trusted certificate > found > ... 52 more > at > sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304) > $$$$$$$$$$$$$$$$$$$$$$ > at > sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107) > at sun.security.validator.Validator.validate(Validator.java:203) > at > com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172) > at > com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320) > at > com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841) > ... 52 more > 2008-09-06 02:23:23,968 (http-0.0.0.0-8098-Processor4) > [ ?:? :FATAL] > java.lang.NullPointerException > at java.util.StringTokenizer.<init>(StringTokenizer.java:182) > at java.util.StringTokenizer.<init>(StringTokenizer.java:204) > at com.paypal.sdk.core.nvp.NVPDecoder.decode(Unknown Source) > at > org.ofbiz.ecart.misc.PayPalReviewOrder.ReviewOrderFunction(PayPalReviewOrder.java:94) > at > org.ofbiz.ecart.misc.PayPalReviewOrder.setPayPalCredentials(PayPalReviewOrder.java:146) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) > at > org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) > at > org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) > at > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) > at > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) > at > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) > at > org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) > at > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) > at > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) > at java.lang.Thread.run(Thread.java:595) > 2008-09-06 02:23:23,984 (http-0.0.0.0-8098-Processor4) [ > RequestManager.java:117:INFO ] [RequestManager.getRequestAttribute] Value > for attribute "null" of uri "revieworderpayapal > 2008-09-06 02:23:23,984 (http-0.0.0.0-8098-Processor4) [ > RequestHandler.java:456:INFO ] [RequestHandler.doRequest]: Response is > handled by the event. sessionId=9368E77A449B422331 > 2008-09-06 02:23:24,015 (http-0.0.0.0-8098-Processor4) [ > ControlServlet.java:256:DEBUG] [[[revieworderpayapal] Done rendering page, > Servlet Finished- total:2.187,since last([revi > 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ > ControlServlet.java:90 :INFO ] The character encoding of the request is: > [null]. The character encoding we will use for t > 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ > ControlServlet.java:126:DEBUG] [[[error.jsp] Servlet Starting, doing setup- > total:0.0,since last(Begin):0.0]] > 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ > ControlServlet.java:181:DEBUG] [[[error.jsp] Setup done, doing Event(s) and > View(s)- total:0.0,since last([error.jsp] Ser > 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ > RequestHandler.java:266:INFO ] [Processing Request]: cms > sessionId=9368E77A449B422331713B506F55550C.jvm1 > 2008-09-06 02:23:24,078 (http-0.0.0.0-8098-Processor4) [ > CmsEvents.java:125:INFO ] Path INFO for Alias: error.jsp > 2008-09-06 02:23:24,109 (http-0.0.0.0-8098-Processor4) [ > CmsEvents.java:162:INFO ] Current PathInfo: error.jsp > 2008-09-06 02:23:24,125 (http-0.0.0.0-8098-Processor4) [ > CmsEvents.java:227:INFO ] No website [WebStore] publish point found for > contentId: error.jsp > 2008-09-06 02:23:24,140 (http-0.0.0.0-8098-Processor4) [ > JavaEventHandler.java:96 :ERROR] > > > > > > |
Here are the link for searching old emails :-
http://www.nabble.com/OFBiz-f2740.html & http://ofbiz.markmail.org/ -- Ashish Vijaywargiya Indore (M.P), India http://en.wikipedia.org/wiki/Indore On Sat, Sep 6, 2008 at 11:01 AM, Raj Saini <[hidden email]> wrote: > This is problem related to no valid certificate available in your system > (client) and it had been discussed many time in the mailing list. I would > suggest you to search the mail archives. > > Raj > > > > Pradeep Kumar wrote: > >> Hi all, >> >> I am integrating the PayPal express checkout in my ofbiz application >> for >> checkout purpose, but while connecting (ie calling server api function) >> with >> the server API for the checkout functions the following error is comes >> related to ssl. but my browser is already >> having the ssl but the code is throwing the following exception >> >> 2008-09-06 02:23:22,000 (http-0.0.0.0-8098-Processor4) >> [ ?:? :INFO ] Proxy configuration file not found. >> Looks like proxy not being used. >> 2008-09-06 02:23:22,000 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> live/PayPalAPI/53.0=https://api.paypal.com/nvp >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> live/PayPalAPIAA/53.0=https://api-aa.paypal.com/nvp >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> live/PayPalAPI-threetoken/53.0=https://api-3t.paypal.com/nvp >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> live/PayPalAPIAA-threetoken/53.0=https://api-aa-3t.paypal.com/nvp >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> sandbox/PayPalAPI/53.0=https://api.sandbox.paypal.com/nvp >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> sandbox/PayPalAPIAA/53.0=https://api.sandbox.paypal.com/nvp >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> sandbox/PayPalAPI-threetoken/53.0=https://api-3t.sandbox.paypal.com/n >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> sandbox/PayPalAPIAA-threetoken/53.0=https://api-aa-3t.sandbox.paypal. >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> beta-sandbox/PayPalAPI/53.0=https://api.beta-sandbox.paypal.com/nvp >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> beta-sandbox/PayPalAPIAA/53.0=https://api.beta-sandbox.paypal.com/nvp >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> beta-sandbox/PayPalAPI-threetoken/53.0=https://api-3t.beta-sandbox.pa >> 2008-09-06 02:23:22,015 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Found endpoint URL : >> beta-sandbox/PayPalAPIAA-threetoken/53.0=https://api-aa-3t.beta-sandb >> 2008-09-06 02:23:22,062 (http-0.0.0.0-8098-Processor4) >> [ ?:? :DEBUG] Connection opened for PayPalAPI: >> https://api-3t.sandbox.paypal.com/nvp >> 2008-09-06 02:23:22,359 (http-0.0.0.0-8098-Processor4) >> [ ?:? :INFO ] >> >> AMT=12&CANCELURL=http%3A%2F%2Flocalhost%3A8098%2Fecart%2Fcontrol%2Fmain%3FpaymentType%3DSa >> 2008-09-06 02:23:23,359 (http-0.0.0.0-8098-Processor4) [ >> Wire.java:69 :DEBUG] >> "POST /nvp HTTP/1.1[\r][\n]" >> 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ >> Wire.java:69 :DEBUG] >> "User-Agent: Jakarta >> Commons-HttpClient/3.0.1[\r][\n]" >> 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ >> Wire.java:69 :DEBUG] >> "Host: api-3t.sandbox.paypal.com[\r][\n]" >> 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ >> Wire.java:69 :DEBUG] >> "Content-Length: 464[\r][\n]" >> 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ >> Wire.java:69 :DEBUG] >> "Content-Type: text/html; charset=UTF-8[\r][\n]" >> 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ >> Wire.java:69 :DEBUG] >> "[\r][\n]" >> 2008-09-06 02:23:23,421 (http-0.0.0.0-8098-Processor4) [ >> Wire.java:83 :DEBUG] >> >> >> "AMT=12&CANCELURL=http%3A%2F%2Flocalhost%3A8098%2Fecart%2Fcontrol%2Fmain%3FpaymentType% >> 2008-09-06 02:23:23,859 (http-0.0.0.0-8098-Processor4) >> [ ?:? :FATAL] Unable to complete HTTPS transaction >> javax.net.ssl.SSLHandshakeException: >> sun.security.validator.ValidatorException: No trusted certificate found >> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150) >> at >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518) >> com.paypal.sdk.exceptions.FatalException: Unable to complete HTTPS >> transaction >> at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174) >> at com.paypal.sdk.core.nvp.NVPAPICaller.call(Unknown Source) >> at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168) >> at com.paypal.sdk.services.NVPCallerServices.call(Unknown Source) >> at >> >> com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848) >> at >> >> org.ofbiz.ecart.misc.PayPalReviewOrder.ReviewOrderFunction(PayPalReviewOrder.java:83) >> at >> >> com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106) >> at >> >> org.ofbiz.ecart.misc.PayPalReviewOrder.setPayPalCredentials(PayPalReviewOrder.java:146) >> at >> com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> >> com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) >> at >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) >> at >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at >> >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:622) >> at >> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) >> at >> >> com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59) >> at >> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) >> at >> java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) >> at >> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) >> at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) >> at >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) >> at java.io.FilterOutputStream.flush(FilterOutputStream.java:123) >> at >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) >> at >> >> org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:150) >> at >> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) >> at >> >> org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) >> at >> >> org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) >> at >> >> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) >> at >> >> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >> at >> >> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) >> at >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) >> at >> >> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) >> at >> >> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >> at com.paypal.sdk.core.nvp.NVPAPICaller.call(Unknown Source) >> at com.paypal.sdk.services.NVPCallerServices.call(Unknown Source) >> at >> >> org.ofbiz.ecart.misc.PayPalReviewOrder.ReviewOrderFunction(PayPalReviewOrder.java:83) >> at >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >> at >> >> org.ofbiz.ecart.misc.PayPalReviewOrder.setPayPalCredentials(PayPalReviewOrder.java:146) >> at >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) >> at >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) >> at >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) >> at >> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) >> at >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) >> at >> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) >> at >> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) >> at >> >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) >> at >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) >> at >> >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >> at >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) >> at >> >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) >> at >> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) >> at >> >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) >> at java.lang.Thread.run(Thread.java:595) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) >> Caused by: javax.net.ssl.SSLHandshakeException: >> sun.security.validator.ValidatorException: No trusted certificate found >> at >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) >> at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:150) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >> at >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1518) >> at >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) >> at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:174) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) >> at com.sun.net.ssl.internal.ssl.Handshaker.fatalSE(Handshaker.java:168) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >> at >> >> com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:848) >> at >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >> at >> >> com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:106) >> at >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) >> at >> com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:495) >> at >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) >> at >> >> com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:433) >> at >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) >> at >> >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) >> at >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) >> at >> >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030) >> at >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) >> at >> >> com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:622) >> at >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) >> at >> >> com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) >> at >> java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) >> at >> >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) >> at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) >> at >> >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >> at java.io.FilterOutputStream.flush(FilterOutputStream.java:123) >> at >> >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) >> at >> >> org.apache.commons.httpclient.methods.StringRequestEntity.writeRequest(StringRequestEntity.java:150) >> at >> >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) >> at >> >> org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:495) >> at java.lang.Thread.run(Thread.java:595) >> at >> >> org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:1973) >> Caused by: sun.security.validator.ValidatorException: No trusted >> certificate >> found >> at >> >> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:993) >> at >> >> sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304) >> at >> >> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:397) >> at >> >> sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107) >> at >> >> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) >> at sun.security.validator.Validator.validate(Validator.java:203) >> at >> >> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) >> at >> >> com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172) >> at >> >> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) >> at >> >> com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320) >> ... 34 more >> at >> >> com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841) >> Caused by: sun.security.validator.ValidatorException: No trusted >> certificate >> found >> ... 52 more >> at >> >> sun.security.validator.SimpleValidator.buildTrustedChain(SimpleValidator.java:304) >> $$$$$$$$$$$$$$$$$$$$$$ >> at >> >> sun.security.validator.SimpleValidator.engineValidate(SimpleValidator.java:107) >> at sun.security.validator.Validator.validate(Validator.java:203) >> at >> >> com.sun.net.ssl.internal.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:172) >> at >> >> com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(SSLContextImpl.java:320) >> at >> >> com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:841) >> ... 52 more >> 2008-09-06 02:23:23,968 (http-0.0.0.0-8098-Processor4) >> [ ?:? :FATAL] >> java.lang.NullPointerException >> at java.util.StringTokenizer.<init>(StringTokenizer.java:182) >> at java.util.StringTokenizer.<init>(StringTokenizer.java:204) >> at com.paypal.sdk.core.nvp.NVPDecoder.decode(Unknown Source) >> at >> >> org.ofbiz.ecart.misc.PayPalReviewOrder.ReviewOrderFunction(PayPalReviewOrder.java:94) >> at >> >> org.ofbiz.ecart.misc.PayPalReviewOrder.setPayPalCredentials(PayPalReviewOrder.java:146) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:585) >> at >> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:88) >> at >> org.ofbiz.webapp.event.JavaEventHandler.invoke(JavaEventHandler.java:74) >> at >> org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:472) >> at >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:304) >> at >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:189) >> at >> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:77) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >> at >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:249) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) >> at >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) >> at >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) >> at >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) >> at >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) >> at >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) >> at >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) >> at >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) >> at >> >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) >> at >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) >> at >> >> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) >> at >> >> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) >> at >> >> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) >> at >> >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) >> at java.lang.Thread.run(Thread.java:595) >> 2008-09-06 02:23:23,984 (http-0.0.0.0-8098-Processor4) [ >> RequestManager.java:117:INFO ] [RequestManager.getRequestAttribute] Value >> for attribute "null" of uri "revieworderpayapal >> 2008-09-06 02:23:23,984 (http-0.0.0.0-8098-Processor4) [ >> RequestHandler.java:456:INFO ] [RequestHandler.doRequest]: Response is >> handled by the event. sessionId=9368E77A449B422331 >> 2008-09-06 02:23:24,015 (http-0.0.0.0-8098-Processor4) [ >> ControlServlet.java:256:DEBUG] [[[revieworderpayapal] Done rendering page, >> Servlet Finished- total:2.187,since last([revi >> 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ >> ControlServlet.java:90 :INFO ] The character encoding of the request is: >> [null]. The character encoding we will use for t >> 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ >> ControlServlet.java:126:DEBUG] [[[error.jsp] Servlet Starting, doing >> setup- >> total:0.0,since last(Begin):0.0]] >> 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ >> ControlServlet.java:181:DEBUG] [[[error.jsp] Setup done, doing Event(s) >> and >> View(s)- total:0.0,since last([error.jsp] Ser >> 2008-09-06 02:23:24,062 (http-0.0.0.0-8098-Processor4) [ >> RequestHandler.java:266:INFO ] [Processing Request]: cms >> sessionId=9368E77A449B422331713B506F55550C.jvm1 >> 2008-09-06 02:23:24,078 (http-0.0.0.0-8098-Processor4) [ >> CmsEvents.java:125:INFO ] Path INFO for Alias: error.jsp >> 2008-09-06 02:23:24,109 (http-0.0.0.0-8098-Processor4) [ >> CmsEvents.java:162:INFO ] Current PathInfo: error.jsp >> 2008-09-06 02:23:24,125 (http-0.0.0.0-8098-Processor4) [ >> CmsEvents.java:227:INFO ] No website [WebStore] publish point found for >> contentId: error.jsp >> 2008-09-06 02:23:24,140 (http-0.0.0.0-8098-Processor4) [ >> JavaEventHandler.java:96 :ERROR] >> >> >> >> >> >> >> > > |
Free forum by Nabble | Edit this page |