Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4473593

Failed to open connection to URLs from Java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.3.0_01
    • deploy
    • beta2
    • sparc
    • solaris_2.6

      Currently, when trying to open a connection to a URL in Java (by calling methods in URLConnection object, all calls to sun.plugin.protocol.jdk12.http.HttpURLConnection would fail. This problem is blocking several customers (Sieble, Intel, Oracle, etc.) from getting data via their URLs. To reproduct the problem, try the test case in Bugzilla bug 86437. There is a workaround to the problem, which is to set
           java.protocol.handler.pkgs=sun.net.www.protocol
      in the .java/properties file. After that is set, the problem seems to be resolved.
      For reproducing the problem and helping the debugging, the test case of 86437 has been setup on:
      http://javaweb.eng/~joechou/test_2.html.

      The fix of this problem should also resolve the problem in 60120. With the workaround applied, a new test case (provided by Jimmy Wu from Sieble) is also setup on:
      http://javaweb.eng/~joechou/bug60120_2/liveconnect.html.



            stanleyh Stanley Ho (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: