JMS client tool - any alternative to HermesJMS for Java 8?

You could give a try to JMSToolBox (on sourceforge)


This seems to be related to java 7 vs 8 difference in XMLP

To make it work I updated Hermes lib folder with :

  • xercesImpl.jar (version 2.11) - I can see latest in SP5 now

  • xml-apis.jar (1.4.01)

After downloading JARs from MVN repo I renamed to match existing naming in Hermes.

After this change Hermes starts (and works fine when using JMS) and there is no error in logs.


To let it work for Java 8 correctly, you need to add the following parameters:

-Dorg.xml.sax.parser=com.sun.org.apache.xerces.internal.parsers.SAXParser -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl

Windows
Open bin/hermes.bat and add those parameters after start "HermesJMS" "%JAVA_HOME%\bin\javaw".

Linux / Mac
Open bin/hermes.sh and add those parameters in the last line after "$JAVACMD".

Tags:

Java

Jms