Decryption problem while porting from Resin2 to Resin3
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   SUDHEER_GHANTA
Posted On:   Friday, May 18, 2007 06:50 AM

Hi all, I got a problem of decryption of the data in resin 3which is encrpted in resin 3 . the exception we got is 500 Servlet Exception javax.crypto.BadPaddingException: Given final block not properly padded at com.sun.crypto.provider.SunJCE_h.b(DashoA6275) at com.sun.crypto.provider.SunJCE_h.b(DashoA6275) at com.sun.crypto.provider.SunJCE_ae.b(DashoA6275) at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(DashoA6275) at javax.crypto.Cipher.doFinal(DashoA12275) at com.twinlion.security.PBECipher.decrypt(PBECipher.java:59) at com.twinlion.security.HWPBE.decrypt(HWPBE.java:28) at com.twinlion.hyperwallet.Wallet.cipher(Wallet.java:863) at com.twinlion.hyperwal   More>>

Hi all,
I got a problem of decryption of the data in resin 3which is encrpted in resin 3 . the exception we got is
500 Servlet Exception
javax.crypto.BadPaddingException: Given final block not properly padded
at com.sun.crypto.provider.SunJCE_h.b(DashoA6275)
at com.sun.crypto.provider.SunJCE_h.b(DashoA6275)
at com.sun.crypto.provider.SunJCE_ae.b(DashoA6275)
at com.sun.crypto.provider.PBEWithMD5AndDESCipher.engineDoFinal(DashoA6275)
at javax.crypto.Cipher.doFinal(DashoA12275)
at com.twinlion.security.PBECipher.decrypt(PBECipher.java:59)
at com.twinlion.security.HWPBE.decrypt(HWPBE.java:28)
at com.twinlion.hyperwallet.Wallet.cipher(Wallet.java:863)
at com.twinlion.hyperwallet.Wallet.getSecurityCode(Wallet.java:699)
at _jsp._secure._access._authenticatecomplete__jsp._jspService(_authenticatecomplete__jsp.java:692)
at com.caucho.jsp.JavaPage.service(JavaPage.java:60)
at com.caucho.jsp.Page.pageservice(Page.java:579)
at com.caucho.server.dispatch.PageFilterChain.doFilter(PageFilterChain.java:179)
at com.caucho.server.webapp.DispatchFilterChain.doFilter(DispatchFilterChain.java:115)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:277)
at com.caucho.server.webapp.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:106)
at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1759)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
at com.citadelcommerce.access.AntiXSSFilter.doFilter(AntiXSSFilter.java:20)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at com.twinlion.access.WalletIssuerFilter.doFilter(WalletIssuerFilter.java:54)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at com.citadelcommerce.access.UTF8EncodingFilter.doFilter(UTF8EncodingFilter.java:30)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at com.twinlion.access.ServiceModeFilter.doFilter(ServiceModeFilter.java:41)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at com.citadelcommerce.access.ThreadObjectCacheFilter.doFilter(ThreadObjectCacheFilter.java:39)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at com.citadelcommerce.access.PerformanceFilter.doFilter(PerformanceFilter.java:36)
at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:173)
at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:229)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:274)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:511)
at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:520)
at com.caucho.util.ThreadPool.run(ThreadPool.java:442)
at java.lang.Thread.run(Thread.java:595)



can any one give a solution for this.

   <<Less
About | Sitemap | Contact