Hi,
I have coded my security module using bouncycastle provider and clean-room jce implementation (jce-jdk13-111.jar). On standalone, the decrypt module seems to be working. When the code is integrated in the servlet and deployed on Tomcat-4.0.3, a ClassCastException is thrown: java.lang.ClassCastException: org.bouncycastle.jce.provider.JCERSACipher$NoPadding at javax.crypto.Cipher.getInstance(Cipher.java:121) ... I placed jce-jdk13-111.jar in <webapps>/WEB-INF/lib and tested, no luck. Tried in <tomcat-home>/common/lib and tested, same problem. also tried in <tomcat-home>/lib, <tomcat-home>/server/lib. It seems that this is more of a tomcat problem than a bouncycastle problem because it worked in stand alone when i placed jce-jdk13-111.jar in <java-home>/jre/lib/ext. Hope someone can help. Thanks. Regards, Allan __________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards® http://movies.yahoo.com/ -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>