[omniORB] Unable to connect omniORB apps to ORBexpress NameService.

dahaverk at rockwellcollins.com dahaverk at rockwellcollins.com
Wed Nov 3 15:59:29 GMT 2004


Just looking for some ideas....   I've tried a few things, and I have a
work around.   But it would be nice to get my ominORB apps to connect up
with the ORBexpress nameservice.

I did use the "nameclt" program for the included messages included...
(e.g. traceLevel=40 )

Thanks,
-Dave

nameclt list  -ORBInitRef NameService=corbaname::1.1 at 192.168.139.15:10000
omniORB: Distribution date: Fri Nov 21 17:39:25 GMT 2003 dgrisby
omniORB: My addresses are:
omniORB: 127.0.0.1
omniORB: 192.168.139.173
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:   DefaultInitRef (file) =
omniORB:   DefaultInitRef (args) =
omniORB:   InitRef = NameService=corbaname::1.1 at 192.168.139.15:10000
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 = 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 = * 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 = 40
omniORB:   traceThreadId = 0
omniORB:   unixTransportDirectory = /tmp/omni-%u
omniORB:   unixTransportPermission =  777
omniORB:   useTypeCodeIndirections = 1
omniORB:   verifyObjectExistsAndType = 1
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 -ORBInitRef argument
/ ORB registration.
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
omniORB: Scavenger task execute.
omniORB: Client attempt to connect to giop:tcp:192.168.139.15:10000
omniORB: Client opened connection to giop:tcp:192.168.139.15:10000
omniORB: sendChunk: to giop:tcp:192.168.139.15:10000 100 bytes
omniORB:
4749 4f50 0101 0100 5800 0000 0000 0000 GIOP....X.......
0200 0000 0136 3535 0b00 0000 4e61 6d65 .....655....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: inputMessage: from giop:tcp:192.168.139.15:10000 12 bytes
omniORB:
4749 4f50 0100 0006 0000 0000           GIOP........
omniORB: From endpoint: giop:tcp:192.168.139.15:10000. Detected GIOP 1.1
protocol error in input message. Connection is closed.
omniORB: throw giopStream::CommFailure from
giopImpl11.cc:1027(0,MAYBE,COMM_FAILURE_WaitingForReply)
omniORB: Client connection refcount = 0
omniORB: Client close connection to giop:tcp:192.168.139.15:10000
omniORB: throw COMM_FAILURE from omniObjRef.cc:754
(MAYBE,COMM_FAILURE_WaitingForReply)
Caught a COMM_FAILURE when trying to validate the type of the
NamingContext.
omniORB: ORB not destroyed; no final clean-up.
[user at host]$ nameclt list  -ORBInitRef
NameService=corbaname::192.168.139.15:10000
omniORB: Distribution date: Fri Nov 21 17:39:25 GMT 2003 dgrisby
omniORB: My addresses are:
omniORB: 127.0.0.1
omniORB: 192.168.139.173
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:   DefaultInitRef (file) =
omniORB:   DefaultInitRef (args) =
omniORB:   InitRef = NameService=corbaname::192.168.139.15:10000
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 = 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 = * 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 = 40
omniORB:   traceThreadId = 0
omniORB:   unixTransportDirectory = /tmp/omni-%u
omniORB:   unixTransportPermission =  777
omniORB:   useTypeCodeIndirections = 1
omniORB:   verifyObjectExistsAndType = 1
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 -ORBInitRef argument
/ ORB registration.
omniORB: Client attempt to connect to giop:tcp:192.168.139.15:10000
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
omniORB: Scavenger task execute.
omniORB: Client opened connection to giop:tcp:192.168.139.15:10000
omniORB: sendChunk: to giop:tcp:192.168.139.15:10000 100 bytes
omniORB:
4749 4f50 0100 0100 5800 0000 0000 0000 GIOP....X.......
0200 0000 0136 3535 0b00 0000 4e61 6d65 .....655....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: Scan for idle connections (1099517071,730475000)
omniORB: Scan for idle connections done (1099517071,730475000).
omniORB: Scan for idle connections (1099517076,731778000)
omniORB: Scan for idle connections done (1099517076,731778000).
omniORB: Scan for idle connections (1099517081,732973000)
omniORB: Scan for idle connections done (1099517081,732973000).
omniORB: Scan for idle connections (1099517086,734221000)
omniORB: Scan for idle connections done (1099517086,734221000).
omniORB: Scan for idle connections (1099517091,735464000)
omniORB: Scan for idle connections done (1099517091,735464000).
omniORB: Scan for idle connections (1099517096,736693000)
omniORB: Scan for idle connections done (1099517096,736693000).

[user at host]$
nameclt list  -ORBInitRef NameService=corbaname::1.2 at 192.168.139.15:10000
omniORB: Distribution date: Fri Nov 21 17:39:25 GMT 2003 dgrisby
omniORB: My addresses are:
omniORB: 127.0.0.1
omniORB: 192.168.139.173
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:   DefaultInitRef (file) =
omniORB:   DefaultInitRef (args) =
omniORB:   InitRef = NameService=corbaname::1.2 at 192.168.139.15:10000
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 = 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 = * 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 = 40
omniORB:   traceThreadId = 0
omniORB:   unixTransportDirectory = /tmp/omni-%u
omniORB:   unixTransportPermission =  777
omniORB:   useTypeCodeIndirections = 1
omniORB:   verifyObjectExistsAndType = 1
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 -ORBInitRef argument
/
ORB registration.
omniORB: Client attempt to connect to giop:tcp:192.168.139.15:10000
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
omniORB: Scavenger task execute.
omniORB: Client opened connection to giop:tcp:192.168.139.15:10000
omniORB: sendChunk: to giop:tcp:192.168.139.15:10000 100 bytes
omniORB:
4749 4f50 0102 0100 5800 0000 0200 0000 GIOP....X.......
0300 0000 0000 3535 0b00 0000 4e61 6d65 ......55....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: inputMessage: from giop:tcp:192.168.139.15:10000 12 bytes
omniORB:
4749 4f50 0100 0006 0000 0000           GIOP........
omniORB: From endpoint: giop:tcp:192.168.139.15:10000. Detected GIOP 1.2
protocol error in input message. Connection is closed.
omniORB: throw giopStream::CommFailure from
giopImpl12.cc:1246(0,MAYBE,COMM_FAILURE_WaitingForReply)
omniORB: Client connection refcount = 0
omniORB: Client close connection to giop:tcp:192.168.139.15:10000
omniORB: throw COMM_FAILURE from omniObjRef.cc:754
(MAYBE,COMM_FAILURE_WaitingForReply)
Caught a COMM_FAILURE when trying to validate the type of the
NamingContext.
omniORB: ORB not destroyed; no final clean-up.
[user at host]$ nameclt list  -ORBInitRef NameService=corbaname::1.0
@192.168.139.15:10000
omniORB: Distribution date: Fri Nov 21 17:39:25 GMT 2003 dgrisby
omniORB: My addresses are:
omniORB: 127.0.0.1
omniORB: 192.168.139.173
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:   DefaultInitRef (file) =
omniORB:   DefaultInitRef (args) =
omniORB:   InitRef = NameService=corbaname::1.0 at 192.168.139.15:10000
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 = 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 = * 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 = 40
omniORB:   traceThreadId = 0
omniORB:   unixTransportDirectory = /tmp/omni-%u
omniORB:   unixTransportPermission =  777
omniORB:   useTypeCodeIndirections = 1
omniORB:   verifyObjectExistsAndType = 1
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 -ORBInitRef argument
/
ORB registration.
omniORB: Client attempt to connect to giop:tcp:192.168.139.15:10000
omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1
omniORB: Scavenger task execute.
omniORB: Client opened connection to giop:tcp:192.168.139.15:10000
omniORB: sendChunk: to giop:tcp:192.168.139.15:10000 100 bytes
omniORB:
4749 4f50 0100 0100 5800 0000 0000 0000 GIOP....X.......
0200 0000 0136 3535 0b00 0000 4e61 6d65 .....655....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: Scan for idle connections (1099517299,180145000)
omniORB: Scan for idle connections done (1099517299,180145000).
omniORB: Scan for idle connections (1099517304,181171000)
omniORB: Scan for idle connections done (1099517304,181171000).
omniORB: Scan for idle connections (1099517309,182407000)
omniORB: Scan for idle connections done (1099517309,182407000).
omniORB: Scan for idle connections (1099517314,183643000)
omniORB: Scan for idle connections done (1099517314,183643000).
omniORB: Scan for idle connections (1099517319,184884000)
omniORB: Scan for idle connections done (1099517319,184884000).

[user at host]$ ping 192.168.139.15
PING (192.168.139.15) 56(84) bytes of data.
64 bytes from mustang (192.168.139.15): icmp_seq=0 ttl=255 time=0.232 ms
64 bytes from mustang (192.168.139.15): icmp_seq=1 ttl=255 time=0.209 ms
64 bytes from mustang (192.168.139.15): icmp_seq=2 ttl=255 time=0.208 ms
64 bytes from mustang (192.168.139.15): icmp_seq=3 ttl=255 time=0.210 ms
64 bytes from mustang (192.168.139.15): icmp_seq=4 ttl=255 time=0.207 ms
64 bytes from mustang (192.168.139.15): icmp_seq=5 ttl=255 time=0.208 ms
64 bytes from mustang (192.168.139.15): icmp_seq=6 ttl=255 time=0.209 ms
64 bytes from mustang (192.168.139.15): icmp_seq=7 ttl=255 time=0.221 ms
64 bytes from mustang (192.168.139.15): icmp_seq=8 ttl=255 time=0.208 ms
64 bytes from mustang (192.168.139.15): icmp_seq=9 ttl=255 time=0.209 ms
64 bytes from mustang (192.168.139.15): icmp_seq=10 ttl=255 time=0.207 ms
64 bytes from mustang (192.168.139.15): icmp_seq=11 ttl=255 time=0.203 ms
64 bytes from mustang (192.168.139.15): icmp_seq=12 ttl=255 time=0.209 ms




More information about the omniORB-list mailing list