[omniORB] JACOrb Server and OmniORB Client connection

T. Le Flour leflour at lapp.in2p3.fr
Wed Feb 15 16:53:13 GMT 2012


Hi Duncan,
thank you for your answer. It is exactly what i am doing.
But, when i get the IOR from OmniNames(see below), i found all the 
informations of the JacORB server.(even the interface name)
Does it mean that OmniORB and JacORb are nor inter-operable ?
Cheers,
Thierry

=================================================================================
Type ID: "IDL:Camera/AutoFocus:1.0"
Profiles:
1. IIOP 1.2 134.158.99.114 2571 "....... 
..."................RootPOA.............."
             TAG_CODE_SETS char native code set: ISO-8859-1
                           char conversion code set: UTF-8, 0x00010020
                           wchar native code set: UTF-16
                           wchar conversion code set: 0x00010100

             unknown tag(0x00000026) 0x0002
===================================================================


Le 15/02/2012 16:38, Duncan Grisby a écrit :
> On Wed, 2012-02-15 at 14:25 +0100, T. Le Flour wrote:
>
> [...]
>>       . The JacORB server registers itself to omniNames. By looking the
>> name server content, it seems the registration works correctly.
>>       . From the OmniORB client, I get the JacORB client reference via
>> Omninames. By looking to the server IOR, everything seems to be
>> correctly set(IP, Port , Type ID,...)
>>       . When i want to narrow the object reference , i got the message :
>>               omniORB: ERROR -- the application attempted to invoke an
>> operation on a nil reference. terminate called after throwing an
>> instance of 'CORBA::INV_OBJREF'
> That implies that you are using _narrow to narrow the object reference,
> then you are immediately trying to invoke a method on it?  Is that
> right?  If so, the problem is that the object does not have the expected
> interface, so _narrow returns nil.
>
> Perhaps JacORB and omniORB have a different view of the repository ids
> of the interfaces?
>
> Cheers,
>
> Duncan.
>


-- 
Thierry Le Flour
Laboratoire d'Annecy le vieux de Physique des Particules(wwwlapp.in2p3.fr)
Service Informatique
Contact :
	Mail : thierry.le-flour at lapp.in2p3.fr
	Tel. : (33) (0) 4 50 09 55 73

-------------- next part --------------
A non-text attachment was scrubbed...
Name: leflour.vcf
Type: text/x-vcard
Size: 314 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20120215/93e2d63b/leflour.vcf


More information about the omniORB-list mailing list