Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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