Help coderanch get a
new server
by contributing to the fundraiser

debraj gupta

Greenhorn
+ Follow
since Jul 31, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by debraj gupta

Hi lavi,
The Initial Context Fctory that u have mentioned is for WAS3.5 and not for 4.0. I did apply the Initial COntext Factory value for WAS4.0, and even then it did not work.
Is there any other alternative??
Thanks & bye
Deba
22 years ago
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);
22 years ago