[omniORB] COMM_FAILURE_UnMarshalArguments vs TRANSIENT_ConnectFailed

Eddy Caron Eddy.Caron at ens-lyon.fr
Tue Jun 3 17:44:31 BST 2003


Hello,

	On a cluster, I try a CORBA connection between two Intel(R) Pentium(R) 
III CPU family 1400MHz. I launch the omniNames on one computer (ls1 
IP:193.253.175.223) and I try to run the CORBA application from another 
computer (ls2 IP:193.253.175.224). The connection between ls1 and ls2 
seems start but stop with COMM_FAILURE_UnMarshalArguments (for 
omniNames) and TRANSIENT_ConnectFailed (for application).

I use omniORB-4.0.1.

I use the port 2809 (this port is open).

With log level 40 I have the following log :

***************
* log for ls1 *
***************
[ecaron at ls1 ecaron]$ omniNames
omniORB: Distribution date: Fri Mar 14 11:27:17 GMT 2003 dgrisby
omniORB: My addresses are:
omniORB: 127.0.0.1
omniORB: 193.253.175.185
omniORB: 193.253.175.223
omniORB: 192.168.0.1
omniORB: Maximum supported GIOP version is 1.2
omniORB: Native char code sets: ISO-8859-1 UTF-8.
omniORB: Transmission char code sets: ISO-8859-1(1.2) ISO-8859-1(1.1) 
ISO-8859-1(1.0) UTF-8(1.2).
omniORB: Native wide char code sets: UTF-16.
omniORB: Transmission wide char code sets: UTF-16(1.2).
omniORB: Information: the omniDynamic library is not linked.
omniORB: Current configuration is as follows:
omniORB:   DefaultInitRef (file) =
omniORB:   DefaultInitRef (args) =
omniORB:   InitRef = NameService=corbaname::193.253.175.223:2809/NameService
omniORB:   abortOnInternalError = 0
omniORB:   acceptBiDirectionalGIOP = 0
omniORB:   acceptMisalignedTcIndirections = 0
omniORB:   bootstrapAgentHostname =
omniORB:   bootstrapAgentPort = 900
omniORB:   clientCallTimeOutPeriod = 0
omniORB:   clientTransportRule = * unix,ssl,tcp
omniORB:   diiThrowsSysExceptions = 0
omniORB:   dumpConfiguration = 0
omniORB:   endPoint = giop:tcp::2809
omniORB:   endPointPublishAllIFs = 0
omniORB:   giopMaxMsgSize = 33554432
omniORB:   giopTargetAddressMode = KeyAddr
omniORB:   id = omniORB4
omniORB:   inConScanPeriod = 180
omniORB:   lcdMode = 0
omniORB:   maxGIOPConnectionPerServer = 5
omniORB:   maxGIOPVersion = 1.2
omniORB:   maxInterleavedCallsPerConnection = 5
omniORB:   maxServerThreadPerConnection = 100
omniORB:   maxServerThreadPoolSize = 100
omniORB:   nativeCharCodeSet = ISO-8859-1
omniORB:   nativeWCharCodeSet = UTF-16
omniORB:   objectTableSize = 0
omniORB:   offerBiDirectionalGIOP = 0
omniORB:   omniORB_27_CompatibleAnyExtraction = 0
omniORB:   oneCallPerConnection = 1
omniORB:   outConScanPeriod = 120
omniORB:   poaHoldRequestTimeout = 0
omniORB:   poaUniquePersistentSystemIds = 1
omniORB:   principal = [Null]
omniORB:   scanGranularity = 5
omniORB:   serverCallTimeOutPeriod = 0
omniORB:   serverTransportRule = * unix,ssl,tcp
omniORB:   strictIIOP = 1
omniORB:   supportBootstrapAgent = 0
omniORB:   supportCurrent = 1
omniORB:   supportPerThreadTimeOut = 0
omniORB:   tcAliasExpand = 0
omniORB:   threadPerConnectionLowerLimit = 9000
omniORB:   threadPerConnectionPolicy = 1
omniORB:   threadPerConnectionUpperLimit = 10000
omniORB:   threadPoolWatchConnection = 1
omniORB:   traceInvocations = 0
omniORB:   traceLevel = 45
omniORB:   traceThreadId = 0
omniORB:   unixTransportDirectory = /tmp/omni-%u
omniORB:   unixTransportPermission =  777
omniORB:   useTypeCodeIndirections = 1
omniORB:   verifyObjectExistsAndType = 1
omniORB: Initialising incoming endpoints.
omniORB: Bind to address 0.0.0.0.
omniORB: Starting serving incoming endpoints.
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
omniORB: giopRendezvouser task execute for giop:tcp:193.253.175.185:2809
omniORB: Adding key<0x4e616d6553657276696365> (activating) to object table.
omniORB: State key<0x4e616d6553657276696365> (activating) -> active
omniORB: Adding root/<2.....D.....> (activating) to object table.
omniORB: State root/<2.....D.....> (activating) -> active
omniORB: Creating ref to local: key<0x4e616d6553657276696365>
  target id      : IDL:omg.org/CORBA/Object:1.0
  most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
