Sunday, October 8, 2017

HermesJMS fails to start with Java 8

HermesJMS silently fails.

in hermes.bat I remove "echo off" and replace "javaw" with "java", to discover that the error is:

org.xml.sax.SAXNotRecognizedException: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.

I replace the HermesJMS/lib/xercesImpl.jar with a new one https://mvnrepository.com/artifact/xerces/xercesImpl/2.11.0-22 and it works!


Here https://developer.jboss.org/wiki/UsingHermesJMSWithHornetQ#comment-11123 how to connect HermesJMS to JBoss




No comments: