Problem setting DefaultQoS with Notification Service

Jani Launonen jabba@REDACTED
Wed May 2 22:17:21 CEST 2001


On Wed, 2 May 2001, Niclas Eklund wrote:

>On Mon, 30 Apr 2001, Jani Launonen wrote:
>> [cut description of ior problem with JacORB]
>> [cut description of original problem]
>
>Hello!
>
>In the User's Guide (6.1.1) you find a listing of the default QoS-service
>settings and the range of each key. If you do not include a certain key
>when creating a new channel these will be used and inherited by its
>children and grand-children (i.e. Admin's and Proxies).

Cripes!? So the default values can be used by calling create_channel with
empty lists as arguments to QoS-settings?! And I thought that I had tried
that out already. Apparently not. Maybe this should be spelled out
somewhere in the Guide for novices like me :-). Well, on the positive side,
I should have learned the records syntax anyway in the near future.

>To be able to help you with your problem regarding the wstrings I need to
>know which Orber-version you're using. I've tested sending wchar/wstring
>encapsulated within an any-datatype using VisiBroker. Orber have also been
>tested using JacORB (I do not know if wchar/wstrings have been included
>in these tests). FYI, sending a wstring is more expensive than string's
>since each wchar is encoded/decoded as ushort due to that Orber only
>support Java Unicode for wchars; CORBA wchar can range from 1 to 4 bytes.

Orber version is 3.2.2. Frankly, I don't know for sure, that the wstrings
are to blame, but Mr. Björn Wingman have encountered the same problem (
http://lists.spline.inf.fu-berlin.de/mailman/htdig/jacorb-developer/2001-February/001539.html
). Before I applied the fix for JacORB 1.3.21 fix for TypeCode (
http://jacorb.inf.fu-berlin.de/problemscontents.html ) the symptoms were
the same as Björn had. After the patch, dior (dump ior) reports little bit
different problem. Here's what the dior has to say about channel's ior:

        JacORB V 1.3.21, www.jacorb.org
        (C) Gerald Brose, FU Berlin, 28 March 2001
------IOR components-----
TypeId  :       IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0
TAG_INTERNET_IOP Profiles:
        Profile Id   :          IIOP Version :  1.1
        Host    :       130.231.48.51
        Port    :       4001
        Object key (hex):    0x4F 52 42 45 52 83 68 06 6D 00 00 00 32 49 44
4C 3A 6F 6D 67 2E 6F 72 67 2F 43 6F 73 4E 6F 74 69 66 79 43 68 61 6E 6E 65
6C 41 64 6D 69 6E 2F 45 76 65 6E 74 43 68 61 6E 6E 65 6C 3A 31 2E 30 64 00
03 6B 65 79 6D 00 00 00 25 83 68 02 68 03 62 00 00 03 DC 62 00 0C A2 89 62
00 01 02 BA 64 00 0E 61 40 74 6B 31 31 2E 6F 75 6C 75 2E 66 69 6D 00 00 00
0D 83 64 00 09 75 6E 64 65 66 69 6E 65 64 6D 00 00 00 0D 83 64 00 09 75 6E
64 65 66 69 6E 65 64 6D 00 00 00 0D 83 64 00 09 75 6E 64 65 66 69 6E 65 64
TAG_MULTIPLE_COMPONENTS Profiles:
        CodeSet Component Info:
                ForChar native code set Id: ISO8859_1
                Char Conversion Code Sets:              ForWChar native
code set Id: Unknown TCS: 3e8
                WChar Conversion Code Sets:

So it seems that something is still wrong with the wstrings? I haven't had
chance to try decode this ior with anything else besides JacORB's dior.
Could there still be problem with JacORB or is the ior corrupted by Orber?
Here's the ior just for sure, if you want to try it for yourself:

IOR:000303030000003349444c3a6f6d672e6f72672f436f734e6f746966794368616e6e656c41646d696e2f4576656e744368616e6e656c3a312e3000010000000200000000000000c8000101010000000e3133302e3233312e34382e3531000fa1000000a54f524245528368066d0000003249444c3a6f6d672e6f72672f436f734e6f746966794368616e6e656c41646d696e2f4576656e744368616e6e656c3a312e306400036b65796d00000025836802680362000003dc62000ca28962000102ba64000e6140746b31312e6f756c752e66696d0000000d83640009756e646566696e65646d0000000d83640009756e646566696e65646d0000000d83640009756e646566696e656403030300000000000000010000002400030303000000010000000100000014000303030001000100000000000003e800000000

>Regards / Nick
>
>_____________________________________________________________
>Niclas Eklund, Ericsson Network Core Products, +46-8-72 75765

Cheers,

-+-+-+-
Jani Launonen             Home: (08) 8802 180/Work: +358 8 553 2810
jabba@REDACTED          Paalikatu 14 A 410
                          90520 OULU
Student. . . . . . . . . .University of Oulu, Dept. of EE
Assistant Researcher . . .Genie of the Net Project




More information about the erlang-questions mailing list