hi Miftah Khan,
Thanks for the reply..
so i am now pretty sure that somebody in the world is there to help me out..
The code for look up is :
java.util.Properties hashTable = new java.util.Properties();
hashTable.put(javax.naming.Context.PROVIDER_URL,"iiop://hcl-rti006:900");
hashTable.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"com.ibm.ejs.ns.jndi.CNInitialContextFactory");
InitialContext ctx = new InitialContext(hashTable);
Object objref = ctx.lookup("LOGIN");
home= (LoginHome) PortableRemoteObject.narrow ((org.omg.CORBA.Object)objref,LoginHome.class);
I get this exception when i try to lookup for jndi name "LOGIN"
The same jndi works fine in a
servlet Thanks in advance
Gowrish