[omniORB] CORBA::COMM_FAILURE
Sai-Lai Lo
S.Lo@uk.research.att.com
23 Jan 2001 10:44:25 +0000
Here is what happened:
1. ORB starts up and was given "GAPS1" port 7655 to resolve initial
references. It managed to the root naming context from GAPS1.
2. May be a lookup is done to the naming service to get an object reference
of type ZImporter. This also succeeded. Notice that this step is not
shown on the trace. I'm just guessing.
3. The application involves on the ZImporter object. The ORB issues a
locate request. It tries to connect to the remote address space where
the ZImporter resides and failed. A COMM_FAILURE is then raised.
You should check wheter you indeed have a ZImporter object running somewhere
and it has been registered with the naming service.
Sai-Lai
>>>>> Michael Keay writes:
> Further to this e-mail I was able to switch on tracing an extrapolate the
> following information
> 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: Initialising omniDynamic library.
> omniORB: Trying to resolve initial reference `NameService'
> with boot agent:
> IOR:01000000240000006f6d672e6f72672f434f5242412f496e697469616c5265666572656e
> 6365733a312e30000100000000000000180000000101000006000000474150533100e71d0400
> 0000494e4954
> omniORB: strand Ripper: start.
> omniORB: scavenger : start.
> omniORB: strand Rope::incrRefCount: old value = 0
> omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
> target id : IDL:omg.org/CORBA/Object:1.0
> most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
> omniORB: Initial reference `NameService' resolved with boot agent.
> omniORB: LocateRequest to remote: key<0x4e616d6553657276696365>
> omniORB: strand Rope::incrRefCount: old value = 0
> omniORB: Creating ref to remote: boa<0x3a6cc44d905f85c600000002>
> target id : IDL:omg.org/CORBA/Object:1.0
> most derived id: IDL:ZImporter:1.0
> omniORB: LocateRequest to remote: boa<0x3a6cc44d905f85c600000002>
> omniORB: throw omniConnectionBroken from tcpSocketMTfactory.cc:1067
> omniORB: tcpSocketStrand::~Strand() close socket no. 208
> omniORB: defaultTransientExceptionHandler: retry 0th times.
> omniORB: throw omniConnectionBroken from tcpSocketMTfactory.cc:1091
> omniORB: tcpSocketStrand::~Strand() close socket no. 4294967295
> omniORB: throw COMM_FAILURE from remoteIdentity.cc:181
> omniORB: Preparing to shutdown ORB.
> omniORB: Deinitialising omniDynamic library.
> 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: No more references to the ORB -- deleted.
> Can anyone explain what we is going on here?
> -----Original Message-----
> From: Michael Keay [mailto:MKeay@SeeBeyond.com]
> Sent: Monday, January 22, 2001 3:03 PM
> To: Omniorb-List@Uk. Research. Att. Com (E-mail)
> Subject: [omniORB] CORBA::COMM_FAILURE
> We have been working on a project, to connect to a thirdparty system. We are
> getting a COMM_FAILURE exception when trying to invoke a method on an object
> reference. But we do have a valid object reference. Yet, when we use the
> supplied, sample client, everything works fine. Does, anyone have any idea
> why we would experience such an exception?
> I have read the manual that comes with omni orb and it suggests to keep
> retrying, but this does not explain what is happening, each and everytime.
> Server on Solaris, client on NT, using omniorb 3.0.1
> Mikey
--
Sai-Lai Lo S.Lo@uk.research.att.com
AT&T Laboratories Cambridge WWW: http://www.uk.research.att.com
24a Trumpington Street Tel: +44 1223 343000
Cambridge CB2 1QA Fax: +44 1223 313542
ENGLAND