See <https://builds.apache.org/job/river-qa-refactoring-jdk7/41/changes>
Changes: [dreedy] Adding initial commit for the modularization of River. This approach uses a script to load existing River jars, iterate through the contents of each jar, and copy sources to a multi-module maven project. The multi-module maven project is a start, it does not contain all the requisite River modules. It includes river-platform, river-start, river-dl, river-lib, outrigger-dl, outrigger-service, outrigger-snaplogstore, reggie-dl, reggie-service, mahalo-dl, mahalo-service, mercury-dl, mercury-service, norm-dl and norm-service [dreedy] Moved com.sun.jini.landlord.LeasedResource into jsk-dl.jar. This was done to accomodate outrigger-dl.jar's reliance on com.sun.jini.landlord.LeasedResource from com.sun.jini.outrigger.StorableResource. In the ant based build, LeasedResource was included using classdepandjar. Using a Maven build, outrigger-dl depends on river-dl (new name for jsk-dl). Adding LeasedResource to river-dl made sense. The approach taken to populate the source tree in the maven-zed structure is to load exiting jars, and for each entry in the loaded jar, copy the source files into each respective module's src directory, taking care not to duplicate any classes between modules. Making he change to jsk-dl.jar's build allows the river-dl module to be created correctly. [dreedy] The org.apache.river.api.lookup.* classes are not included into jsk-platform.jar, they reference classes that are found in jsk-lib.jar and/or jsk-dl.jar [dreedy] Removed import of net.jini.discovery.LookupLocatorDiscovery. The net.jini.discovery.LookupLocatorDiscovery class is not in the jsk-platform module, and causes a compile error when included as an import. The import is only required since it is used in the @see javadoc directive. Including the fully qualified net.jini.discovery.LookupLocatorDiscovery class in the @see directive resolves the issue. [peter_firmstone] RIVER-336 Update to ClassLoading. Convert remaining tests to utilise the new java.rmi.server.RMIClassLoaderSpi provider in ClassLoading Reduce number of tasks executed in RandomStressTest to avoid OOME on 32 bit platforms. Updated configuration.policy to ensure that all configuration files had sufficient permission to be tested, broken.prop wasn't being tested, not sure how long this has been the case, but it's fixed now. [dreedy] The net.jini.lookup classes should not be part of jsk-platform.jar [peter_firmstone] RIVER-336 Minor update to ClassLoading. Be careful with MarshalledObject obtained from ActivationGroupDesc [peter_firmstone] RIVER-336 Minor update to ClassLoading to allow modular frameworks to specify the ClassLoader used to load a RMIClassLoaderSpi provider. ------------------------------------------ [...truncated 8134 lines...] password: [echo] creating passwords truststore: [exec] Certificate was added to keystore [exec] Certificate was added to keystore [exec] Certificate was added to keystore [exec] Certificate was added to keystore [exec] Certificate was added to keystore [exec] Certificate was added to keystore [exec] Certificate was added to keystore [exec] Certificate was added to keystore [exec] Certificate was added to keystore trust: qaman.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qaman.jar> mergedpolicyprovider.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib-ext/mergedpolicyprovider.jar> nonactivatablegroup.jar: [java] Warning: Class not found: com.sun.jini.qa.harness.NonActivatableGroupImpl$GroupImpl_Stub [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/nonactivatablegroup.jar> nonactivatablegroup-dl.jar: [java] Warning: Class not found: com.sun.jini.qa.harness.NonActivatableGroupImpl$GroupImpl_Stub [jar] Building MANIFEST-only jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/nonactivatablegroup-dl.jar> harness-killer.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/harness-killer.jar> harness-killer-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/harness-killer-dl.jar> jiniharness.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/jiniharness.jar> harness-jars: qa1-end2end.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-end2end.jar> qa1-fiddler-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-fiddler-dl.jar> qa1-joinmanager-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-joinmanager-dl.jar> qa1-mahalo-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-mahalo-dl.jar> qa1-mercury.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-mercury.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-mercury.jar> qa1-mercury-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-mercury-dl.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-mercury-dl.jar> qa1-mercury-bogusimpl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-mercury-bogusimpl.jar> qa1-wrapper.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-wrapper.jar> qa1-norm-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-norm-dl.jar> qa1-outrigger-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-outrigger-dl.jar> qa1-multihomedmetainf.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-multihomedmetainf.jar> jinitests: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/jinitests.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/jinitests.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/jinitests.jar> jinitests.jar: qa1-mainwrapper.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-mainwrapper.jar> qa1-start-cb1.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-cb1.jar> qa1-start-cb2.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-cb2.jar> qa1-start-cb3.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-cb3.jar> qa1-start-probe.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-probe.jar> qa1-start-probe-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-probe-dl.jar> qa1-start-tests.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-tests.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-tests.jar> qa1-start-testservice1.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-testservice1.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-testservice1.jar> qa1-start-testservice1-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-testservice1-dl.jar> qa1-start-testservice2.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-testservice2.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-testservice2.jar> qa1-start-testservice2-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-testservice2-dl.jar> qa1-start-testservice-common.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-testservice-common.jar> qa1-start-testservice-common-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-testservice-common-dl.jar> qa1-start-testservicenocons.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-testservicenocons.jar> qa1-start-testservicenocons-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-start-testservicenocons-dl.jar> qa1-lookup-simulator.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-lookup-simulator.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-lookup-simulator.jar> qa1-lookup-simulator-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-lookup-simulator-dl.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-lookup-simulator-dl.jar> qa1-share-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-share-dl.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-share-dl.jar> qa1-reggie-race.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-reggie-race.jar> qa1-reggie-race-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-reggie-race-dl.jar> fullloggingfilter.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/fullloggingfilter.jar> qa1-discoveryservice-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-discoveryservice-dl.jar> qa1-export-servercontext-tests-non-null.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-export-servercontext-tests-non-null.jar> qa1-export-servercontext-tests-null.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-export-servercontext-tests-null.jar> qa1-export-servercontext-tests-providers-parsing.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-export-servercontext-tests-providers-parsing.jar> qa1-io-util-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-io-util-dl.jar> qa1-io-marshalinputstream-test.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-io-marshalinputstream-test.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-io-marshalinputstream-test.jar> qa1-io-marshalledinstance-test.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-io-marshalledinstance-test.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-io-marshalledinstance-test.jar> qa1-javaspace-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-javaspace-dl.jar> qa1-lookupservice-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-lookupservice-dl.jar> qa1-renewalservice-dl.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-renewalservice-dl.jar> [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-renewalservice-dl.jar> qa1-securityDoPrivileged.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-securityDoPrivileged.jar> qa1-securityUtil.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-securityUtil.jar> qa1-servicediscovery-dl.jar: [java] Warning: Class not found: net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$LookupListener_Stub [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-servicediscovery-dl.jar> [java] Warning: Class not found: net.jini.lookup.ServiceDiscoveryManager$LookupCacheImpl$LookupListener_Stub [jar] Updating jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-servicediscovery-dl.jar> qa1-httpmd.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-httpmd.jar> qa1-httpmd-same.jar: [copy] Copying 1 file to <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib> qa1-httpmd-another.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-httpmd-another.jar> ld.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/ld.jar> qa1-loader-pref.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-loader-pref.jar> qa1-policy-provider.jar: [jar] Building jar: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/lib/qa1-policy-provider.jar> jars: harness-runtime: run: james-brown: [mkdir] Created dir: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/soul> [touch] Creating <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/soul/soul.201404281807022094> run-categories: [java] Problem with KEEPALIVE_PORT:10004 [java] Unexpected exception: [java] java.net.BindException: Address already in use [java] at java.net.PlainSocketImpl.socketBind(Native Method) [java] at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376) [java] at java.net.ServerSocket.bind(ServerSocket.java:376) [java] at java.net.ServerSocket.bind(ServerSocket.java:330) [java] at com.sun.jini.qa.harness.MasterHarness$KeepAlivePort.run(MasterHarness.java:258) [java] at java.lang.Thread.run(Thread.java:724) [java] Java Result: 1 collect-result: BUILD FAILED <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/build.xml>:2114: The following error occurred while executing this line: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/build.xml>:406: The following error occurred while executing this line: <https://builds.apache.org/job/river-qa-refactoring-jdk7/ws/trunk/qa/build.xml>:380: condition satisfied Total time: 4 minutes 44 seconds Build step 'Invoke Ant' marked build as failure [locks-and-latches] Releasing all the locks [locks-and-latches] All the locks released Archiving artifacts