River
  1. River
  2. RIVER-425

JDK7 update 21 onwards causes test suite to fail.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: River_2.2.1, River_2.2.2
    • Fix Version/s: River_2.2.2
    • Component/s: qa
    • Labels:
      None

      Description

      As of JDK7 update 21, the default setting for java.rmi.server.useCodebaseOnly is set to true by default, which has the impact of disabling run-time classloading for proxies.

      As a result, the qa test suite encounters massive numbers of failures.

      The fix is to update the qa runtime properties and policy files to set the property above to "false". As well, consumers of services (and also services, if they offer eventing) must be granted RuntimePermission for "accessClassInPackage.com.sun.proxy".

        Activity

        Greg Trasuk created issue -
        Greg Trasuk made changes -
        Field Original Value New Value
        Description As of JDK7 update 21, the default setting for java.rmi.server.useCodebaseOnly is set to true by default, which has the impact of disabling run-time classloading for proxies.

        As a result, the qa test suite encounters massive numbers of failures.

        The fix is to update the qa runtime properties and policy files to set the property above to "false". As well, consumers of services (and also services, if they offer eventing) must be granted RuntimePermission for "accessClassInPackage.com.sun.proxy".
        Greg Trasuk made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Greg Trasuk [ trasukg ]
        Fix Version/s River_2.2.2 [ 12324856 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Greg Trasuk
            Reporter:
            Greg Trasuk
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development