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

        Hide
        Greg Trasuk added a comment - - edited

        Fixed by http://svn.apache.org/r1520020. (This is the 2.2 branch).

        Show
        Greg Trasuk added a comment - - edited Fixed by http://svn.apache.org/r1520020 . (This is the 2.2 branch).
        Hide
        Greg Trasuk added a comment -

        Applied to trunk in http://svn.apache.org/r1520131.

        Show
        Greg Trasuk added a comment - Applied to trunk in http://svn.apache.org/r1520131 .
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in River-trunk-jdk7 #149 (See https://builds.apache.org/job/River-trunk-jdk7/149/)
        Merge fix for RIVER-425 from 2.2 branch over to trunk. (gtrasuk: http://svn.apache.org/viewvc/?view=rev&rev=1520131)

        • /river/jtsk/trunk
        • /river/jtsk/trunk/dep-libs/asm/asm-3.2.jar
        • /river/jtsk/trunk/dep-libs/asm/asm-commons-3.2.jar
        • /river/jtsk/trunk/qa
        • /river/jtsk/trunk/qa/README.txt
        • /river/jtsk/trunk/qa/doc/HowToRunATest.html
        • /river/jtsk/trunk/qa/doc/HowToWriteATest.html
        • /river/jtsk/trunk/qa/doc/discoverygroupmanagement-req.doc
        • /river/jtsk/trunk/qa/doc/discoverygroupmanagement-req.html
        • /river/jtsk/trunk/qa/doc/discoverylocatormanagement-req.doc
        • /river/jtsk/trunk/qa/doc/discoverylocatormanagement-req.html
        • /river/jtsk/trunk/qa/doc/discoverymanagement-req.doc
        • /river/jtsk/trunk/qa/doc/discoverymanagement-req.html
        • /river/jtsk/trunk/qa/doc/discoverymanagement-test.doc
        • /river/jtsk/trunk/qa/doc/discoverymanagement-test.html
        • /river/jtsk/trunk/qa/doc/discoveryservice-req.doc
        • /river/jtsk/trunk/qa/doc/discoveryservice-req.html
        • /river/jtsk/trunk/qa/doc/discoveryservice-test.doc
        • /river/jtsk/trunk/qa/doc/discoveryservice-test.html
        • /river/jtsk/trunk/qa/doc/eventmailbox-req.doc
        • /river/jtsk/trunk/qa/doc/eventmailbox-req.html
        • /river/jtsk/trunk/qa/doc/eventmailbox-test.doc
        • /river/jtsk/trunk/qa/doc/eventmailbox-test.html
        • /river/jtsk/trunk/qa/doc/index-requirements.html
        • /river/jtsk/trunk/qa/doc/index-testdescriptions.html
        • /river/jtsk/trunk/qa/doc/index.html
        • /river/jtsk/trunk/qa/doc/javaspace_req.html
        • /river/jtsk/trunk/qa/doc/javaspace_test.html
        • /river/jtsk/trunk/qa/doc/joinmanager-req.doc
        • /river/jtsk/trunk/qa/doc/joinmanager-req.html
        • /river/jtsk/trunk/qa/doc/joinmanager-test.doc
        • /river/jtsk/trunk/qa/doc/locatordiscovery-req.doc
        • /river/jtsk/trunk/qa/doc/locatordiscovery-req.html
        • /river/jtsk/trunk/qa/doc/locatordiscovery-test.doc
        • /river/jtsk/trunk/qa/doc/lookupdiscovery-req.doc
        • /river/jtsk/trunk/qa/doc/lookupdiscovery-req.html
        • /river/jtsk/trunk/qa/doc/lookupdiscovery-test.doc
        • /river/jtsk/trunk/qa/doc/qaMethodWorkArch.html
        • /river/jtsk/trunk/qa/doc/qaarch.sdw
        • /river/jtsk/trunk/qa/doc/renewalmanager-req.doc
        • /river/jtsk/trunk/qa/doc/renewalmanager-req.html
        • /river/jtsk/trunk/qa/doc/renewalservice-req.doc
        • /river/jtsk/trunk/qa/doc/renewalservice-req.html
        • /river/jtsk/trunk/qa/doc/renewalservice-test.doc
        • /river/jtsk/trunk/qa/doc/renewalservice-test.html
        • /river/jtsk/trunk/qa/doc/servicediscovery-req.doc
        • /river/jtsk/trunk/qa/doc/servicediscovery-req.html
        • /river/jtsk/trunk/qa/doc/servicediscovery-test.doc
        • /river/jtsk/trunk/qa/doc/servicediscovery-test.html
        • /river/jtsk/trunk/qa/doc/testcategories.doc
        • /river/jtsk/trunk/qa/doc/testcategories.html
        • /river/jtsk/trunk/qa/harness/policy/defaultmahalo.policy
        • /river/jtsk/trunk/qa/harness/policy/defaulttest.policy
        • /river/jtsk/trunk/qa/src/com/sun/jini/test/resources/jinitest.policy
        • /river/jtsk/trunk/qa/src/com/sun/jini/test/resources/qaHarness.prop
        • /river/jtsk/trunk/src-extra/org/apache/river/extra/discovery
        • /river/jtsk/trunk/src-extra/org/apache/river/extra/selfhealing
        • /river/jtsk/trunk/src/net/jini/security/policy
        • /river/jtsk/trunk/src/net/jini/security/policy/PolicyFileProvider.java
        Show
        Hudson added a comment - SUCCESS: Integrated in River-trunk-jdk7 #149 (See https://builds.apache.org/job/River-trunk-jdk7/149/ ) Merge fix for RIVER-425 from 2.2 branch over to trunk. (gtrasuk: http://svn.apache.org/viewvc/?view=rev&rev=1520131 ) /river/jtsk/trunk /river/jtsk/trunk/dep-libs/asm/asm-3.2.jar /river/jtsk/trunk/dep-libs/asm/asm-commons-3.2.jar /river/jtsk/trunk/qa /river/jtsk/trunk/qa/README.txt /river/jtsk/trunk/qa/doc/HowToRunATest.html /river/jtsk/trunk/qa/doc/HowToWriteATest.html /river/jtsk/trunk/qa/doc/discoverygroupmanagement-req.doc /river/jtsk/trunk/qa/doc/discoverygroupmanagement-req.html /river/jtsk/trunk/qa/doc/discoverylocatormanagement-req.doc /river/jtsk/trunk/qa/doc/discoverylocatormanagement-req.html /river/jtsk/trunk/qa/doc/discoverymanagement-req.doc /river/jtsk/trunk/qa/doc/discoverymanagement-req.html /river/jtsk/trunk/qa/doc/discoverymanagement-test.doc /river/jtsk/trunk/qa/doc/discoverymanagement-test.html /river/jtsk/trunk/qa/doc/discoveryservice-req.doc /river/jtsk/trunk/qa/doc/discoveryservice-req.html /river/jtsk/trunk/qa/doc/discoveryservice-test.doc /river/jtsk/trunk/qa/doc/discoveryservice-test.html /river/jtsk/trunk/qa/doc/eventmailbox-req.doc /river/jtsk/trunk/qa/doc/eventmailbox-req.html /river/jtsk/trunk/qa/doc/eventmailbox-test.doc /river/jtsk/trunk/qa/doc/eventmailbox-test.html /river/jtsk/trunk/qa/doc/index-requirements.html /river/jtsk/trunk/qa/doc/index-testdescriptions.html /river/jtsk/trunk/qa/doc/index.html /river/jtsk/trunk/qa/doc/javaspace_req.html /river/jtsk/trunk/qa/doc/javaspace_test.html /river/jtsk/trunk/qa/doc/joinmanager-req.doc /river/jtsk/trunk/qa/doc/joinmanager-req.html /river/jtsk/trunk/qa/doc/joinmanager-test.doc /river/jtsk/trunk/qa/doc/locatordiscovery-req.doc /river/jtsk/trunk/qa/doc/locatordiscovery-req.html /river/jtsk/trunk/qa/doc/locatordiscovery-test.doc /river/jtsk/trunk/qa/doc/lookupdiscovery-req.doc /river/jtsk/trunk/qa/doc/lookupdiscovery-req.html /river/jtsk/trunk/qa/doc/lookupdiscovery-test.doc /river/jtsk/trunk/qa/doc/qaMethodWorkArch.html /river/jtsk/trunk/qa/doc/qaarch.sdw /river/jtsk/trunk/qa/doc/renewalmanager-req.doc /river/jtsk/trunk/qa/doc/renewalmanager-req.html /river/jtsk/trunk/qa/doc/renewalservice-req.doc /river/jtsk/trunk/qa/doc/renewalservice-req.html /river/jtsk/trunk/qa/doc/renewalservice-test.doc /river/jtsk/trunk/qa/doc/renewalservice-test.html /river/jtsk/trunk/qa/doc/servicediscovery-req.doc /river/jtsk/trunk/qa/doc/servicediscovery-req.html /river/jtsk/trunk/qa/doc/servicediscovery-test.doc /river/jtsk/trunk/qa/doc/servicediscovery-test.html /river/jtsk/trunk/qa/doc/testcategories.doc /river/jtsk/trunk/qa/doc/testcategories.html /river/jtsk/trunk/qa/harness/policy/defaultmahalo.policy /river/jtsk/trunk/qa/harness/policy/defaulttest.policy /river/jtsk/trunk/qa/src/com/sun/jini/test/resources/jinitest.policy /river/jtsk/trunk/qa/src/com/sun/jini/test/resources/qaHarness.prop /river/jtsk/trunk/src-extra/org/apache/river/extra/discovery /river/jtsk/trunk/src-extra/org/apache/river/extra/selfhealing /river/jtsk/trunk/src/net/jini/security/policy /river/jtsk/trunk/src/net/jini/security/policy/PolicyFileProvider.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development