Hello,

I have been trying to access an EJB deployed in Orion app server from a
servlet deployed in Iplanet. I have
the following code in the servlet

Hashtable env = new Hashtable();

env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.PROVIDER_URL, "ormi://nap1/fredWeb");
env.put(Context.SECURITY_PRINCIPAL, "admin");
env.put(Context.SECURITY_CREDENTIALS, "xyz");
Context ctx = new InitialContext(env);

Object homeObject = ctx.lookup("fred/fredBean");

The ctx.lookup() call hangs for ever. If I replace
Object homeObject = ctx.lookup("fred/fredBean");

With this same code I can access the bean from a stand alone client.
I have been struggling with this for a few days and nothing seems to work.
All suggestions are appreciated
Regards,
Grum



Reply via email to