Hi guys,
Whenever I try to enable Mojarra's
com.sun.faces.ClientStateSavingPassword...
<env-entry>
<env-entry-name>com.sun.faces.ClientStateSavingPassword</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>dumbP4ssword</env-entry-value>
</env-entry>
...my site sooner or later crashes with the error...
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at com.sun.crypto.provider.SunJCE_f.a(DashoA13*..)
at com.sun.crypto.provider.SunJCE_f.a(DashoA13*..)
at com.sun.crypto.provider.DESedeCipher.engineUpdate(DashoA13*..)
at javax.crypto.Cipher.update(DashoA13*..)
at javax.crypto.CipherOutputStream.write(DashoA13*..)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:109)
at
java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1838)
at
java.io.ObjectOutputStream$BlockDataOutputStream.flush(ObjectOutputStream.java:1783)
at java.io.ObjectOutputStream.flush(ObjectOutputStream.java:691)
at java.io.ObjectOutputStream.close(ObjectOutputStream.java:712)
at
com.sun.faces.renderkit.ResponseStateManagerImpl.writeState(ResponseStateManagerImpl.java:283)
...and so on
Is there some special format the password has to be in? A certain length? I
get this error with 'dumbP4ssword' (as above), but I've tried several
others. Should any password work?
Regards,
Richard.
--
View this message in context: http://www.nabble.com/Mojarra-ClientStateSavingPassword-always-throws-error--tp25762395p25762395.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.