Hi Guys plz help me in removing this bug...

Hi,

I am trying to call aremote EJB from a client...

Here ismy 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...

Butif 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

[794 byte] By [gopal@tcsa] at [2007-11-27 2:24:59]
# 1
this may be problem with ur network settings.. :))
mshanua at 2007-7-12 2:32:43 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...