You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jeremy Boynes <je...@coredevelopers.net> on 2003/10/01 00:01:23 UTC

RE: Error while unit testing : o.a.g.naming.java.ReadOnlyContext

Don't understand that - I would have thought "dns:localhost" always
worked (assuming there is a dns: provider in your VM)

The point of this test is to verify the Context hands off correctly to
other protocol handlers. If you can think of a more reliable test I'll
make sure it gets in (eventually, I am traveling this week).

--
Jeremy

> -----Original Message-----
> From: Jacek Laskowski [mailto:jacek.laskowski@hp.com] 
> Sent: Tuesday, September 30, 2003 1:15 PM
> To: geronimo-dev@incubator.apache.org
> Subject: Re: Error while unit testing : 
> o.a.g.naming.java.ReadOnlyContext
> 
> 
> Jeremy Boynes wrote:
> > I think it would be a transient network failure that meant that 
> > apache.org could not be resolved. Perhaps this should just use 
> > localhost.
> 
> It hit me this weekend as well as I had been working offline. Changed 
> the appropriate line so that it used localhost, but it also 
> didn't work 
> :-( At last, I had to comment it out.
> 
> > Jeremy
> 
> -Jacek
> 
> 


Re: Error while unit testing : o.a.g.naming.java.ReadOnlyContext - it indeed works

Posted by Jacek Laskowski <ja...@hp.com>.
Jeremy Boynes wrote:
> Don't understand that - I would have thought "dns:localhost" always
> worked (assuming there is a dns: provider in your VM)

Oh, shame on me! Looks like I did enter a wrong line in my computer's 
hosts file and instead of 127.0.0.1 there was 127.0.0.0 :-(

> Jeremy

-Jacek


Re: Error while unit testing : o.a.g.naming.java.ReadOnlyContext

Posted by Alex Blewitt <Al...@ioshq.com>.
It won't work on a 'doze machine unless you have a dummy loopback 
adaptor configured. Unix systems always have a loopback adapter up and 
running, so they should work off line.

Alex.

On Tuesday, Sep 30, 2003, at 23:01 Europe/London, Jeremy Boynes wrote:

> Don't understand that - I would have thought "dns:localhost" always
> worked (assuming there is a dns: provider in your VM)
>
> The point of this test is to verify the Context hands off correctly to
> other protocol handlers. If you can think of a more reliable test I'll
> make sure it gets in (eventually, I am traveling this week).
>
> --
> Jeremy
>
>> -----Original Message-----
>> From: Jacek Laskowski [mailto:jacek.laskowski@hp.com]
>> Sent: Tuesday, September 30, 2003 1:15 PM
>> To: geronimo-dev@incubator.apache.org
>> Subject: Re: Error while unit testing :
>> o.a.g.naming.java.ReadOnlyContext
>>
>>
>> Jeremy Boynes wrote:
>>> I think it would be a transient network failure that meant that
>>> apache.org could not be resolved. Perhaps this should just use
>>> localhost.
>>
>> It hit me this weekend as well as I had been working offline. Changed
>> the appropriate line so that it used localhost, but it also
>> didn't work
>> :-( At last, I had to comment it out.
>>
>>> Jeremy
>>
>> -Jacek
>>
>>
>