geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Boynes" <jer...@coredevelopers.net>
Subject RE: Error while unit testing : o.a.g.naming.java.ReadOnlyContext
Date Mon, 29 Sep 2003 14:59:27 GMT
I think it would be a transient network failure that meant that apache.org
could not be resolved. Perhaps this should just use localhost.
--
Jeremy

> -----Original Message-----
> From: Eric LE GOFF [mailto:A0251@gicm.fr]
> Sent: Monday, September 29, 2003 5:45 AM
> To: geronimo-dev@incubator.apache.org
> Subject: Error while unit testing : o.a.g.naming.java.ReadOnlyContext
>
>
> Testsuite: org.apache.geronimo.naming.java.BasicContextTest
> Tests run: 8, Failures: 0, Errors: 1, Time elapsed: 5.351 sec
> ------------- Standard Output ---------------
> lookup(String): 1s:130ms
> ------------- ---------------- ---------------
>
> Testcase: testInitialContext took 0.476 sec
> Testcase: testLookup took 0.009 sec
> Testcase: testSchemeLookup took 0.31 sec
> 	Caused an ERROR
> DNS server failure [response code 2]
> javax.naming.ServiceUnavailableException: DNS server failure [response
> code 2]; remaining name 'apache.org'
> 	at com.sun.jndi.dns.DnsClient.checkResponseCode(DnsClient.java:488)
> 	at com.sun.jndi.dns.DnsClient.checkHeader(DnsClient.java:468)
> 	at com.sun.jndi.dns.DnsClient.query(DnsClient.java:162)
> 	at com.sun.jndi.dns.Resolver.query(Resolver.java:59)
> 	at com.sun.jndi.dns.DnsContext.c_lookup(DnsContext.java:256)
> 	at
> com.sun.jndi.toolkit.ctx.ComponentContext.p_lookup(ComponentContex
t.java:522)
> 	at
> com.sun.jndi.toolkit.ctx.PartialCompositeContext.lookup(PartialCom
positeContext.java:155)
> 	at
> com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContex
t.java:185)
> 	at
> org.apache.geronimo.naming.java.ReadOnlyContext.lookup(ReadOnlyCon
text.java:161)
> 	at
> org.apache.geronimo.naming.java.BasicContextTest.testSchemeLookup(
BasicContextTest.java:115)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorIm
pl.java:39)
> 	at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAc
cessorImpl.java:25)
>
> Testcase: testSchemeLookupTestcase: testLookupLink took 0.017 sec
> Testcase: testComposeName took 0.007 sec
> Testcase: testList took 0.065 sec
> Testcase: testListBindings took 0.026 sec
> Testcase: testSpeed took 1.19 sec
>
>
> Would this error be specific to my network configuration ?
> Shall I report it to Jira ?
> It seems that such error has never been reported till now.
>
> Eric LE GOFF
>
>


Mime
View raw message