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

JavaWS does not allow JNLP app to connect to another port at the same host

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 6
    • deploy
    • generic
    • generic

      jdk build b91 --> b92 regression, detected on Solaris and Linux.

      If an JNLP application tries to establish a socket connection to another port at its "native" host, SocketException is thrown with the following message:

      java.net.SocketException: SOCKS: Connection not allowed by ruleset

      For example, the problem appears if the application http://myhost.sun.com:8080/myapp.jnlp tries to establish a socket connection with http://myhost.sun.com:8081

      (Please find actual stack trace in Comments section)

      This issue impacts all existing JNLP TCK tests, because the tests use socket connections to report results to JavaTest harness. This is an important part of the TCK architecture.

            ngthomas Thomas Ng (Inactive)
            asutchil Arkadiy Sutchilin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: