Hi People,

  Just letting anyone else know that James suggestion
worked.

Cheers,
Brett

> Start orion like this and see if it helps.  java
> -Xbootclasspath/p:lib\jce.zip -jar orion.jar
>
> We use the JCE without a problem.
>
> James Birchfield
>
> Ironmax
> a better way to buy, sell and rent construction equipment
> 5 Corporate Center
> 9960 Corporate Campus Drive,
> Suite 2000
> Louisville, KY 40223
>
>
>
>                     "Brett Lane"
>                     <[EMAIL PROTECTED]>           To:
Orion-Interest <[EMAIL PROTECTED]>
>                     Sent by:                          cc:
>                     owner-orion-interest@orion        Subject:     Adding
JCE to Orion
>                     server.com
>
>
>                     01/18/01 12:19 AM
>                     Please respond to
>                     Orion-Interest

>
>
>
>
>
>
> 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_StatelessSessionBean
Wrapper10.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(See attached file: Brett Lane.vcf)
>
>


Reply via email to