Re: IPv6 communication from ORBit to OmniORB
Jaromir Talir <[email protected]> Wed, 09 Aug 2006 12:33:07 +0200 (CEST)
| Newsgroups | gmane.comp.gnome.orbit.general |
|---|---|
| Message-ID | <[email protected]> |
> ------------ Původní zpráva ------------ > Od: Jules Colding <[email protected]> > Předmět: Re: IPv6 communication from ORBit to OmniORB > Datum: 09.8.2006 10:35:36 > ---------------------------------------- > On Wed, 2006-08-09 at 10:29 +0200, Jaromir Talir wrote: > > > ------------ Původní zpráva ------------ > > > Od: Jules Colding <[email protected]> > > > Předmět: Re: IPv6 communication from ORBit to OmniORB > > > Datum: 08.8.2006 11:33:28 > > > ---------------------------------------- > > > On Tue, 2006-08-08 at 10:45 +0200, Jaromir Talir wrote: > > > > Hello, > > > > > > > > we have created working system with c++ OmniORB corba backend and > > > > small c ORBit2 client. Now we want to switch to IPv6 and it seems it > > > > is problem for ORBit. OmniORB client (omniorbpy) successfully connects > > > > to server but ORBit(pyorbit) fails. It even doesn't make attempt and > > > > throws CORBA.COMM_FAILURE. It probably cannot parse IPv6 addres from > > > > IOR or something like this. > > > > > > ORBIIOPIPv6 ? > > > > > > > I forgot to say that that I tried this way. > > > > # pyorbit > > orb = ORBit.CORBA.ORB_init("ORBIIOPIPv6=1") > > orb = ORBit.CORBA.ORB_init("-ORBIIOPIPv6=1") > > The option must be "--ORBIIOPIPv6=1" (notice the double dash). > > HTH, > jules > no success. [jara@jara ~]$ cat ior | xargs ior-decode-2 Object ID: IDL:ccReg/EPP:1.0 IOP_TAG_INTERNET_IOP: GIOP 1.2 ::1:22222 object_key (15) 'ff6363526567504f41006363526567' Unknown component 0 Unknown component 0x1 [jara@jara ~]$ cat ior | xargs catior.omni Type ID: "IDL:ccReg/EPP:1.0" Profiles: 1. IIOP 1.2 ::1 22222 ".ccRegPOA.ccReg" TAG_ORB_TYPE omniORB TAG_CODE_SETS char native code set: UTF-8 char conversion code set: UTF-8 wchar native code set: UTF-16 wchar conversion code set: UTF-16 combination pyORBit -- IPv4---> OmniORB works combination OmniORBpy -- IPv6---> OmniORB works combination pyORBit -- IPv6---> OmniORB fail Doesn't send any packets and throw exception Traceback (most recent call last): File "<stdin>", line 1, in ? CORBA.COMM_FAILURE I'am using: orb = ORBit.CORBA.ORB_init(["--ORBIIOPIPv6=1"]) and my ~/.orbitrc has ORBIIOPIPv6=1 --ORBIIOPIPv6=1 any way to debug it more deeply?