AW: AW: Using S/MIME encryption in Tomcat5.5 fails

2008-10-16 Thread Celik, Servet (ext MA)
Hi Martin, hi all, Just to clarify again: When I run the mailer component as a standalone java application it works fine. That's why I think the crypto package is alright. Also I put a echo line into catalina.bat to dump the used endorsed-path. The stdout says: "Using JAVA_ENDORSED_DIRS C:\Progra

AW: Using S/MIME encryption in Tomcat5.5 fails

2008-10-15 Thread Celik, Servet (ext MA)
Hi, all! What I did now: I put the jars listed below into the endorsed directory. Than I got rid of the NoSuchProviderException and run into a NullPointerException now. I set Debug-mode on and get the following cosole output (only first two rows): ## DEBUG: setDebug: JavaMail version 1.3.1 er

AW: Using S/MIME encryption in Tomcat5.5 fails

2008-10-14 Thread Celik, Servet (ext MA)
Hi, Martin! Thank you for your reply! As you can see in the list of included libs in my initial mail I already have the bcmail.jar in my classpath. Unfortunately this didn't fix my problem. Cheers, Servet > -Ursprüngliche Nachricht- > Von: Martin Gainty [mailto:[EMAIL PROTECTED] > G

Using S/MIME encryption in Tomcat5.5 fails

2008-10-13 Thread Celik, Servet (ext MA)
Hi *, I try to encrypt outgoing mails from my webapplication with S/MIME. Therefore I make use of the BouncyCastleProvider and created an example according to http://javamail-crypto.sourceforge.net/. Afterwards I introduced Bouncycaste as securityprovider by adding the line "security.provider.7=