----- Original Message -----
Sent: Wednesday, August 08, 2001 1:58
AM
Subject: RE: Still have problem with
not using config_env
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
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?