[omniORB] RE: Strange Error

Wilson Jimmy - jiwils Jimmy.Wilson at acxiom.com
Wed Nov 3 10:30:00 GMT 2004


> Please post a trace from traceLevel 40 from the case that it's
> failing. I suspect it's something to do with code set negotiation,
> since that's the only thing that's subtly different between a corbaloc
> and a full IOR.

Here's the requested trace.  I should note that setting "lcdMode" to "1"
causes this corbaloc to behave just as the working corbaloc specifying IIOP
1.1, but I would still like to understand what is going on.

corbaloc specifying IIOP 1.2:
-----------------------------
omniORB: Configuration file "C:\\OMNIORB.CFG" either does not exist or is
not a file. No settings read.
omniORB: Distribution date: Mon Oct 18 18:06:03 BST 2004 dgrisby
omniORB: My addresses are:
omniORB: 10.85.51.0
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) UTF-8(1.1) 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: Information: the omniDynamic library is not linked.
omniORB: Current configuration is as follows:
omniORB:   DefaultInitRef (file) =
omniORB:   DefaultInitRef (args) =
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:   traceExceptions = 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: omniORBpy distribution date: Mon Oct 18 18:08:02 BST 2004 dgrisby
omniORB: Creating ref to remote: key<NameService>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id:
omniORB: Creating Python ref to unknown: key<NameService>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id:
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef() -- deleted.
omniORB: Client attempt to connect to
giop:tcp:ds20clu3.conway.acxiom.com:3434
omniORB: Python thread state scavenger start.
omniORB: AsyncInvoker: thread id = 2 has started. Total threads = 1
omniORB: Scavenger task execute.
omniORB: Client opened connection to giop:tcp:139.61.179.111:3434
omniORB: sendChunk: to giop:tcp:139.61.179.111:3434 103 bytes
omniORB:
4749 4f50 0102 0100 5b00 0000 0200 0000 GIOP....[.......
0300 0000 0000 6c02 0b00 0000 4e61 6d65 ......l.....Name
5365 7276 6963 6504 0600 0000 5f69 735f Service....._is_
6100 6403 0000 0000 2b00 0000 4944 4c3a a.d.....+...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 00                       xt:1.0.
omniORB: inputMessage: from giop:tcp:139.61.179.111:3434 256 bytes
omniORB:
4749 4f50 0102 0101 f400 0000 0200 0000 GIOP............
0300 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..........
ac00 0000 0101 0200 0f00 0000 3133 392e ............139.
3631 2e31 3739 2e31 3131 006f 6a0d 2e61 61.179.111.oj..a
3300 0000 1401 0f00 4e55 5000 0000 1500 3.......NUP.....
0000 0001 0000 0000 4e61 6d65 5365 7276 ........NameServ
6963 6500 0118 0000 0100 0000 4e61 6d65 ice.........Name
5365 7276 6963 6500 0300 0000 0000 0000 Service.........
0800 0000 0100 0000 004f 4154 0100 0000 .........OAT....
1400 0000 0100 0000 0100 0100 0000 0000 ................
0901 0100 0000 0000 024f 4154 2000 0000 .........OAT ...
0100 0000 0100 0000 0f00 0000 3133 392e ............139.
3631 2e31 3739 2e31 3131 0000 6a0d ffff 61.179.111..j...
omniORB: Creating ref to remote:
key<....NUP.............NameService.........NameService>
 target id      : IDL:omg.org/CORBA/Object:1.0
 most derived id: IDL:omg.org/CosNaming/NamingContextExt:1.0
omniORB: GIOP::LOCATION_FORWARD -- retry request.
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.
omniORB:  send codeset service context: (ISO-8859-1,UTF-16)
omniORB: Client attempt to connect to giop:tcp:139.61.179.111:3434
omniORB: Client opened connection to giop:tcp:139.61.179.111:3434
omniORB: sendChunk: to giop:tcp:139.61.179.111:3434 167 bytes
omniORB:
4749 4f50 0102 0100 9b00 0000 0200 0000 GIOP............
0300 0000 0000 734e 3300 0000 1401 0f00 ......sN3.......
4e55 5000 0000 1500 0000 0001 0000 0000 NUP.............
4e61 6d65 5365 7276 6963 6500 0118 0000 NameService.....
0100 0000 4e61 6d65 5365 7276 6963 6504 ....NameService.
0600 0000 5f69 735f 6100 0000 0100 0000 ...._is_a.......
0100 0000 0c00 0000 0100 0000 0100 0100 ................
0901 0100 6f67 7261 2b00 0000 4944 4c3a ....ogra+...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 00                       xt:1.0.
omniORB: inputMessage: from giop:tcp:139.61.179.111:3434 25 bytes
omniORB:
4749 4f50 0102 0101 0d00 0000 0200 0000 GIOP............
0000 0000 0000 0000 01                  .........
omniORB: Creating Python ref to unknown: key<NameService>
 target id      : IDL:omg.org/CosNaming/NamingContextExt:1.0
 most derived id:
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef() -- deleted.
omniORB: LocateRequest to remote: key<NameService>
omniORB: sendChunk: to giop:tcp:139.61.179.111:3434 35 bytes
omniORB:
4749 4f50 0102 0103 1700 0000 0400 0000 GIOP............
0000 0000 0b00 0000 4e61 6d65 5365 7276 ........NameServ
6963 65                                 ice
omniORB: inputMessage: from giop:tcp:139.61.179.111:3434 256 bytes
omniORB:
4749 4f50 0102 0104 f400 0000 0400 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..........
ac00 0000 0101 0200 0f00 0000 3133 392e ............139.
3631 2e31 3739 2e31 3131 006f 6a0d 2e61 61.179.111.oj..a
3300 0000 1401 0f00 4e55 5000 0000 1500 3.......NUP.....
0000 0001 0000 0000 4e61 6d65 5365 7276 ........NameServ
6963 6500 0118 0000 0100 0000 4e61 6d65 ice.........Name
5365 7276 6963 6500 0300 0000 0000 0000 Service.........
0800 0000 0100 0000 004f 4154 0100 0000 .........OAT....
1400 0000 0100 0000 0100 0100 0000 0000 ................
0901 0100 0000 0000 024f 4154 2000 0000 .........OAT ...
0100 0000 0100 0000 0f00 0000 3133 392e ............139.
3631 2e31 3739 2e31 3131 0000 6a0d ffff 61.179.111..j...
omniORB: throw MARSHAL from exception.cc:443 (YES,MARSHAL_SequenceIsTooLong)
omniORB: Unexpected error encountered in talking to the server
giop:tcp:139.61.179.111:3434 . The connection is closed i
mmediately.
omniORB: Client connection refcount = 0
omniORB: Client close connection to giop:tcp:139.61.179.111:3434
omniORB: omniRemoteIdentity deleted.
omniORB: ObjRef() -- deleted.
omniORB: ORB not destroyed; no final clean-up. 

Standard Output:
----------------
Traceback (most recent call last):
  File "F:\test12.py", line 5, in ?
    ns.listContext()
  File "C:\Development\Python\lib\NS.py", line 49, in listContext
    BindingList, BindingIterator = self.contextCurrent.list(1024)
  File "C:\Program Files\omni\lib\python\CosNaming_idl.py", line 230, in
list
    return _omnipy.invoke(self, "list", _0_CosNaming.NamingContext._d_list,
args)
omniORB.CORBA.MARSHAL: Minor: MARSHAL_SequenceIsTooLong, COMPLETED_YES.

Jimmy
-- 
James "Jimmy" Wilson
Software Developer, Acxiom Corporation


**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.




More information about the omniORB-list mailing list