Spring Framework
  1. Spring Framework
  2. SPR-8093

Install jmxremote_optional.jar in JVM used for Spring CI builds

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 3.1 M2
    • Component/s: [Build]
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Status Quo

      At the moment, several of our JMX tests cannot be run on the CI server. See the broken tests here (**) for an example.

      Thus we have had to disable them directly in the code. Otherwise, we get an "Unsupported protocol: jmxmp" error.

      The reason is that the jmxremote_optional.jar is not available in the classpath of the JVM.

      Related Resources

      Notes

      To solve this problem on my Mac workstation, I downloaded the JMX Remote API 1.0.1_04 Reference Implementation (see link above) and extracted jmxremote_optional.jar into the lib/ext folder of my local JVM.

      (**) denotes an invisible link.

        Issue Links

          Activity

          Hide
          Trevor Marshall added a comment -

          Hi Sam, I've dropped the jar into jre/lib/ext/ in both 1.5 and 1.6 JDKs on the build server. Let me know if that helps.

          Trevor

          Show
          Trevor Marshall added a comment - Hi Sam, I've dropped the jar into jre/lib/ext/ in both 1.5 and 1.6 JDKs on the build server. Let me know if that helps. Trevor
          Hide
          Sam Brannen added a comment -

          I re-enabled the ignored JMX tests, and the following build succeeded:

          https://build.springsource.org/browse/SPR-TRUNKQUICK-3680/

          So it looks like everything is working!

          Thanks

          Show
          Sam Brannen added a comment - I re-enabled the ignored JMX tests, and the following build succeeded: https://build.springsource.org/browse/SPR-TRUNKQUICK-3680/ So it looks like everything is working! Thanks

            People

            • Assignee:
              Trevor Marshall
              Reporter:
              Sam Brannen
              Last updater:
              Trevor Marshall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 46 weeks, 3 days ago