Cannot run perfharness demo in Apache ActiveMQ distribution
Environment
- JBoss A-MQ 6.2.1
- JBoss A-MQ 6.2
- JBoss A-MQ 6.1.1
- JBoss A-MQ 6.1
- JBoss A-MQ 6.0
- Fuse MessageBroker 5.x
Issue
- I cannot run demo
examples/other/perfharnessfromextras/apace-activemq-<version>.zipof my JBoss A-MQ installation. - The
perfharnessdemo of the Apache ActiveMQ distribution in JBoss A-MQ does not work and raises
Error: Could not find or load main class JMSPerfHarness.
Resolution
The demo is broken. It refers to an external perfharness.jar, whose download link is broken.
The demo will be removed in future versions of the Apache ActiveMQ distribution.
Root Cause
Bug ENTMQ-1552 / bug AMQ-6167.
The required third party jar file perfharness.jar is not available for download anymore.
However it can be manually built from https://github.com/ot4i/perf-harness.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
