Re: Invalid Object Reference Error



Hi William,

> Hi.  I'm trying to get a java CORBA client (using Sun's java orb) to talk
> to an orbit server written in C.  I got it to work on another machine, but
> now that I've transferred to the machine I'm currently developing on, it
> has stopped working.  The server seems to start correctly, but when I pass
> the IOR to the java client, it chokes.  I currently have both the client
> and the server running on the same machine for testing.
>
> The output of ior-decode for this IOR is:
> 
> Tags known:
> TAG_INTERNET_IOP: 0x0
> TAG_MULTIPLE_COMPONENTS: 0x1
> TAG_ORBIT_SPECIFIC: 0xbadfaeca
> 
> Object ID: IDL:PFRouter:1.0
> Profile count: 1
> 
> Profile type: TAG_ORBIT_SPECIFIC
> Object endian: Little
> IIOP version: 1.0
> Socket path: /tmp/orbit-bill/orb-15699635251506742863
> IPv6 port: 0
> 
> Object key: "........F.......%v......"

That means, that no IIOP IPv4 server connection is opened so it simply can't
work.

> And finally, my .orbitrc file contains the following:
> 
> -ORBIIOPUSock=1
> -ORBIIOPIPv4=1
> -ORBIIOPIPv6=0

So there is an error in that file. Dont use the dashes. It should read:

ORBIIOPUSock=1
ORBIIOPIPv4=1
ORBIIOPIPv6=0
 
This has changed sometimes in the past, I'm not sure when and admittedly it is
not described right in the ORBit FAQ 2b). Michael, could you have a look?

Bye,
Sebastian
-- 
Sebastian Wilhelmi
mailto:wilhelmi ira uka de
http://goethe.ira.uka.de/~wilhelmi




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]