[omniORB-dev] FW: codeset conversions.

Corrigan Coleman Coleman.Corrigan at traventec.com
Wed Sep 10 11:46:28 BST 2003



>  -----Original Message-----
> From: 	Corrigan Coleman  
> Sent:	10 September 2003 10:42
> To:	'omniorb-dev at omniorb-support.com.'
> Cc:	'duncan at grisby.org'
> Subject:	codeset conversions.
> 
> Hello all, 
> 	why are Call descriptors are marshalled as strings ? should they not
> be codeset independent ?.
> 
> This is causing me a problem as I'm using EBCDIC codesets.
> 
> If I try to use a corbaloc uri for the namespace the calldescriptor gets
> marshalled wrong.
> 
> Here's the logfile, from a nameclt call 
> 
> omniORB: (0) Distribution date: " OMNIORB_DIST_DATE "
> omniORB: (0) My addresses are:
> omniORB: 127.0.0.1
> omniORB: 172.23.4.102
> omniORB: 172.23.4.103
> omniORB: 172.24.52.146
> omniORB: 192.168.10.10
> omniORB: 192.168.10.42
> omniORB: 193.23.187.76
> omniORB: (0) Maximum supported GIOP version is 1.2
> omniORB: (0) Native char code sets: SNI-EDF-4 UTF-8 ISO-8859-1.
> omniORB: (0) Transmission char code sets: SNI-EDF-4(1.2) SNI-EDF-4(1.1)
> SNI-EDF-4(1.0) UTF-8(1.2) ISO-8859-1(1.2) ISO-8859-1(1.1) ISO-8859-1(1.0).
> omniORB: (0) Native wide char code sets: UTF-16.
> omniORB: (0) Transmission wide char code sets: UTF-16(1.2).
> omniORB: (0) Information: the omniDynamic library is not linked.
> omniORB: (0) Current configuration is as follows:
> omniORB:   DefaultInitRef =
> omniORB:   InitRef = NameService=corbaname::1.2 at TED10:
> omniORB:   abortOnInternalError = 1
> omniORB:   acceptBiDirectionalGIOP = 0
> omniORB:   acceptMisalignedTcIndirections = 0
> omniORB:   bootstrapAgentHostname =
> omniORB:   bootstrapAgentPort = 900
> omniORB:   clientCallTimeOutPeriod = 10000
> 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 = SNI-EDF-4
> 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 = 1
> omniORB:   traceLevel = 40
> omniORB:   traceThreadId = 1
> omniORB:   unixTransportDirectory = /tmp/omni-%u
> omniORB:   unixTransportPermission =  777
> omniORB:   useTypeCodeIndirections = 1
> omniORB:   verifyObjectExistsAndType = 0
> omniORB: (0) Creating ref to remote: key<0x4e616d6553657276696365>
>  target id      : IDL:omg.org/CORBA/Object:1.0
>  most derived id:
> omniORB: (0) Initial reference `NameService' resolved from configuration
> file.
> omniORB: (0) Invoke '_is_a' on remote: key<0x4e616d6553657276696365>
> omniORB: (0) Client opened connection to giop:tcp:192.168.232.41:2809
> omniORB: (0) sendChunk: to giop:tcp:192.168.232.41:2809 120 bytes
> omniORB: (0)
> 4749 4f50 0102 0000 0000 006c 0000 0002 GIOP.......l....
> 0300 0000 0000 d9c2 0000 000b 4e61 6d65 ............Name
> 5365 7276 6963 65c2 0000 0006 5f69 735f Service....._is_
> 6100 d385 0000 0000 0000 003c c3b1 c3a0 a..........<....
> 3cc2 9a3f 5fc3 8506 3fc3 8ac3 8507 c3a4 <..?_...?.......
> 3fc3 8b2b 2f5f c391 3ec3 8507 2b2f 5fc3 ?..+/_..>...+/_.
> 913e c385 c3a4 3f3e c388 c381 c38c c388 .>....?>........
> c29a c291 06c2 9000                     ........
> omniORB: (0) Sending 120Bytes
> omniORB: (0) Send returned 120
> omniORB: (0) inputMessage: from giop:tcp:192.168.232.41:2809 25 bytes
> omniORB: (0)
> 4749 4f50 0102 0001 0000 000d 0000 0002 GIOP............
> 0000 0000 0000 0000 00                  .........
> NameService object reference was not a NamingContext.
> omniORB: (0) ORB not destroyed; no final clean-up.
> 
> 
> Thanks,
> Coleman Corrigan,
> Application Delivery,
> Traventec,
> Galway Business Park,
> Dangan,
> Galway,
> Ireland.
> 
> *  	+353 (0)91 518 798
> Fax: 	+353 (0)91 525056
> *	coleman.corrigan at traventec.com
> Web: 	http://www.traventec.com
> 
> 
************************************************************************
This e-mail and any files transmitted with it are confidential and may be
privileged and are intended solely for the individual named/ for the use of
the individual or entity to whom they are addressed.If you are not the
intended addressee, you should not disseminate, distribute or copy this
e-mail.Please notify the sender immediately if you have received this e-mail
by mistake and delete this e-mail from your system.If you are not the
intended recipient, you are notified that reviewing, disclosing, copying,
distributing or taking any action in reliance on the contents of this e-mail
is strictly prohibited.Please note that any views or opinions expressed in
this e-mail are solely those of the author and do not necessarily represent
those of Traventec Limited.E-mail transmission cannot be guaranteed to be
secure or error-free as information could be intercepted, corrupted, lost,
destroyed, or arrive late or incomplete.Traventec Limited therefore does not
accept liability for any errors or omissions in the contents of this
message, which arise as a result of e-mail transmission.The recipient should
check this e-mail and any attachments for the presence of viruses.This
e-mail has been swept for computer viruses however Traventec Limited accepts
no liability for any damage caused by any virus transmitted by this e-mail.



More information about the omniORB-dev mailing list