[omniORB] Problem with a omniConnectionBroken

Gustavo M. linux_news@nextphere.com
Fri Dec 13 20:50:03 2002


Hi,

I have a strange problem connecting to a servant (on the same machine), 
sometimes I get a COMM_FAILURE exception (very often) and others I don't.
My app is made of 12 omniorb (3.0.4.1) components running under 
GNU/Linux(2.2.20) all on the same machine.
I start all components, each component registers on OmniNames and then I run 
several clients (on the same machine), one of this clients calls a couple of 
methods on a component. The problem is that sometimes everything goes smooth 
with all clients and others I get the following trace always on the same 
client (but the component the client is contacting is up and running and 
later on other clients can connect to it without any problems). What can I do 
to solve this problem or at least minimize it?

omniORB: 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: Trying to resolve initial reference `NameService'
 with boot agent: 
IOR:01000000240000006f6d672e6f72672f434f5242412f496e697469616c5265666572656e6365733a312e300001000000000000001c000000010100000a0000003132372e302e302e3100f90a04000000494e4954
ll_send: 68 bytes
4749 4f50 0100 0100 3800 0000 0000 0000 GIOP....8.......
0100 0000 0100 0000 0400 0000 494e 4954 ............INIT
0400 0000 6765 7400 0700 0000 6e6f 626f ....get.....nobo
6479 0000 0c00 0000 4e61 6d65 5365 7276 dy......NameServ
6963 6500                               ice.
ll_recv: 123 bytes
4749 4f50 0100 0101 6f00 0000 0000 0000 GIOP....o.......
0100 0000 0000 0000 2b00 0000 4944 4c3a ........+...IDL:
6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin
672f 4e61 6d69 6e67 436f 6e74 6578 7445 g/NamingContextE
7874 3a31 2e30 0000 0100 0000 0000 0000 xt:1.0..........
2700 0000 0101 0000 0e00 0000 3139 362e '...........196.
3430 2e34 362e 3134 3100 f90a 0b00 0000 40.46.141.......
4e61 6d65 5365 7276 6963 65             NameService
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>
ll_send: 31 bytes
4749 4f50 0100 0103 1300 0000 0100 0000 GIOP............
0b00 0000 4e61 6d65 5365 7276 6963 65   ....NameService
ll_recv: 20 bytes
4749 4f50 0100 0104 0800 0000 0100 0000 GIOP............
0100 0000                               ....
ll_send: 233 bytes
4749 4f50 0100 0100 dd00 0000 0000 0000 GIOP............
0200 0000 0161 6d65 0b00 0000 4e61 6d65 .....ame....Name
5365 7276 6963 6500 0800 0000 7265 736f Service.....reso
6c76 6500 0700 0000 6e6f 626f 6479 0000 lve.....nobody..
0700 0000 0400 0000 636f 6d00 0100 0000 ........com.....
0000 0000 0900 0000 6576 656e 7265 616c ........xxxxxx
0000 0000 0100 0000 0000 0000 0f00 0000 ................
6c69 6e75 7867 616d 6573 7569 7465 0000 xxxxxxxxxxxxx..
0100 0000 0000 0000 0900 0000 6761 6d65 ............xxxx
636f 7265 0000 0000 0100 0000 0000 0000 xxx............
0a00 0000 6269 6e67 6f63 6f72 6500 0000 ....xxxxxxxxxxx...
0100 0000 0000 0000 0600 0000 726f 6f6d ............xxxxx
3100 0000 0100 0000 0000 0000 1300 0000 xxxx...............
6761 6d65 7365 7373 696f 6e6d 616e 6167 xxxxxxxxxxxxxx
6572 0000 0100 0000 00                  xx.......
ll_recv: 110 bytes
4749 4f50 0100 0101 6200 0000 0000 0000 GIOP....b.......
0200 0000 0000 0000 1c00 0000 4944 4c3a ............IDL:
4947 616d 6553 6573 7369 6f6e 4d61 6e61 IComponent
6765 723a 312e 3000 0100 0000 0000 0000 :1.0.........
2a00 0000 0101 0000 0e00 0000 3139 362e *...........192..
3430 2e34 362e 3134 3100 6708 0e00 0000 =168.1.1.g.....
feec e5f8 3d00 007b b500 0000 0000      ....=..{......
omniORB: strand Rope::incrRefCount: old value = 0
omniORB: Creating ref to remote: root<0>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:IComponent:1.0
Initializing Component2002/12/12::19:40:58.00
omniORB: LocateRequest to remote: root<0>
ll_send: 34 bytes
4749 4f50 0100 0103 1600 0000 0100 0000 GIOP............
0e00 0000 feec e5f8 3d00 007b b500 0000 ........=..{....
0000                                    ..
omniORB: throw omniConnectionBroken (minor 32) from tcpSocketMTfactory.cc:1132
omniORB: tcpSocketStrand::~Strand() close socket no. 7
omniORB: throw COMM_FAILURE from remoteIdentity.cc:249
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 1
omniORB: ObjRef(IDL:IComponent:1.0) -- deleted.
COMM_FAILURE CORBA Exception
omniORB: omniRemoteIdentity deleted.
omniORB: strand Rope::decrRefCount: old value = 1
omniORB: ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.
omniORB: scavenger : start.

-- 
Thanks,

Gustavo M.