JDK-6343137 : DNS Implementation is faulty
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 5.0u5
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-10-28
  • Updated: 2011-02-16
  • Resolved: 2005-11-15
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Windows XP Professional 5.1 build 2600.xpsp_sp2_gdr.050301-1519: Service pack 2

EXTRA RELEVANT SYSTEM CONFIGURATION :
Agnitum firewall (Disabled)
Router Zyxel 660HW

A DESCRIPTION OF THE PROBLEM :
Java can't do domain name resolution, it's the only service in my Windows box that can't do it.

I think he didn't read the network configuration, becouse i specified my dns there, and ALL the other applications work fine.

When applet start this error is reported among others:
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more

If i use the ip address in the url address that reported the error all go fine.

Also Java WEB START don't work. It's say it can't download the resource.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I really don't know... i upgraded to the last version and then java could not do dns resolution.

I read in other sites that MSN Messenger 7.5 could be the cause of this bug, but really, i don't understand why.

Now also old version do the bug.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I'm expecting that Applet loads fine or that applications could download what they're trying to.

Also java update scheduler isn't capable to connect to internet.
ACTUAL -
among other results


When applet start this error is reported among others:
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more


ERROR MESSAGES/STACK TRACES THAT OCCUR :

When applet start this error is reported among others:
Caused by: java.io.IOException: open HTTP connection failed.
at sun.applet.AppletClassLoader.getBytes(Unknown Source)
at sun.applet.AppletClassLoader.access$100(Unknown Source)
at sun.applet.AppletClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 10 more


REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Use ip instead of the domain

Comments
EVALUATION Bug #6343068 seems to be the same DNS resolution issue.
15-11-2005

EVALUATION There is not enough information here to determine what the problem is. Please provide: Web Browser Connection method to the web, I.E. DIRECT, Proxy Script, Proxy Sever In the Java Control Panel what connection method is seleced under Network Settings Please set the logging level to 5 and attach the complete contents of the console window.
28-10-2005