[omniORB] EndPoint Problem

Rick Sanden richard.sanden@medtronic.com
Thu Sep 12 22:33:00 2002


When I don't use endPoint my corba server communicates with omninames
(which is on the same server) just fine. Omninames is listening on 192.168.0.2:10499. When I define endPoint = giop:tcp::192.168.0.2
or endPoint = giop:tcp::192.168.0.2 I get the attached exception thrown from my server app. I need to use endPoint because the server will have
multiple network connections


omniORB: Distribution date: Wed Aug 21 21:04:12 BST 2002 dgrisby
omniORB: My addresses are:
omniORB: 192.168.0.2
omniORB: 127.0.0.1
omniORB: Maximum supported GIOP version is 1.2
omniORB: Native char code sets: UTF-8 ISO-8859-1.
omniORB: Transmission char code sets: UTF-8(1.2) ISO-8859-1(1.2) ISO-8859-1(1.1)
 ISO-8859-1(1.0).
omniORB: Native wide char code sets: UTF-16.
omniORB: Transmission wide char code sets: UTF-16(1.2).
omniORB: Initialising omniDynamic library.
omniORB: Creating ref to remote: key<0x494e4954>
 target id      : omg.org/CORBA/InitialReferences:1.0
 most derived id: omg.org/CORBA/InitialReferences:1.0
omniORB: Current configuration is as follows:
omniORB:   DefaultInitRef =
omniORB:   abortOnInternalError = 0
omniORB:   acceptBiDirectionalGIOP = 0
omniORB:   acceptMisalignedTcIndirections = 0
omniORB:   bootstrapAgentHostname = 192.168.0.2
omniORB:   bootstrapAgentPort = 10499
omniORB:   clientCallTimeOutPeriod = 0
omniORB:   clientTransportRule = * unix,ssl,tcp
omniORB:   diiThrowsSysExceptions = 0
omniORB:   dumpConfiguration = 0
omniORB:   endPoint = giop:tcp::192.168.0.2
omniORB:   endPointPublishAllIFs = 0
omniORB:   giopMaxMsgSize = 2097152
omniORB:   giopTargetAddressMode = KeyAddr
omniORB:   id = omniORB4
omniORB:   inConScanPeriod = 0
omniORB:   lcdMode = 0
omniORB:   maxGIOPConnectionPerServer = 100
omniORB:   maxGIOPVersion = 1.2
omniORB:   maxInterleavedCallsPerConnection = 100
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:   principal = [Null]
omniORB:   scanGranularity = 0
omniORB:   serverCallTimeOutPeriod = 20000
omniORB:   serverTransportRule = * unix,ssl,tcp
omniORB:   strictIIOP = 1
omniORB:   supportBootstrapAgent = 1
omniORB:   supportCurrent = 1
omniORB:   tcAliasExpand = 0
omniORB:   threadPerConnectionLowerLimit = 9000
omniORB:   threadPerConnectionPolicy = 0
omniORB:   threadPerConnectionUpperLimit = 10000
omniORB:   threadPoolWatchConnection = 1
omniORB:   traceInvocations = 1
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: Starting serving incoming endpoints.
omniORB: AsyncInvoker: thread id = 3 has started. Total threads = 1
omniORB: giopRendezvouser task execute.
omniORB: Adding root/sessionPOA<0> (activating) to object table.
omniORB: State root/sessionPOA<0> (activating) -> active
omniORB: Creating ref to local: root/sessionPOA<0>
 target id      : IDL:omg.org/telemModule/IConnectionInterface:1.0
 most derived id: IDL:omg.org/telemModule/IConnectionInterface:1.0
omniORB: Trying to resolve initial reference `NameService'
 with boot agent: IOR:01000000240000006f6d672e6f72672f434f5242412f496e697469616c
5265666572656e6365733a312e3000010000000000000020000000010100000c0000003139322e31
36382e302e32000329000004000000494e4954
omniORB: Invoke 'get' on remote: key<0x494e4954>
omniORB: Client opened connection to giop:tcp:192.168.0.2:10499
omniORB: sendChunk: to giop:tcp:192.168.0.2:10499 60 bytes
4749 4f50 0100 0100 3000 0000 0000 0000 GIOP....0.......
0200 0000 0100 0000 0400 0000 494e 4954 ............INIT
0400 0000 6765 7400 0000 0000 0c00 0000 ....get.........
4e61 6d65 5365 7276 6963 6500           NameService.
omniORB: inputMessage: from giop:tcp:192.168.0.2:10499 210 bytes
4749 4f50 0100 0101 c600 0000 0000 0000 GIOP............
0200 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..........
7e00 0000 0101 0200 0c00 0000 3139 322e ~...........192.
3136 382e 302e 3200 c000 0000 0b00 0000 168.0.2.........
4e61 6d65 5365 7276 6963 6500 0300 0000 NameService.....
0000 0000 0800 0000 0100 0000 0054 5441 .............TTA
0100 0000 1c00 0000 0100 0000 0100 0100 ................
0100 0000 0100 0105 0901 0100 0100 0000 ................
0901 0100 0300 0000 1600 0000 0100 0000 ................
0c00 0000 3139 322e 3136 382e 302e 3200 ....192.168.0.2.
0329                                    .)
omniORB: Creating ref to in process: 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: throw OBJECT_NOT_EXIST from inProcessIdentity.cc:237 (NO,0x00000000)
omniORB: ObjRef(IDL:omg.org/telemModule/IConnectionInterface:1.0) -- deleted.

abnormal program termination
omniORB: ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.