Hi SG,
 
The reason you are facing the problem is not jndi parameters which configured correctly.
The point is that your client does not have the CabinBean's stubs as well as the home and remote interfaces.
What you need to do is:
After you run GenIC, copy the *_Stub classes and the Home and Remote Interface to your client machine and add it to your classpath this should solve your problem. However, you will still need some classes which located on RMI_Jonas.jar file so you can either set it in your classpath or just get the missing classes from it and put them in the classpath.
 
Regards,
Erez
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of SG
Sent: Wednesday, August 08, 2001 8:22 AM
To: [EMAIL PROTECTED]
Subject: Still have problem with not using config_env

SORRY, Sent messed up message. I DID change the URL to mine! The problem still exists.
 
-------------------------------
 
How do i get my client to see the beans without calling "config_env"? I did what Markus suggested:
 
java -Djava.naming.factory.initial=com.sun.jndi.rmi.registry.RegistryContextFactory -Djava.naming.provider.url=rmi://localhost:1099 -Djava.naming.factory.url.pkgs=org.objectweb.jonas.naming   MyClient
 
But every time I get the error that it can't find the class JonasCabinBeanHome_Stub. (CabinBean is my bean).
 
It works if I run config_env.
 
How can I get it to run without needing config_env?
 

Reply via email to