[omniORB] omniORB4 : omniNames and nameclt with old config files

Brecht Vermeulen brecht.vermeulen@rug.ac.be
Tue, 02 Oct 2001 18:38:00 +0200


Hi,

I downloaded the latest omniORB4 snapshot (2-10-01), compiled and tested
(need it for the Current interface) and think I've encountered a bug
regarding the use of old config files:(and with a new config file,
everything works fine)

starting omniNames :
 OMNIORB_CONFIG=/etc/omniORB.cfg  OMNIORB_USEHOSTNAME=$HOSTNAME 
OMNINAMES_LOGDIR=/var/log
omniNames -ORBtraceLevel 40

(HOSTNAME=Caesar)
config file:
ORBInitialHost caesar
ORBInitialPort 8088



output :
omniORB: Warning: the config file is in the old pre-omniORB4 format.
omniORB: For the moment this is accepted to maintain backward
compatibility.
omniORB: Please update to the new config file format ASAP.
omniORB: Warning: translated (ORBInitialHost) to
(bootstrapAgentHostname)
omniORB: Warning: translated (ORBInitialPort) to (bootstrapAgentPort)
omniORB: Distribution date: Wed Sep 26 11:44:50 BST 2001 sll
omniORB: My addresses are:
omniORB: 127.0.0.1
omniORB: 157.193.184.93
omniORB: 157.193.122.93
omniORB: 172.16.6.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: 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 = caesar
omniORB:   bootstrapAgentPort = 8088
omniORB:   clientCallTimeOutPeriod = 0
omniORB:   clientTransportRule = * unix,ssl,tcp
omniORB:   diiThrowsSysExceptions = 0
omniORB:   dumpConfiguration = 0
omniORB:   endPoint = giop:tcp::8088
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:   scanGranularity = 5
omniORB:   serverCallTimeOutPeriod = 0
omniORB:   serverTransportRule = * unix,ssl,tcp
omniORB:   strictIIOP = 1
omniORB:   supportBootstrapAgent = 1
omniORB:   supportCurrent = 1
omniORB:   tcAliasExpand = 0
omniORB:   threadPerConnectionLowerLimit = 9000
omniORB:   threadPerConnectionPolicy = 1
omniORB:   threadPerConnectionUpperLimit = 10000
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: Starting serving incoming endpoints.
omniORB: Adding key<0x4e616d6553657276696365> (activating) to object
table.
omniORB: State key<0x4e616d6553657276696365> (activating) -> active

Tue Oct  2 18:05:03 2001:

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:010000002b00000049444c3a6f6d672e6f72672f436f734e616d696e672f4e616d696e67436f6e746578744578743a312e30000001000000000000005c00000001010200070000004361657361720000981f00000b0000004e616d6553657276696365000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100
Checkpointing Phase 1: Prepare.
omniAsyncInvoker: thread id=1 has started. Total threads = 1
Checkpointing Phase 2: Commit.
Checkpointing completed.

Then when starting nameclt:

omniORB: Server accepted connection from giop:tcp:157.193.184.93:1237
omniAsyncInvoker: thread id=2 has started. Total threads = 3
omniAsyncInvoker: thread id=3 has started. Total threads = 3
omniORB: Accepted connection from giop:tcp:157.193.184.93:1237 because
of this rule: "* unix,ssl,tcp"
omniORB: inputMessage: from giop:tcp:157.193.184.93:1237 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: Assertion failed.  This indicates a bug in the application
using
omniORB, or maybe in omniORB itself. e.g. using the ORB after it has
been shut down.
 file: callHandle.cc
 line: 127
 info: pd_localId
omniORB: WARNING -- method 'get' raised an unexpected
 exception (not a CORBA exception).
omniORB: sendChunk: to giop:tcp:157.193.184.93:1237 68 bytes
4749 4f50 0100 0101 3800 0000 0000 0000 GIOP....8.......
0200 0000 0200 0000 1e00 0000 4944 4c3a ............IDL:
6f6d 672e 6f72 672f 434f 5242 412f 554e omg.org/CORBA/UN
4b4e 4f57 4e3a 312e 3000 7074 0100 4d4f KNOWN:1.0.pt..MO
0100 0000                               ....
omniORB: Assertion failed.  This indicates a bug in the application
using
omniORB, or maybe in omniORB itself. e.g. using the ORB after it has
been shut down.
 file: callHandle.cc
 line: 127
 info: pd_localId
omniORB: WARNING -- method 'get' raised an unexpected
 exception (not a CORBA exception).
omniORB: sendChunk: to giop:tcp:157.193.184.93:1237 68 bytes
4749 4f50 0100 0101 3800 0000 0000 0000 GIOP....8.......
0200 0000 0200 0000 1e00 0000 4944 4c3a ............IDL:
6f6d 672e 6f72 672f 434f 5242 412f 554e omg.org/CORBA/UN
4b4e 4f57 4e3a 312e 3000 7074 0100 4d4f KNOWN:1.0.pt..MO
0100 0000                               ....
omniORB: Assertion failed.  This indicates a bug in the application
using
omniORB, or maybe in omniORB itself. e.g. using the ORB after it has
been shut down.

... (this is repeated a lot of times)

omniORB: throw giopStream::CommFailure from
giopStream.cc:1056(0,NO,COMM_FAILURE_UnMarshalArguments)
omniORB: Server connection refcount = 1
omniORB: Server connection refcount = 0
omniORB: Server close connection from giop:tcp:157.193.184.93:1237
omniORB: Scan for idle connections (1002038719,517303000)
omniORB: Scan for idle connections done (1002038719,517303000).
omniORB: Scan for idle connections (1002038724,525611000)
omniORB: Scan for idle connections done (1002038724,525611000).
omniAsyncInvoker: thread id=3 has exited. Total threads = 2
omniORB: Scan for idle connections (1002038729,535568000)
omniORB: Scan for idle connections done (1002038729,535568000).
                

at the omniclt side:

nameclt list -ORBtraceLevel 40
omniORB: Warning: the config file is in the old pre-omniORB4 format.
omniORB: For the moment this is accepted to maintain backward
compatibility.
omniORB: Please update to the new config file format ASAP.
omniORB: Warning: translated (ORBInitialHost) to
(bootstrapAgentHostname)
omniORB: Warning: translated (ORBInitialPort) to (bootstrapAgentPort)
omniORB: Distribution date: Wed Sep 26 11:44:50 BST 2001 sll
omniORB: My addresses are:
omniORB: 127.0.0.1
omniORB: 157.193.184.93
omniORB: 157.193.122.93
omniORB: 172.16.6.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: 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 = caesar
omniORB:   bootstrapAgentPort = 8088
omniORB:   clientCallTimeOutPeriod = 0
omniORB:   clientTransportRule = * unix,ssl,tcp
omniORB:   diiThrowsSysExceptions = 0
omniORB:   dumpConfiguration = 0
omniORB:   endPoint = giop:tcp::
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:   scanGranularity = 5
omniORB:   serverCallTimeOutPeriod = 0
omniORB:   serverTransportRule = * unix,ssl,tcp
omniORB:   strictIIOP = 1
omniORB:   supportBootstrapAgent = 1
omniORB:   supportCurrent = 1
omniORB:   tcAliasExpand = 0
omniORB:   threadPerConnectionLowerLimit = 9000
omniORB:   threadPerConnectionPolicy = 1
omniORB:   threadPerConnectionUpperLimit = 10000
omniORB:   traceInvocations = 0
omniORB:   traceLevel = 40
omniORB:   traceThreadId = 0
omniORB:   unixTransportDirectory = /tmp/omni-%u
omniORB:   unixTransportPermission =  777
omniORB:   useTypeCodeIndirections = 1
omniORB:   verifyObjectExistsAndType = 1
omniORB: Trying to resolve initial reference `NameService'
 with boot agent:
IOR:01000000240000006f6d672e6f72672f434f5242412f496e697469616c5265666572656e6365733a312e300001000000000000001c00000001010000070000006361657361720000981f000004000000494e4954
omniORB: Client opened connection to giop:tcp:157.193.184.93:8088
omniORB: sendChunk: to giop:tcp:157.193.184.93:8088 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:157.193.184.93:8088 4148 bytes
4749 4f50 0100 0101 3800 0000 0000 0000 GIOP....8.......
0200 0000 0200 0000 1e00 0000 4944 4c3a ............IDL:
6f6d 672e 6f72 672f 434f 5242 412f 554e omg.org/CORBA/UN
4b4e 4f57 4e3a 312e 3000 7074 0100 4d4f KNOWN:1.0.pt..MO
0100 0000 4749 4f50 0100 0101 3800 0000 ....GIOP....8...
0000 0000 0200 0000 0200 0000 1e00 0000 ................
4944 4c3a 6f6d 672e 6f72 672f 434f 5242 IDL:omg.org/CORB
412f 554e 4b4e 4f57 4e3a 312e 3000 7074 A/UNKNOWN:1.0.pt
0100 4d4f 0100 0000 4749 4f50 0100 0101 ..MO....GIOP....
3800 0000 0000 0000 0200 0000 0200 0000 8...............

... (this is repeated a lot)
omniORB: Split input data to multiple messages
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: Split to new buffer
omniORB: throw UNKNOWN from GIOP_C.cc:226 (NO,UNKNOWN_UserException)
omniORB: Caught exception trying to resolve `NameService' with boot
agent.omniORB: throw NO_RESOURCES from initRefs.cc:621
(NO,NO_RESOURCES_InitialRefNotFound)
Cannot resolve the root context.
Have you set up the configuration file properly?
omniORB: ORB not destroyed; no final clean-up.
omniAsyncInvoker: thread id=1 has started. Total threads = 1

best regards,
Brecht