1 Reply Latest reply on Oct 28, 2012 6:59 PM by Tomaz Cerar

    PAYPAL INTEGRATION

    Fredy Sanchez Newbie

      Hello.

      I am new to the community.

      I have a problem with PayPal integration. I get that errors when y run the jsp paypal.

      I am working whit JBOSS 7, CENTOS 6.3, JRE 1.7.0_09.

      It would be nice if you can help me.

      Thanks in advance.

       

      21:05:43,866 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) java.lang.Exception: error constructing MAC: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC

      21:05:43,867 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at com.paypal.wpstoolkit.services.EWPServices.encryptButton(Unknown Source)

      21:05:43,867 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at ec.edu.epn.fis.shoppingfood.paypal.PaypalManager.getButton2(PaypalManager.java:43)

      21:05:43,867 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at ec.edu.epn.fis.shoppingfood.paypal.PaypalButton.service(PaypalButton.java:55)

      21:05:43,867 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

      21:05:43,868 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

      21:05:43,868 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      21:05:43,868 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:369)

      21:05:43,869 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)

      21:05:43,869 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)

      21:05:43,870 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

      21:05:43,870 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)

      21:05:43,870 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

      21:05:43,871 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)

      21:05:43,871 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

      21:05:43,872 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)

      21:05:43,872 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

      21:05:43,872 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)

      21:05:43,873 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

      21:05:43,873 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)

      21:05:43,874 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

      21:05:43,875 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)

      21:05:43,875 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

      21:05:43,876 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)

      21:05:43,877 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

      21:05:43,878 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)

      21:05:43,878 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

      21:05:43,879 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:109)

      21:05:43,880 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)

      21:05:43,880 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:168)

      21:05:43,881 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)

      21:05:43,881 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

      21:05:43,882 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

      21:05:43,882 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

      21:05:43,883 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

      21:05:43,883 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

      21:05:43,884 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)

      21:05:43,885 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

      21:05:43,885 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

      21:05:43,885 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      21:05:43,886 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      21:05:43,886 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

      21:05:43,886 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)

      21:05:43,887 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)

      21:05:43,887 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)

      21:05:43,887 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at java.lang.Thread.run(Unknown Source)

      21:05:43,888 ERROR [stderr] (http-localhost-127.0.0.1-8080-4) Caused by: java.io.IOException: error constructing MAC: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC

      21:05:43,888 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineLoad(JDKPKCS12KeyStore.java:797)

      21:05:43,889 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at java.security.KeyStore.load(Unknown Source)

      21:05:43,889 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     at com.paypal.wpstoolkit.util.PPCrypto.getButtonEncryptionValue(Unknown Source)

      21:05:43,889 ERROR [stderr] (http-localhost-127.0.0.1-8080-4)     ... 45 more