Ask a Question

Hermes JMS with SoapUI 5.6.0 opensource version

sridhard
Visitor

Hermes JMS with SoapUI 5.6.0 opensource version

Team,

 

Not able to launch or can not see the option of Hermes launching from SoapUI 5.6.0 opensource version.

 

I added the path of Hemres JMS in Preferences - > Tools - Hermes JMS .

 

But still can not see any option to launch Hermes JMS.

Please advice what else needs to be added to make it work for 5.6.0 version

3 REPLIES 3
CarmelonHaldon
New Contributor

Re: Hermes JMS with SoapUI 5.6.0 opensource version

JDK 9, load ALL-SYSTEM modules and the jars of Hermes/lib in the soapui.bat... It's possible!! Ask me for the details if you're yet interested πŸ‘πŸΌ
av_v
Occasional Visitor

Re: Hermes JMS with SoapUI 5.6.0 opensource version

@CarmelonHaldon can u just please share the modifications u did?
CarmelonHaldon
New Contributor

Re: Hermes JMS with SoapUI 5.6.0 opensource version

Sorry, I hadn't seen the replies yet.

 

Using portable versions, in Windows (10):

 

1. Use a JDK 9, not less, not more:
set JAVA_HOME=C:\Projects\project\bin\jdk-9.0.4_windows-x64_bin
call C:\Projects\project\bin\SoapUI-5.6.0-windows-bin\bin\soapui.bat

2. Edit soapui.bat to load all the libraries from Hermes and ALL-SYSTEM for JDK 9:

...

set CLASSPATH=%CLASSPATH%;%JFXRTPATH%
set CLASSPATH=%CLASSPATH%;C:\Projects\project\bin\hermes-installer-1.14\lib\*

...

set JAVA_OPTS=... -splash:SoapUI-Spashscreen.png --add-modules=ALL-SYSTEM

 

3. "Invalidate/disable/remove" the hermes.jar (there is a known bug with it) from SoapUI. For example, by renaming the extension:

C:\Projects\project\bin\SoapUI-5.6.0-windows-bin\lib\hermes-1.14.jar__

 

4. And "invalidate/disable/remove" the xerces.jars (avoid the "Xerces Hell" with the ALL-SYSTEM from JDK 9) from Hermes. For example:

C:\Projects\project\bin\hermes-installer-1.14\lib\xerces.jar__

C:\Projects\project\bin\hermes-installer-1.14\lib\xercesImpl.jar__

 

Heavily tested with HornetQ (standalone/embedded in JBoss, jnp/remote, and Tibco) and OK.

 

Tell me about any problems, and thanks!!

 

cancel
Showing results forΒ 
Search instead forΒ 
Did you mean:Β