[PolyORB-users] DSA example and not COS Naming Server
hector
perezh at unican.es
Mon Oct 20 19:16:24 CEST 2008
Hi again and thanks for your quick reply.
I have run the same example with PolyORB 2.4 (from GNAT GPL 2008) and
the next exception is raised:
look for "AAAA polyorb.dsa_p.partitions RCI;"
polyorb.orb: ORB.Run got exception:
polyorb.orb: Exception name: POLYORB.SERVICES.NAMING.NAMINGCONTEXT.NOTFOUND
Message: PO_Exc_Occ 1
raised CONSTRAINT_ERROR : polyorb-orb_controller-no_tasking.adb:196
range check failed
Like past version, everything goes fine if running COS Naming Server.
Any idea?
Best regards,
Hector
>
>
>> POLYORB VERSION: PolyORB 2.3 release
>>
>> HOST MACHINE and OPERATING SYSTEM: Pentium IV 2.8 Ghz , Ubuntu Hardy
>> Linux 2.6.24-19-generic
>>
>> COMPILER VERSION: GNATLS GPL 2007 (20070405-41)
>>
>> DESCRIPTION:
>>
>> Runnig the dsa echo example with "po_names" naming server raises the
>> next exception when "resolve" operation is invoked:
>>
>> look for "AAAA polyorb.dsa_p.partitions RCI;"
>> polyorb.orb: ORB.Run got exception:
>> polyorb.orb: Exception name: POLYORB.SERVICES.NAMING.NAMINGCONTEXT.NOTFOUND
>> Message: PO_Exc_Occ 1
>>
>> When the same example is run with COS Naming Server everything is ok.
>> Same exception is raised but, in that case, this exception is managed by
>> the servant, sending a reply to the client informing that this partition
>> was not found on naming server. After that, client invokes a "bind"
>> operation and the execution goes on.
>>
>> Related to "po_names" server, this exception is managed by ORB main loop
>> so it raises the exception and therefore the main procedure is finished.
>>
>> I am probably missing some important point in using or configuring this
>> name server but I was not able to find any solution. Any help would be
>> really appreciated.
>>
>
> Interesting. The obvious work-around is to use po_cos_naming instead of
> po_names. Can you try whether this works with GNAT and PolyORB from the
> GPL 2008 release?
>
>
More information about the PolyORB-users
mailing list