Discussion:
[omniORB] IPv6 IOR in omniORB4.1.4
Hung Ta Viet
2011-02-11 09:27:27 UTC
Permalink
Hi friends,

Is omniORB4.1.4 fully supported for IPv6?

I'm using omniORB4.1.4 running on Sun Solaris. I tested using IOR containing
IPv6 address:
corbaloc:iiop:[2000::1]:15111/NameService

I got an exception so called "Unable to resolve: 2000::1"

I wonder what configuration we need to do to support IPv6 address?

I appreciate your help a lot!

Cheers,
Hung




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110210/b79af1de/attachment.htm
Martin B.
2011-02-11 13:15:25 UTC
Permalink
Post by Hung Ta Viet
Hi friends,
Is omniORB4.1.4 fully supported for IPv6?
I'm using omniORB4.1.4 running on Sun Solaris. I tested using IOR
corbaloc:iiop:[2000::1]:15111/NameService
I got an exception so called "Unable to resolve: 2000::1"
I wonder what configuration we need to do to support IPv6 address?
As far as I understand, IPv6 should work. (Not that I ever tried it.)

What I'm not sure of is, if that form of a corbaloc should work.

You should set traceLevel and dumpConfiguration and then check the
generated logs to see what's going on.

cheers,
Martin
Duncan Grisby
2011-02-12 04:47:22 UTC
Permalink
Post by Hung Ta Viet
Is omniORB4.1.4 fully supported for IPv6?
Yes, as long as the underlying platform has the necessary support and
functions. In particular you need to have the standard getaddrinfo()
function.
Post by Hung Ta Viet
I'm using omniORB4.1.4 running on Sun Solaris. I tested using IOR
corbaloc:iiop:[2000::1]:15111/NameService
I got an exception so called "Unable to resolve: 2000::1"
That's a sign that either you don't have getaddrinfo(), or that you do
but it is not accepting IPv6 addresses. What did the configure script
output?

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Hung Ta Viet
2011-02-14 13:37:07 UTC
Permalink
Hi Duncan,

Thank you for your reply.
getaddrinfo()is C library function. There is no getaddrinfo() in my corba
application code.
Please guide where i would use it?
In my test, there is somewhere exception said so called "Unknown address
(IPv6)".


What is your meaning about "configure script output"?

Thanks,
Hung



________________________________
From: Duncan Grisby <***@grisby.org>
To: Hung Ta Viet <***@yahoo.com>
Cc: omniorb-***@omniorb-support.com
Sent: Sat, February 12, 2011 5:47:18 AM
Subject: Re: [omniORB] IPv6 IOR in omniORB4.1.4
Post by Hung Ta Viet
Is omniORB4.1.4 fully supported for IPv6?
Yes, as long as the underlying platform has the necessary support and
functions. In particular you need to have the standard getaddrinfo()
function.
Post by Hung Ta Viet
I'm using omniORB4.1.4 running on Sun Solaris. I tested using IOR
corbaloc:iiop:[2000::1]:15111/NameService
I got an exception so called "Unable to resolve: 2000::1"
That's a sign that either you don't have getaddrinfo(), or that you do
but it is not accepting IPv6 addresses. What did the configure script
output?

Cheers,

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --



____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110213/c0b67606/attachment.htm
姜维
2011-02-14 14:40:17 UTC
Permalink
Post by Hung Ta Viet
Hi Duncan,
Thank you for your reply.
getaddrinfo()is C library function. There is no getaddrinfo() in my
corba application code.
Please guide where i would use it?
$ man getaddrinfo
'No manual entry for getaddrinfo' mean the underlying platform did not
has the necessary support .
Post by Hung Ta Viet
In my test, there is somewhere exception said so called "Unknown
address (IPv6)".
What is your meaning about "configure script output"?
Thanks,
Hung
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110214/964d96c2/attachment.htm
Duncan Grisby
2011-02-14 16:17:53 UTC
Permalink
Post by Hung Ta Viet
getaddrinfo()is C library function. There is no getaddrinfo() in my
corba application code.
omniORB uses it. If it's not available, omniORB can't support IPv6.
Post by Hung Ta Viet
What is your meaning about "configure script output"?
When you build omniORB, you run the configure script. It outputs lots of
stuff. Send that. Also send the config.log file that it creates.

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...