[omniORB] COMM_FAILURE

sylvain.guillemin@netcourrier.com sylvain.guillemin@netcourrier.com
Thu, 10 May 2001 19:35:35 +0200 (MET DST)


omniOrb3 example programs eg2 and eg3 won't work on my machine.

Everythink compiles Ok, but when I I run eg2=5Fimpl, for example, I get th=
e expected IOR :

   =5Broot=40toto basics=5D=23 ./eg2=5Fimpl =

   'IOR:010000000d00000049444c3a4563686f3a312e3000000000010000000000000026=
000000010100000a0000003132372e302e302e310037050e000000feb074f53a0000128b00=
00000000'

But when I run the client on the same machine I get a COMM=5FFAILURE :

   =5Broot=40toto basics=5D=23 ./eg2=5Fclt IOR:010000000d00000049444c3a456=
3686f3a312e3000000000010000000000000026000000010100000a0000003132372e302e3=
02e310037050e000000feb074f53a0000128b0000000000 -ORBtraceLevel 30 -ORBtrac=
eInvocations =

   omniORB: strand Ripper: start. =

   omniORB: gateKeeper is not installed. All incoming are accepted. =

   omniORB: Initialising omniDynamic library. =

   omniORB: strand Rope::incrRefCount: old value =3D 0 =

   omniORB: Creating ref to remote: root<0> =

    target id : IDL:omg.org/CORBA/Object:1.0 =

    most derived id: IDL:Echo:1.0 =

   omniORB: LocateRequest to remote: root<0> =

   ll=5Fsend: 34 bytes =

   4749 4f50 0100 0103 1600 0000 0100 0000 GIOP............ =

   0e00 0000 feb0 74f5 3a00 0012 8b00 0000 ......t.:....... =

   0000 .. =

   ll=5Frecv: 12 bytes =

   4749 4f50 0100 0105 0000 0000 GIOP........ =

   omniORB: throw omniConnectionBroken from giopClient.cc:413 =

   omniORB: tcpSocketStrand::=7EStrand() close socket no. 5 =

   omniORB: throw COMM=5FFAILURE from remoteIdentity.cc:249 =

   omniORB: omniRemoteIdentity deleted. =

   omniORB: strand Rope::decrRefCount: old value =3D 1 =

   omniORB: ObjRef(IDL:Echo:1.0) -- deleted. =

   Caught system exception COMM=5FFAILURE -- unable to contact the object.=
 =

   omniORB: scavenger : start. =


If I use catior followed by the IOR to get the IP addresse and the TCP por=
t and do a telnet, I get the string =22GIOP=22 followed by a couple of cha=
racters and the connection breaks.

My machine runs linux RedHat7 (2.2.16-22).
I've tried the same on a SUN Sparc5 and everything works fine=21


Does somebody know what I do wrong ?
Thanks very much for your help...

Sylvain

----- La messagerie itin=E9rante sans abonnement NetCourrier -----
Web : www.netcourrier.com - Minitel : 3615 NETCOURRIER
T=E9l=E9phone : 08 36 69 00 21