Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
River_2.2.2
-
None
-
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.