You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by dogilvie <da...@trimble.com> on 2015/08/10 02:43:43 UTC
ActiveMQ 5.11.1 HermesJMS setup
Hermes has a couple of issues accessing recent ActiveMQ releases. "SLF4J
mismatch" and "ActiveMQ, starting from version 5.8 has changed the names of
some MBEANs used by Hermes plugin."
As HermesJMS tool is bundled with the SoapUI installer, the simplest way to
get this tool is to select it for installation when you install SoapUI.
1) Install SOAPUI - download is available at
http://www.soapui.org/getting-started/installing-soapui/installing-on-windows.html
- When prompted include HermesJMS as part of your install
2) As the ActiveMQ 5.11.1 client includes a later SLF4J replace the old
version that comes with HermesJMS by performing the following:-
Add the following two files from SLF4J http://www.slf4j.org/dist/ to the
C:\Program Files\SmartBear\SoapUI-5.2.0\hermesJMS\lib directory
slf4j-api-1.7.10.jar
slf4j-jdk14-1.7.10.jar
3) Edit the hermes.bat file to replace the old SLF4J reference with a
reference to the 2 new files
The batch file is located in C:\Program
Files\SmartBear\SoapUI-5.2.0\hermesJMS\bin directory - action as follows
Within hermes.bat file find the following string:
%HERMES_LIBS%\slf4j-jdk14-1.0.1.jar;
and replace this with:
%HERMES_LIBS%\slf4j-api-1.7.10.jar;%HERMES_LIBS%\slf4j-jdk14-1.7.10.jar;
4) As the version of ActiveMQ is now greater than 5.8 - i.e. the current
version is now 5.11.1 - the hermes-activemq.jar needs to be replaced with a
newer version to enable HermesJMS to work propoerly.
Within the C:\Program Files\SmartBear\SoapUI-5.2.0\hermesJMS\lib directory
replace the hermes-activemq.jar with the one from
https://github.com/paoloantinori/HermesJMS.
Notes on connection issues with old version of this jar can be viewed here -
http://stackoverflow.com/questions/15837853/accessing-apache-activemq-via-jmx-throws-exception
and see https://github.com/paoloantinori/HermesJMS/blob/master/README.md for
more details
--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-5-11-1-HermesJMS-setup-tp4700631.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.