omniORB: Creating ref to local: root/<2.....D.....>
  target id      : IDL:omg.org/CORBA/Object:1.0
  most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
omniORB: ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.
omniORB: Creating ref to local: root/<2.....D.....>
  target id      : IDL:omg.org/CORBA/Object:1.0
  most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.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: ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.

Tue Jun  3 16:27:17 2003:

Read log file successfully.
omniORB: Creating ref to local: key<0x4e616d6553657276696365>
  target id      : IDL:omg.org/CosNaming/NamingContextExt:1.0
  most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
Root context is 
IOR:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e30000001000000000000006400000001010200100000003139332e3235332e3137352e31383500f90a00000b0000004e616d6553657276696365000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
Checkpointing Phase 1: Prepare.
omniORB: createLocalObjRef -- reusing reference from local ref list.
omniORB: createLocalObjRef -- reusing reference from local ref list.
Checkpointing Phase 2: Commit.
Checkpointing completed.
omniORB: Server accepted connection from giop:tcp:193.253.175.224:56621
omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 2
omniORB: Scavenger task execute.
omniORB: AsyncInvoker: thread id = 3 has started. Total threads = 3
omniORB: giopWorker task execute.
omniORB: Accepted connection from giop:tcp:193.253.175.224:56621 because 
of this rule: "* unix,ssl,tcp"
omniORB: inputMessage: from giop:tcp:193.253.175.224:56621 100 bytes
omniORB:
4749 4f50 0100 0100 5800 0000 0000 0000 GIOP....X.......
0200 0000 0100 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6500 0600 0000 5f69 735f Service....._is_
6100 0000 0000 0000 2800 0000 4944 4c3a a.......(...IDL:
6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin
672f 4e61 6d69 6e67 436f 6e74 6578 743a g/NamingContext:
312e 3000                               1.0.
omniORB: sendChunk: to giop:tcp:193.253.175.224:56621 25 bytes
omniORB:
4749 4f50 0100 0101 0d00 0000 0000 0000 GIOP............
0200 0000 0000 0000 01                  .........
omniORB: inputMessage: from giop:tcp:193.253.175.224:56621 93 bytes
omniORB:
4749 4f50 0100 0100 5100 0000 0000 0000 GIOP....Q.......
0400 0000 0100 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6500 1100 0000 6269 6e64 Service.....bind
5f6e 6577 5f63 6f6e 7465 7874 0044 4c3a _new_context.DL:
0000 0000 0100 0000 0a00 0000 6469 6574 ............diet
4167 656e 7400 6e67 0100 0000 00        Agent.ng.....
omniORB: Creating ref to in process: root/<E.....f.....>
  target id      : IDL:omg.org/CORBA/Object:1.0
  most derived id: IDL:omg.org/CosNaming/NamingContext:1.0
omniORB: Adding root/<E.....f.....> (activating) to object table.
omniORB: State root/<E.....f.....> (activating) -> active
omniORB: Creating ref to local: root/<E.....f.....>
  target id      : IDL:omg.org/CosNaming/NamingContextExt:1.0
  most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
omniORB: ObjRef(IDL:omg.org/CosNaming/NamingContext:1.0) -- deleted.
omniORB: createLocalObjRef -- reusing reference from local ref list.
omniORB: sendChunk: to giop:tcp:193.253.175.224:56621 188 bytes
omniORB:
4749 4f50 0100 0101 b000 0000 0000 0000 GIOP............
0400 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..........
6800 0000 0101 0200 1000 0000 3139 332e h...........193.
3235 332e 3137 352e 3138 3500 f90a 0000 253.175.185.....
0e00 0000 ff00 45b0 dc3e 0100 667f 0000 ......E..>..f...
0000 0000 0200 0000 0000 0000 0800 0000 ................
0100 0000 0054 5441 0100 0000 1c00 0000 .....TTA........
0100 0000 0100 0100 0100 0000 0100 0105 ................
0901 0100 0100 0000 0901 0100           ............
omniORB: throw giopStream::CommFailure from 
giopStream.cc:819(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: Server connection refcount = 1
omniORB: Server connection refcount = 0
omniORB: Server close connection from giop:tcp:193.253.175.224:56621

***************
* log for ls2 *
***************
[ecaron at ls2 bin]$ dietAgent ../etc/MA1.cfg
Warning: Parsers::checkFASTEntries: fastUse is set to 1 at line 90 but 
DIET was compiled without FAST - ignored.
omniORB: Read from configuration file 
"/home/ecaron/soft/diet/etc/omniORB.cfg".
omniORB: Distribution date: Fri Mar 14 11:27:17 GMT 2003 dgrisby
omniORB: My addresses are:
omniORB: 127.0.0.1
omniORB: 193.253.175.185
omniORB: 193.253.175.224
omniORB: 192.168.0.2
omniORB: Maximum supported GIOP version is 1.2
omniORB: Native char code sets: ISO-8859-1 UTF-8.
omniORB: Transmission char code sets: ISO-8859-1(1.2) ISO-8859-1(1.1) 
ISO-8859-1(1.0) UTF-8(1.2).
omniORB: Native wide char code sets: UTF-16.
omniORB: Transmission wide char code sets: UTF-16(1.2).
omniORB: Initialising omniDynamic library.
omniORB: Current configuration is as follows:
omniORB:   DefaultInitRef (file) =
omniORB:   DefaultInitRef (args) =
omniORB:   InitRef = NameService=corbaname::193.253.175.223:2809/NameService
omniORB:   abortOnInternalError = 0
omniORB:   acceptBiDirectionalGIOP = 0
omniORB:   acceptMisalignedTcIndirections = 0
omniORB:   bootstrapAgentHostname =
omniORB:   bootstrapAgentPort = 900
omniORB:   clientCallTimeOutPeriod = 0
omniORB:   clientTransportRule = * unix,ssl,tcp
omniORB:   diiThrowsSysExceptions = 0
omniORB:   dumpConfiguration = 0
omniORB:   endPoint = giop:tcp::
omniORB:   endPointPublishAllIFs = 0
omniORB:   giopMaxMsgSize = 33554432
omniORB:   giopTargetAddressMode = KeyAddr
omniORB:   id = omniORB4
omniORB:   inConScanPeriod = 0
omniORB:   lcdMode = 0
omniORB:   maxGIOPConnectionPerServer = 50
omniORB:   maxGIOPVersion = 1.2
omniORB:   maxInterleavedCallsPerConnection = 5
omniORB:   maxServerThreadPerConnection = 100
omniORB:   maxServerThreadPoolSize = 100
omniORB:   nativeCharCodeSet = ISO-8859-1
omniORB:   nativeWCharCodeSet = UTF-16
omniORB:   objectTableSize = 0
omniORB:   offerBiDirectionalGIOP = 0
omniORB:   omniORB_27_CompatibleAnyExtraction = 0
omniORB:   oneCallPerConnection = 1
omniORB:   outConScanPeriod = 0
omniORB:   poaHoldRequestTimeout = 0
omniORB:   poaUniquePersistentSystemIds = 1
omniORB:   principal = [Null]
omniORB:   scanGranularity = 5
omniORB:   serverCallTimeOutPeriod = 0
omniORB:   serverTransportRule = * unix,ssl,tcp
omniORB:   strictIIOP = 1
omniORB:   supportBootstrapAgent = 0
omniORB:   supportCurrent = 1
omniORB:   supportPerThreadTimeOut = 0
omniORB:   tcAliasExpand = 0
omniORB:   threadPerConnectionLowerLimit = 9000
omniORB:   threadPerConnectionPolicy = 1
omniORB:   threadPerConnectionUpperLimit = 10000
omniORB:   threadPoolWatchConnection = 1
omniORB:   traceInvocations = 0
omniORB:   traceLevel = 35
omniORB:   traceThreadId = 0
omniORB:   unixTransportDirectory = /tmp/omni-%u
omniORB:   unixTransportPermission =  777
omniORB:   useTypeCodeIndirections = 1
omniORB:   verifyObjectExistsAndType = 1
omniORB: Initialising incoming endpoints.
omniORB: Bind to address 0.0.0.0.
omniORB: Starting serving incoming endpoints.
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
omniORB: giopRendezvouser task execute for giop:tcp:193.253.175.185:56620
omniORB: Adding root<0> (activating) to object table.
omniORB: State root<0> (activating) -> active
omniORB: Creating ref to local: root<0>
  target id      : IDL:Agent:1.0
  most derived id: IDL:MasterAgent:1.0
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
  target id      : IDL:omg.org/CORBA/Object:1.0
  most derived id:
omniORB: Initial reference `NameService' resolved from configuration file.
omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 2
omniORB: Scavenger task execute.
omniORB: Client opened connection to giop:tcp:193.253.175.223:2809
omniORB: sendChunk: to giop:tcp:193.253.175.223:2809 100 bytes
omniORB:
4749 4f50 0100 0100 5800 0000 0000 0000 GIOP....X.......
0200 0000 0100 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6500 0600 0000 5f69 735f Service....._is_
6100 0000 0000 0000 2800 0000 4944 4c3a a.......(...IDL:
6f6d 672e 6f72 672f 436f 734e 616d 696e omg.org/CosNamin
672f 4e61 6d69 6e67 436f 6e74 6578 743a g/NamingContext:
312e 3000                               1.0.
omniORB: inputMessage: from giop:tcp:193.253.175.223:2809 25 bytes
omniORB:
4749 4f50 0100 0101 0d00 0000 0000 0000 GIOP............
0200 0000 0000 0000 01                  .........
omniORB: Creating ref to remote: key<0x4e616d6553657276696365>
  target id      : IDL:omg.org/CosNaming/NamingContext:1.0
  most derived id:
omniORB: sendChunk: to giop:tcp:193.253.175.223:2809 93 bytes
omniORB:
4749 4f50 0100 0100 5100 0000 0000 0000 GIOP....Q.......
0400 0000 0100 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6500 1100 0000 6269 6e64 Service.....bind
5f6e 6577 5f63 6f6e 7465 7874 0044 4c3a _new_context.DL:
0000 0000 0100 0000 0a00 0000 6469 6574 ............diet
4167 656e 7400 6e67 0100 0000 00        Agent.ng.....
omniORB: inputMessage: from giop:tcp:193.253.175.223:2809 188 bytes
omniORB: 128bytes out of 188
4749 4f50 0100 0101 b000 0000 0000 0000 GIOP............
0400 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..........
6800 0000 0101 0200 1000 0000 3139 332e h...........193.
3235 332e 3137 352e 3138 3500 f90a 0000 253.175.185.....
0e00 0000 ff00 45b0 dc3e 0100 667f 0000 ......E..>..f...
omniORB: Creating ref to remote: root/<E.....f.....>
  target id      : IDL:omg.org/CosNaming/NamingContext:1.0
  most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
omniORB: LocateRequest to remote: root/<E.....f.....>
omniORB: throw giopStream::CommFailure from 
giopStream.cc:1052(0,NO,TRANSIENT_ConnectFailed)
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.
Caught a system exception while using the naming service.
omniORB: ObjRef() -- deleted.
Agent: could not declare myself as MA1
Unable to launch the agent.
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef() -- deleted.
omniORB: ORB not destroyed; no final clean-up.


***************
* omniORB.cfg *
***************

traceLevel = 40
InitRef = NameService=corbaname::193.253.175.223:2809/NameService
giopMaxMsgSize = 33554432 # 32MB


Could you help me ?

PS: This application is OK on another cluster. the eg3 example from 
omniORB-4.0.1/src/examples/echo have the same behavior.

-- 
---------------------------------------------------------------------
Eddy Caron. Mcf ENS Lyon
LIP - ENS Lyon
46 Allee d'Italie,
69364 Lyon Cedex 07, France
E-Mail : Eddy.Caron at ens-lyon.fr
[ Tel : 04.72.72.84.96 ][ Web page : http://www.ens-lyon.fr/~ecaron ]
---------------------------------------------------------------------




More information about the omniORB-list mailing list