cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Build failures in Corba
Date Mon, 24 Jan 2011 03:08:04 GMT
On Sunday 23 January 2011 2:58:25 am Dennis Sosnoski wrote:
> Ok, I did the obvious - added "linux" as an alias for localhost - and
> got past the problem. But it's annoying to have to do that to work with
> broken code!

I'm not sure there is anything we can do about this at all.   This is down in 
the Sun ORB.   It calls:

            try {
		localHostString = InetAddress.getLocalHost().getHostAddress();
            } catch (Exception ex) {
		throw wrapper.getLocalHostFailed( ex ) ;
            }

Thus, if the call to InetAddress.getLocalHost().getHostAddress() failes, then 
the ORB will fail to initialize.  There doesn't seem to be any way around it.    
Th ORB.init code path always calls the set_properties which always calls the 
getLocalHostName() method.   Really, I cannot see anything that we could about 
it.   :-(

Dan


> 
>   - Dennis
> 
> On 01/23/2011 08:37 PM, Dennis Sosnoski wrote:
> > I'm trying to run a full build to test some code changes, but I'm
> > getting massive failures in the rt/bindings/corba (110 errors). I'm
> > running on OpenSuse Linux 11.3, and I've tried both Sun's jdk1.5.0_15
> > and jdk1.6.0_10 and Maven 2.0.11 and 2.2.1. It looks like this code is
> > trying to use "linux" as my host name (see bottom). Here's the first of
> > the reports:
> > 
> > <?xml version="1.0" encoding="UTF-8" ?>
> > <testsuite failures="0" time="16.509" errors="13" skipped="0" tests="13"
> > name="org.apache.cxf.binding.corba.CorbaConduitTest">


-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog

Mime
View raw message