[jboss-user] Fwd: Problem getting Cipher object into JBoss!

Gerardo Velez jgerardo.velez at gmail.com
Wed Jun 18 17:32:08 EDT 2008


Hi Everybody!

I just got an issue with JBoss and JCE (Java Cryptography Extension)


Basically everytime the following line of code is executed

Cipher cipher = Cipher.getInstance("DES");

the following exception is launched

java.lang.ClassCastException: com.sun.crypto.provider.DESCipher


Now, I'm using JBoss 4.2.0GA and JDK 1.5

Please, could you give me some hints about how to resolve it?

Thanks in advance

-- Gerardo Velez

p.s: I'm using maven2 as a build tool to construct ear file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20080618/2451f005/attachment.html 


More information about the jboss-user mailing list