myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Wessendorf <mat...@apache.org>
Subject Re: [Bug? Trinidad] javax.crypto.IllegalBlockSizeException: Input length must be multiple of 8 when decrypting with padded cipher
Date Wed, 14 Jan 2009 15:30:19 GMT
Felix,

do you mind to file a JIRA ticket against myfaces (the core) ?

Thx,
M

On Wed, Jan 14, 2009 at 7:24 AM, Cagatay Civici
<cagatay.civici@gmail.com> wrote:
> I've seen this error even in myfaces 1.2.2.
>
> There's an annoying problem with client side viewstate encryption.
>
> On Wed, Jan 14, 2009 at 2:53 PM, Matthias Wessendorf <matzew@apache.org>
> wrote:
>>
>> Hi know that there is some param on myfaces core for this.
>> So, does that work with MyFaces 1.2.6 standalone ?
>> Did this used to before upgrading to Trinidad 1.2.10 ?
>>
>> -M
>>
>> On Wed, Jan 14, 2009 at 2:52 AM,  <Felix.Becker@t-systems.com> wrote:
>> > Hi,
>> >
>> >
>> >
>> > I've got a serious problem with my frontends. Extremely sudden the
>> > exception
>> > below is thrown. Restarting the Container does not work. Redeploying
>> > doesn't
>> > help immediately. I have to close all browser windows an redeploy the
>> > application many times until it works. The error is not reproducible and
>> > there is no root cause from one of our own classes. A simple frontend
>> > page
>> > (small login) which works fine hundreds of time suddenly fails and the
>> > whole
>> > application is down after this exception.
>> >
>> >
>> >
>> > Trinidad Version: 1.2.10
>> >
>> > MyFaces 1.2.6
>> >
>> >
>> >
>> > Is this problem / are any workarounds known?
>> >
>> >
>> >
>> > Shall I open a ticket in the JIRA?
>> >
>> >
>> >
>> > Regards
>> >
>> >
>> >
>> > Felix
>> >
>> >
>> >
>> > ==> logs/localhost.2009-01-14.log <==
>> >
>> > Jan 14, 2009 5:42:54 AM org.apache.catalina.core.StandardWrapperValve
>> > invoke
>> >
>> > SEVERE: Servlet.service() for servlet Faces Servlet threw exception
>> >
>> > javax.crypto.IllegalBlockSizeException: Input length must be multiple of
>> > 8
>> > when decrypting with padded cipher
>> >
>> >         at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
>> >
>> >         at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..)
>> >
>> >         at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA13*..)
>> >
>> >         at javax.crypto.Cipher.doFinal(DashoA13*..)
>> >
>> >         at
>> >
>> > org.apache.myfaces.shared_impl.util.StateUtils.symmetric(StateUtils.java:369)
>> >
>> >         at
>> >
>> > org.apache.myfaces.shared_impl.util.StateUtils.symmetric(StateUtils.java:411)
>> >
>> >         at
>> >
>> > org.apache.myfaces.shared_impl.util.StateUtils.decrypt(StateUtils.java:291)
>> >
>> >         at
>> >
>> > org.apache.myfaces.shared_impl.util.StateUtils.reconstruct(StateUtils.java:240)
>> >
>> >         at
>> >
>> > org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getSavedState(HtmlResponseStateManager.java:187)
>> >
>> >         at
>> >
>> > org.apache.myfaces.renderkit.html.HtmlResponseStateManager.getState(HtmlResponseStateManager.java:139)
>> >
>> >         at
>> >
>> > org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:346)
>> >
>> >         at
>> >
>> > org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:515)
>> >
>> >         at
>> >
>> > org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:85)
>> >
>> >         at
>> >
>> > org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103)
>> >
>> >         at
>> >
>> > org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
>> >
>> >         at
>> > javax.faces.webapp.FacesServlet.service(FacesServlet.java:151)
>> >
>> >         at
>> >
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>> >
>> >         at
>> >
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> >
>> >         at
>> >
>> > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
>> >
>> >         at
>> >
>> > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
>> >
>> >         at
>> >
>> > org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
>> >
>> >         at
>> >
>> > org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
>> >
>> >         at
>> >
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> >
>> >         at
>> >
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> >
>> >         at
>> >
>> > com.satellic.etcng.cas.updatemanagement.util.MyFacesBugFixFilter.doFilter(MyFacesBugFixFilter.java:54)
>> >
>> >         at
>> >
>> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>> >
>> >         at
>> >
>> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>> >
>> >         at
>> >
>> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>> >
>> >         at
>> >
>> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>> >
>> >         at
>> >
>> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>> >
>> >         at
>> >
>> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>> >
>> >         at
>> >
>> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>> >
>> >         at
>> >
>> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
>> >
>> >         at
>> >
>> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
>> >
>> >         at
>> >
>> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
>> >
>> >         at
>> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>> >
>> >         at java.lang.Thread.run(Thread.java:619)
>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Mime
View raw message