Where is the exception thrown, on the client or on the server (or both)?
The client should work fine if you have made a client jar and put that into
the CLASSPATH of the VM running the client software.
The server should work fine if you have made a server jar and put that into
the XTRA_CLASSPATH (you gotta specify this variable manually; it points to
the place where your server jar is located) before running EJBServer.
Tell me if it works.
I think your problem is that you do not have made a client jar or it is not
in the CLASSPATH of your client VM.
Markus


----- Original Message -----
From: "SG" <[EMAIL PROTECTED]>
To: "Markus Karg" <[EMAIL PROTECTED]>
Sent: Wednesday, August 08, 2001 5:53 AM
Subject: Need more help getting RMI / JNDI stuff to work


> hey Markus,
>
> I tried what you said, but I still get an exception that says it can't
find
> JonasCabinBeanHome_Stub. The only way it finds it is if I run
"config_env",
> the ".bat" that comes with JOnAS. And that only works if I put my
cabin.jar
> into the command to set the classpath. That of course won't work if I'm on
> diff. computers. Any idea why I'm still getting the error?
>
> Also, I want to put those properties into my InitialContext, instead of
> declaring them at the command line (i.e. with "-D..."). Any idea how to do
> this? When I tried this:
>
> props.put(java.naming.factory.initial, "");
>
> I get an exception that the symbol ".factory" is unrecognized. Any help
> would be MUCH appreciated. Thanks!
>
> Robert
>

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to