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