Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-471

Running activemq shell script on java 1.4 throws java.lang.NoClassDefFoundError: javax/management/ObjectName

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 4.0 M4
    • None
    • None

    Description

      The recent JMX querying options added the broker Main class has added a dependency on having jmx on the classpath. Part of Main's function is to establish the classpath so that shell scripts don't have to. We should look into breaking the Main class so that it delegates handling the command line arguments to a class that's loaded using reflection so that it can establish that right classpath.

      On java 1.4

      $ ./activemq
      Exception in thread "main" java.lang.NoClassDefFoundError: javax/management/ObjectName

      Attachments

        Activity

          People

            aco Adrian T. Co
            chirino Hiram R. Chirino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: