[omniORB] cannot talk to name service

Ahlborn, James T (GE Healthcare) James.Ahlborn at med.ge.com
Thu Oct 14 09:15:29 BST 2004


hey,
so here's the deal, we've been using omniorb 4.0.3 quite happily in our project for a couple of months now.  in our product, however, there are many groups, and we are attempting to share our corba services between groups.  a different group has compiled and installed omniNames (also 4.0.3) on the box that we share.  we connect to our installed omniNames quite fine, when we try to use the other omniNames, the connection hangs in an attempt to create a subcontext.  the config files we use are identical.  the only difference that seems possibly relevant to me is that we compile our apps with icc, and they compile their apps with gcc (but corba is supposed to work across all that, right?).  i've included the relevant logs below (trace level 40), where omniNames gets the connection and just seems to stop processing it.

-----------------------------------------------
omniNames log:
-----------------------------------------------
omniORB: Distribution date: Fri Nov 21 17:39:25 GMT 2003 dgrisby
omniORB: My addresses are: 
omniORB: 127.0.0.1
omniORB: 3.28.225.34
omniORB: 198.19.229.162
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:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   DefaultInitRef (file) = 
omniORB:   DefaultInitRef (args) = 
omniORB:   InitRef = NameService=corbaname::localhost
omniORB:   InitRef = EventService=corbaloc::localhost:7766/omniEvents
omniORB:   abortOnInternalError = 0
omniORB:   acceptBiDirectionalGIOP = 0
omniORB:   acceptMisalignedTcIndirections = 0
omniORB:   bootstrapAgentHostname = 
omniORB:   bootstrapAgentPort = 900
omniORB:   clientCallTimeOutPeriod = 0
omniORB:   clientTransportRule = localhost tcp
omniORB:   clientTransportRule = * none
omniORB:   diiThrowsSysExceptions = 0
omniORB:   dumpConfiguration = 0
omniORB:   endPoint = giop:tcp::
omniORB:   endPoint = giop:tcp::2809
omniORB:   endPointPublishAllIFs = 0
omniORB:   giopMaxMsgSize = 2097152
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 = localhost tcp
omniORB:   serverTransportRule = * none
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 = 40
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: Bind to address 0.0.0.0.
omniORB: Starting serving incoming endpoints.
omniORB: Adding key<0x4e616d6553657276696365> (activating) to object table.
omniORB: State key<0x4e616d6553657276696365> (activating) -> active
omniORB: Adding root/<j.fA...c....> (activating) to object table.
omniORB: State root/<j.fA...c....> (activating) -> active
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: Creating ref to remote: boa<0x41668a6c64c2e77700000001>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:EventChannelAdmin/EventChannelFactory:1.0
omniORB: LocateRequest to remote: key<0x4e616d6553657276696365>
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 2
omniORB: giopRendezvouser task execute for giop:tcp:3.28.225.34:32827
omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 2
omniORB: Client attempt to connect to giop:tcp:198.19.229.162:32768
omniORB: throw giopStream::CommFailure from giopStream.cc:1070(1,NO,TRANSIENT_ConnectFailed)
omniORB: LocateRequest to remote: key<0x4e616d6553657276696365>
omniORB: Client attempt to connect to giop:tcp:198.19.229.162:2809
omniORB: Client opened connection to giop:tcp:198.19.229.162:2809
omniORB: sendChunk: to giop:tcp:198.19.229.162:2809 35 bytes
omniORB: 
4749 4f50 0102 0103 1700 0000 0200 0000 GIOP............
0000 0000 0b00 0000 4e61 6d65 5365 7276 ........NameServ
6963 65                                 ice
omniORB: giopRendezvouser task execute for giop:tcp:3.28.225.34:2809
omniORB: Server accepted connection from giop:tcp:198.19.229.162:32829
omniORB: AsyncInvoker: thread id = 3 has started. Total threads = 3
omniORB: Scavenger task execute.
omniORB: AsyncInvoker: thread id = 4 has started. Total threads = 4
omniORB: giopWorker task execute.
omniORB: Accepted connection from giop:tcp:198.19.229.162:32829 because of this rule: "localhost tcp"
omniORB: inputMessage: from giop:tcp:198.19.229.162:32829 35 bytes
omniORB: 
4749 4f50 0102 0103 1700 0000 0200 0000 GIOP............
0000 0000 0b00 0000 4e61 6d65 5365 7276 ........NameServ
6963 65                                 ice
omniORB: Handling a GIOP LOCATE_REQUEST.
omniORB: sendChunk: to giop:tcp:198.19.229.162:32829 20 bytes
omniORB: 
4749 4f50 0102 0104 0800 0000 0200 0000 GIOP............
0100 0000                               ....
omniORB: inputMessage: from giop:tcp:198.19.229.162:2809 20 bytes
omniORB: 
4749 4f50 0102 0104 0800 0000 0200 0000 GIOP............
0100 0000                               ....
omniORB:  send codeset service context: (ISO-8859-1,UTF-16)
omniORB: sendChunk: to giop:tcp:198.19.229.162:2809 396 bytes
omniORB: 
4749 4f50 0102 0100 8001 0000 0400 0000 GIOP............
0300 0000 0000 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6565 0700 0000 7265 6269 Servicee....rebi
6e64 0032 0100 0000 0100 0000 0c00 0000 nd.2............
0100 0000 0100 0100 0901 0100 0000 0000 ................
0100 0000 1400 0000 4576 656e 7443 6861 ........EventCha
6e6e 656c 4661 6374 6f72 7900 1400 0000 nnelFactory.....
4576 656e 7443 6861 6e6e 656c 4661 6374 EventChannelFact
6f72 7900 2e00 0000 4944 4c3a 4576 656e ory.....IDL:Even
7443 6861 6e6e 656c 4164 6d69 6e2f 4576 tChannelAdmin/Ev
656e 7443 6861 6e6e 656c 4661 6374 6f72 entChannelFactor
793a 312e 3000 0000 0100 0000 0000 0000 y:1.0...........
c800 0000 0101 0200 0f00 0000 3139 382e ............198.
3139 2e32 3239 2e31 3632 0000 0180 0000 19.229.162......
0c00 0000 4166 8a6c 64c2 e777 0000 0001 ....Af.ld..w....
0400 0000 0000 0000 0800 0000 0100 0000 ................
0054 5441 0100 0000 1c00 0000 0100 0000 .TTA............
0100 0100 0100 0000 0100 0105 0901 0100 ................
0100 0000 0901 0100 0300 0000 1a00 0000 ................
0100 0000 0f00 0000 3139 382e 3139 2e32 ........198.19.2
3239 2e31 3632 0000 561e 0000 0254 5441 29.162..V....TTA
3800 0000 0100 0000 0800 0000 7773 5f67 8...........ws_g
706f 7300 2400 0000 2f74 6d70 2f6f 6d6e pos.$.../tmp/omn
692d 726f 6f74 2f30 3030 3030 3139 3131 i-root/000001911
2d31 3039 3732 3339 3134 3800           -1097239148.
omniORB: inputMessage: from giop:tcp:198.19.229.162:32829 396 bytes
omniORB: 
4749 4f50 0102 0100 8001 0000 0400 0000 GIOP............
0300 0000 0000 0000 0b00 0000 4e61 6d65 ............Name
5365 7276 6963 6565 0700 0000 7265 6269 Servicee....rebi
6e64 0032 0100 0000 0100 0000 0c00 0000 nd.2............
0100 0000 0100 0100 0901 0100 0000 0000 ................
0100 0000 1400 0000 4576 656e 7443 6861 ........EventCha
6e6e 656c 4661 6374 6f72 7900 1400 0000 nnelFactory.....
4576 656e 7443 6861 6e6e 656c 4661 6374 EventChannelFact
6f72 7900 2e00 0000 4944 4c3a 4576 656e ory.....IDL:Even
7443 6861 6e6e 656c 4164 6d69 6e2f 4576 tChannelAdmin/Ev
656e 7443 6861 6e6e 656c 4661 6374 6f72 entChannelFactor
793a 312e 3000 0000 0100 0000 0000 0000 y:1.0...........
c800 0000 0101 0200 0f00 0000 3139 382e ............198.
3139 2e32 3239 2e31 3632 0000 0180 0000 19.229.162......
0c00 0000 4166 8a6c 64c2 e777 0000 0001 ....Af.ld..w....
0400 0000 0000 0000 0800 0000 0100 0000 ................
0054 5441 0100 0000 1c00 0000 0100 0000 .TTA............
0100 0100 0100 0000 0100 0105 0901 0100 ................
0100 0000 0901 0100 0300 0000 1a00 0000 ................
0100 0000 0f00 0000 3139 382e 3139 2e32 ........198.19.2
3239 2e31 3632 0000 561e 0000 0254 5441 29.162..V....TTA
3800 0000 0100 0000 0800 0000 7773 5f67 8...........ws_g
706f 7300 2400 0000 2f74 6d70 2f6f 6d6e pos.$.../tmp/omn
692d 726f 6f74 2f30 3030 3030 3139 3131 i-root/000001911
2d31 3039 3732 3339 3134 3800           -1097239148.
omniORB:  recieve codeset service context and set TCS to (ISO-8859-1,UTF-16)
omniORB: Creating ref to remote: boa<0x41668a6c64c2e77700000001>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:EventChannelAdmin/EventChannelFactory:1.0
omniORB: Scan for idle connections (1097704376,663628000)
omniORB: Scan for idle connections done (1097704376,663628000).
omniORB: Scan for idle connections (1097704381,672864000)
omniORB: Scan for idle connections done (1097704381,672864000).
omniORB: Scan for idle connections (1097704386,682100000)
omniORB: Scan for idle connections done (1097704386,682100000).
omniORB: Scan for idle connections (1097704391,699345000)
omniORB: Scan for idle connections done (1097704391,699345000).
omniORB: Scan for idle connections (1097704396,707574000)
omniORB: Scan for idle connections done (1097704396,707574000).
omniORB: Server accepted connection from giop:tcp:127.0.0.1:32831
omniORB: AsyncInvoker: thread id = 5 has started. Total threads = 5
omniORB: giopWorker task execute.
omniORB: Accepted connection from giop:tcp:127.0.0.1:32831 because of this rule: "localhost tcp"
omniORB: inputMessage: from giop:tcp:127.0.0.1:32831 100 bytes
omniORB: 
4749 4f50 0100 0100 5800 0000 0000 0000 GIOP....X.......
0200 0000 0169 4f52 0b00 0000 4e61 6d65 .....iOR....Name
5365 7276 6963 6520 0600 0000 5f69 735f Service ...._is_
6100 2020 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:127.0.0.1:32831 25 bytes
omniORB: 
4749 4f50 0100 0101 0d00 0000 0000 0000 GIOP............
0200 0000 0000 0000 01                  .........
omniORB: inputMessage: from giop:tcp:127.0.0.1:32831 96 bytes
omniORB: 
4749 4f50 0100 0100 5400 0000 0000 0000 GIOP....T.......
0400 0000 0169 4f52 0b00 0000 4e61 6d65 .....iOR....Name
5365 7276 6963 6520 1100 0000 6269 6e64 Service ....bind
5f6e 6577 5f63 6f6e 7465 7874 0044 4c3a _new_context.DL:
0000 0000 0100 0000 0500 0000 4745 4843 ............GEHC
002f 4e61 0800 0000 636f 6e74 6578 7400 ./Na....context.
omniORB: Creating ref to in process: root/<..mA........>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:omg.org/CosNaming/NamingContext:1.0
omniORB: Scan for idle connections (1097704401,716824000)
omniORB: Scan for idle connections done (1097704401,716824000).


-----------------------------------------------
client log:
-----------------------------------------------
omniORB: Distribution date: Fri Nov 21 17:39:25 GMT 2003 dgrisby
omniORB: My addresses are: 
omniORB: 127.0.0.1
omniORB: 3.28.225.34
omniORB: 198.19.229.162
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:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   
omniORB:   DefaultInitRef (file) = 
omniORB:   DefaultInitRef (args) = 
omniORB:   InitRef = NameService=corbaname::localhost
omniORB:   InitRef = EventService=corbaloc::localhost:7766/omniEvents
omniORB:   abortOnInternalError = 0
omniORB:   acceptBiDirectionalGIOP = 0
omniORB:   acceptMisalignedTcIndirections = 0
omniORB:   bootstrapAgentHostname = 
omniORB:   bootstrapAgentPort = 900
omniORB:   clientCallTimeOutPeriod = 0
omniORB:   clientTransportRule = localhost tcp
omniORB:   clientTransportRule = * none
omniORB:   diiThrowsSysExceptions = 0
omniORB:   dumpConfiguration = 0
omniORB:   endPoint = giop:tcp::
omniORB:   endPointPublishAllIFs = 0
omniORB:   giopMaxMsgSize = 2097152
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 = localhost tcp
omniORB:   serverTransportRule = * none
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 = 40
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: 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: Client attempt to connect to giop:tcp:localhost:2809
omniORB: Client opened connection to giop:tcp:127.0.0.1:2809
omniORB: sendChunk: to giop:tcp:127.0.0.1:2809 100 bytes
omniORB: 
4749 4f50 0100 0100 5800 0000 0000 0000 GIOP....X.......
0200 0000 0169 4f52 0b00 0000 4e61 6d65 .....iOR....Name
5365 7276 6963 6520 0600 0000 5f69 735f Service ...._is_
6100 2020 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: AsyncInvoker: thread id = 1 has started. Total threads = 2
omniORB: giopRendezvouser task execute for giop:tcp:3.28.225.34:32830
omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 2
omniORB: Scavenger task execute.
omniORB: inputMessage: from giop:tcp:127.0.0.1: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:127.0.0.1:2809 96 bytes
omniORB: 
4749 4f50 0100 0100 5400 0000 0000 0000 GIOP....T.......
0400 0000 0169 4f52 0b00 0000 4e61 6d65 .....iOR....Name
5365 7276 6963 6520 1100 0000 6269 6e64 Service ....bind
5f6e 6577 5f63 6f6e 7465 7874 0044 4c3a _new_context.DL:
0000 0000 0100 0000 0500 0000 4745 4843 ............GEHC
002f 4e61 0800 0000 636f 6e74 6578 7400 ./Na....context.
omniORB: Scan for idle connections (1097704405,666053000)
omniORB: Scan for idle connections done (1097704405,666053000).





More information about the omniORB-list mailing list