gopal venkateshamurthy

Greenhorn
+ Follow
since Apr 25, 2007
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 gopal venkateshamurthy

Hi iam sure my ip addres is 172.20.33.218....

I am using netbeans5.5 and sun one 9.0
Hi,
I am trying to call a remote EJB from a client...
Here is my client code...

InitialContext ic = new InitialContext();
Object o= ic.lookup("iiop://127.0.0.1:3700/ejb/TellHelloBean");
TellHelloRemoteHome helloHome = (TellHelloRemoteHome) PortableRemoteObject.narrow(o, TellHelloRemoteHome.class);
TellHelloRemoteBusiness obj=helloHome.create();
System.out.println("" + obj.printHello());

If try this it is working prperly...
But if i change the ip address to 127.0.0.1 to my real ip address like 172.20.34.218...It is giving this error:

Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 172.20.33.218; port: 3700"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No