|
The orion EJB client examples all use
orion.jar in the classpath for the InitialContext() lookup. If the client
is remote, do I still have to orion.jar available to the client threads?
Every alternative I try results in a ClassNotFoundException on
com.evermind.server.rmi.RMIInitialContextFactory. It seems like orion.jar
is quite a heavy load to carry around in the client (or to load over the
network).
Also, the property names in
jndi.properties don't seem to resolve. Using the host property, I get a
javax.naming.NameNotFoundException for any bean. This goes away if I
replace the host property with java.naming.provider.url, and value
ormi://<hostname>. I get security exceptions until I replace the
username and password properties with java.naming.security.principal and
java.naming.security.credentials. Am I sending jndi on the wrong path to
Orion? Is this why the remote lookup of InitialContext fails without
having orion.jar on the client?
If anyone can help me out, I'd
appreciate it. Thanks in advance.
Byron
|
