You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Andreas Korneliussen (JIRA)" <de...@db.apache.org> on 2006/07/03 16:35:30 UTC
[jira] Commented: (DERBY-1432) derbynetmats/NSinSameJVM.java fails
to run due to Warning "UnknkownHostException: dyn" on Linux with DHCP
generated hostname
[ http://issues.apache.org/jira/browse/DERBY-1432?page=comments#action_12418971 ]
Andreas Korneliussen commented on DERBY-1432:
---------------------------------------------
The derbynetmats/NSinSameJVM.java test fails often with this error on Windows in the nightly regression tests. I think the reason is that the test starts the network server on ip "0.0.0.0" , which is a special-use interface. On windows, you may often see that network interfaces which are down, get the 0.0.0.0 address. I think this could be fixed by using localhost instead.
I do not see how this error is related to the RFE in the bugtraq database: the RFE is to have InetAddress.getLocalHost().. return an IP address which is something else than the loopback interface (which again contradicts the current JavaDoc of InetAddress.getLocalHost())
> derbynetmats/NSinSameJVM.java fails to run due to Warning "UnknkownHostException: dyn<xx>" on Linux with DHCP generated hostname
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: DERBY-1432
> URL: http://issues.apache.org/jira/browse/DERBY-1432
> Project: Derby
> Type: Bug
> Components: Test
> Versions: 10.1.2.1, 10.1.3.0
> Environment: Linux Operating Systems using DHCP IP address *and* hostname generation
> Reporter: Stan Bradbury
> Priority: Minor
>
> The test derbynetmats/NSinSameJVM.java reports that the Network Server failed to start and aborts on Linux machines that use DHCP to generate a hostname that reflects the generated IP address (e.g. hostname like: dyn<xx> where <xx> is the IP address string like 216101116144). Network server does, in fact, start.
> derby.log entry:
> Warning: UnknkownHostException: dyn<someIP>: dyn<someIP>.
> Server is ready to accept connections on port <some-port>.
> derbyall.sum entry:
> > FAIL Network Server did not start
> Test Failed.
> *** End: NSinSameJVM jdk1.5.0_07 DerbyNetClient derbynetmats:derbynetmats 2006
> Appears to be related to reported JVM issue: Bug ID: 4665037
> Synopsis InetAddress.getLocalHost() ambiguous on Linux systems
> see: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4665037
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira