Uploaded image for project: 'River (Retired)'
  1. River (Retired)
  2. RIVER-438

JDK7 u51 and later causes tests to fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • River_2.2.2
    • None
    • qa
    • None
    • JDK7 u51 and/or OpenJDK 7

    Description

      In JDK7u51, the default permissions changed. Prior to this update, a Java program was allowed to set up a listener on any port >1024. After the update, the security policy file needs to include a specific permission (SocketPermission "localhost:1024-", "listen") in order to set up a listener outside the ephemeral port range (which varies by OS, but is usually much higher). This affects the codebase server in a River scenario. In particular, the qa package fails most tests (actually fails to start most tests). To fix, the required SocketPermission must be added to the test-specific policy files used by the qa harness.

      Attachments

        Activity

          People

            Unassigned Unassigned
            trasukg Greg Trasuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: