Hi People,
 
  I am attempting to add the OPENJCE, lib-1.2, to orion and
was wondering if anyone has encountered a similar problem.
 
  I have built a simple password encryption (PBE) object which
works fine in a standalone environment. When I add the jce.zip
file to $ORION_HOME/lib and attempt to use the object in a
bean it throws a method not found, listed below.  I looked around
inside some of orion's jar but could not find a javax.crypto.SecretKeyFactory
class.
 
Transaction was rolled back:
    java.lang.NoSuchMethodError: javax.crypto.SecretKeyFactory:
    method generateSecret(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey; not found;       
 
    Nested exception is:
java.lang.NoSuchMethodError: javax.crypto.SecretKeyFactory: method generateSecret(Ljava/security/spec/KeySpec;)Ljavax/crypto/SecretKey; not found
        at com.nobody.utils.SimplePBE.computePBECipher(SimplePBE.java:71)
        at com.nobody.utils.SimplePBE.encrypt(SimplePBE.java:26)
        at com.nobody.ejb.session.cryptotest.CryptoTestEJB.enc(CryptoTestEJB.java:20)
        at CryptoTest_StatelessSessionBeanWrapper10.enc(CryptoTest_StatelessSessionBeanWrapper10.java:163)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.evermind.server.rmi.bd.run(JAX)
        at com.evermind.server.rmi.bb.hy(JAX, Compiled Code)
        at com.evermind.server.rmi.bb.run(JAX, Compiled Code)
        at com.evermind.util.f.run(JAX, Compiled Code)
at connection to localhost/127.0.0.1
        at com.evermind.server.rmi.OrionRemoteException.h2(JAX)
        at com.evermind.server.rmi.bb.hw(JAX, Compiled Code)
        at com.evermind.server.rmi.bb.run(JAX)
        at java.lang.Thread.run(Thread.java:475)
 
Any assistance would be great.
 
Cheers,
Brett
BEGIN:VCARD
VERSION:2.1
N:Lane;Brett
FN:Brett Lane
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010118T051915Z
END:VCARD

Reply via email to