You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Najeeb Andrabi <na...@tibco.com> on 2006/05/27 02:51:52 UTC

Invalid PKCS #5 padding

  
 Hi All,
        Invalid PKCS #5 padding exception is thrown if we use XML
security 
APIs for encryption/decryption under heavy load conditions (1000 XML
messages
per second). XML Security processor is running on a dual processor
Windows XP 
machine using jdk1.5. Also, this exception is thrown only few times if
we keep the 
system running for more than 12 hours.

        I was wondering if this is known issue or someone has observed
this behavior.
I will appreciate any response.

Thanks,
Najeeb Andrabi


       


Re: Invalid PKCS #5 padding

Posted by Raul Benito <ra...@apache.org>.
1000 Encs/second good load!

I have not hear nothing similar. In order to help we need the xml-sec
version, the JCE you are using (I think you are using the SUN one, but
can be different), and the text of the exception.

Right now I think about to causes that can explain your symptoms:
  1.- A race condition in some object either in the JCE or in xml-sec.
  2.- A hardware problem caused by too much heat, either by a faulty
RAM(really likely) or by the CPU(more unlikely).

Regards,

Raul

On 5/27/06, Najeeb Andrabi <na...@tibco.com> wrote:
>
>  Hi All,
>         Invalid PKCS #5 padding exception is thrown if we use XML
> security
> APIs for encryption/decryption under heavy load conditions (1000 XML
> messages
> per second). XML Security processor is running on a dual processor
> Windows XP
> machine using jdk1.5. Also, this exception is thrown only few times if
> we keep the
> system running for more than 12 hours.
>
>         I was wondering if this is known issue or someone has observed
> this behavior.
> I will appreciate any response.
>
> Thanks,
> Najeeb Andrabi
>
>
>
>
>


-- 
http://r-bg.com

Re: Invalid PKCS #5 padding

Posted by Milan Tomic <to...@yahoo.com>.
Does the same exception occur if you sign again XML message that already failed first time?



--- Najeeb Andrabi <na...@tibco.com> wrote:

>   
>  Hi All,
>         Invalid PKCS #5 padding exception is thrown if we use XML
> security 
> APIs for encryption/decryption under heavy load conditions (1000 XML
> messages
> per second). XML Security processor is running on a dual processor
> Windows XP 
> machine using jdk1.5. Also, this exception is thrown only few times if
> we keep the 
> system running for more than 12 hours.
> 
>         I was wondering if this is known issue or someone has observed
> this behavior.
> I will appreciate any response.
> 
> Thanks,
> Najeeb Andrabi
> 
> 
>        
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com