Hi
while creating the Initial context give the orcl initial context factory class name
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
ORCL-INITIAL-CONTEXT-FACTORY-CLASSNAME);
env.put(Context.PROVIDER_URL, "iiop://localhost

ortno");
hope this helps

Thanks<br /> <br />Kiran <br /> <br />SCEA, SCJP 1.4,<br /> <br />"First they ignore u, then they laugh at u, then they fight u, <br />then u will win<br /> <br />Mahatma Gandhi"