I am getting a NameNotFoundException when I do a lookUp.
I am using a WAS4.0 for deployment.
Following is the piece of code that I have written for my client which is an external resource ie non
EJB:
Properties p = new Properties();
javax.naming.InitialContext jndiContext = new javax.naming.InitialContext();
Object obj = jndiContext.lookup("ReqDispSession");
--> Error occurs here.
System.out.println("Hello1");
ReqDispatchSessionBeanHome ReqDispSessionBeanHome = (ReqDispatchSessionBeanHome)obj;
Also I got the following error codes during deployment :
APPW0007E & APPW0004E....This came up in the administrative console when I tried to install my ear file. Could somebody tell me what could the problem be?
Thanks
Deba
//javax.rmi.PortableRemoteObject.narrow(obj,ReqDispatchSessionBeanHome.class);