river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Trasuk (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RIVER-438) JDK7 u51 and later causes tests to fail
Date Tue, 01 Apr 2014 13:34:28 GMT
Greg Trasuk created RIVER-438:

             Summary: JDK7 u51 and later causes tests to fail
                 Key: RIVER-438
                 URL: https://issues.apache.org/jira/browse/RIVER-438
             Project: River
          Issue Type: Bug
          Components: qa
    Affects Versions: River_2.2.2
         Environment: JDK7 u51 and/or OpenJDK 7
            Reporter: Greg Trasuk

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.

This message was sent by Atlassian JIRA

View raw message