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.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

Reply via email to