[omniORB] COMM_FAILURE

Gnanasekaran Thoppae gnana@mips.biochem.mpg.de
Wed, 14 Feb 2001 08:42:20 +0100


Hi,

Thanks to all of them who replied to my namingservice viewer mail.
I used nameclt and ENames viewer and both works! 

Now, I have a different problem.  When I used ENames viewer (java)
with the IOR pasted below [1], I could browse all the contexts bound to
this namingservice.  But when I use nameclt tool of omniORB, I get
COMM_FAILURE error [3].  Since this was a problem earlier when I was
trying to write a client, I decided to look into the namingservice
and since it worked with ENames but not with nameclt, I decided to
test with another namingservice IOR [2] and nameclt seems to work quite
nicely.  This means that the IOR [1] is different from IOR [2] in some
terms.  Obviously they all run in different hosts and different ports.
But I am not sure what differences exist between these 2 nameservice IORs that
causes nameclt to work on one but not on the other.

Let me know what you think.

Thanks.

-gnana

IOR [1] - *not* working with nameclt but *is* working with enames
IOR:010000002800000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578743a312e3000010000000000000024000000010101000d0000003134312e36312e36382e32360000650e040000000100000000000000

IOR [2] - working with nameclt and enames
IOR:000000000000002b49444c3a6f6f632e636f6d2f436f734e616d696e672f4578744e616d696e67436f6e746578743a312e300000000000010000000000000031000100000000000e3139332e36322e3139362e36330081e60000001544656661756c744e616d696e67436f6e7465787400

nameclt [3] - debug trace with ORBtraceLevel 25

[gnana@vidhya:~/omni/src/appl/utils/nameclt] ./nameclt -ior `cat ~/IOR/ns.ref` list -ORBtraceLevel 25omniORB: strand Ripper: start.
omniORB: gateKeeper is tcpwrapGK 1.0 - based on tcp_wrappers_7.6
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: key<0x494e4954>
target id      : IDL:omg.org/CORBA/Object:1.0
most derived id: omg.org/CORBA/InitialReferences:1.0
omniORB: The omniDynamic library is not linked.
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: key<0x01000000>
target id      : IDL:omg.org/CORBA/Object:1.0
most derived id: IDL:omg.org/CosNaming/NamingContext:1.0
omniORB: LocateRequest to remote: key<0x01000000>
omniORB: scavenger : start.
omniORB: throw omniConnectionBroken (minor 0) from giopClient.cc:413
omniORB: tcpSocketStrand::~Strand() close socket no. 5
omniORB: throw COMM_FAILURE from remoteIdentity.cc:249
list: Cannot contact the Naming Service because of COMM_FAILURE.                                     
omniORB: Preparing to shutdown ORB.
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 1
omniORB: ObjRef(omg.org/CORBA/InitialReferences:1.0) -- deleted.
omniORB: scavenger : woken by poke()
omniORB: scavenger : exit.
omniORB: strand Ripper: exit.
omniORB: ORB shutdown is complete.
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 1
omniORB: ObjRef(IDL:omg.org/CosNaming/NamingContext:1.0) -- deleted.
[gnana@vidhya:~/omni/src/appl/utils/nameclt]