Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> RE:Accessing Oracle EJBs from a JDK 1.2 Client
Jeff,
I'm experimenting the same problem you had but in a different env:
I'm using VisualCafe' and I had to add aurora.zip to the classpath, as you
did, and I'm getting the same javax.naming.NotContextException you had.
If I try with the same client, but under JDK 1.1.7 everything works fine. So how did you solved your problem?
TIA
ciao
Alberto
>Has anyone been able to create a client with a Java 2 JDK that uses a EJB
on
>Oracle 8i? I didn't expect this to be a problem, but when I tried to
>recompile one of the basic Oracle EJB Client examples
>(examples/ejb/basic/sqljimpl/Client.java) under JDK 1.2.1, I had to add
>aurora.zip (as well as aurora_client.jar) to my classpath just to get it to
>compile. Then when I run it I get a javax.naming.NotContextException when
it
>tries to do the InitialContext.lookup() on the EJB object. I believe I have
>everything set up correctly on the server because when I compile and run
>Client.java under 1.1.8 everything works just fine.
>If anyone has any theories as to what could be wrong, or knows if this is
>even possible, please let me know!
Received on Thu Jul 15 1999 - 10:07:19 CDT