There are some dependencies to the BouncyCastle classes when using the
encryption..
You need to get this as a third party library..
Make sure that jar is in your class path and your problem should go away..

Hope that helps you.
Lars

On Thu, Jul 3, 2008 at 11:46 PM, Ashwani Kumar Singh <[EMAIL PROTECTED]>
wrote:

> Hi,
>
> In my application, we generate PDF from web application and also from a
> thread [using simple java pgm].
>
> Both process calls the same class which generates the pdf.
>
> When we generate pdf from application [thru URL], setEncryption
> works fine. But when I execute it through thread I get
> "java.lang.NoClassDefFoundError: org/bouncycastle/asn1/ASN1OctetString".
>
> We have not included BouncyCastle jars anywhere in the application.
>
> webserver - weblogic 9.2.1
>
> Pls help me out....
>
> Thanks in adv.
>
> - Ashwani
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Do you like iText?
> Buy the iText book: http://www.1t3xt.com/docs/book.php
> Or leave a tip: https://tipit.to/itexttipjar
>
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to