HermesJMS
is a open-source tool developed by Colin Crist. It is used to interact
with JMS providers making it easy to browse or search queues and topics,
copy messages and delete them. This tool has ability to work with many
JMS Providers like JBoss MQ, Active MQ, OpenJMS, Weblogic JMS, Tibco
JMS, WebSphere MQ, WebMethods etc...
This
post will demonstrate the detailed step-by-step "How to get HermesJMS
installed and configured for use with WebLogic JMS". There is
web-recording provided in HermesJMS Website to setup HermesJMS with
Weblogic. Please click here to go through the web-recording.
1. Download and save the HermesJMS installer jar in a commonly used location.
2.
Open a command prompt and navigate to your directory where the
installer jar is saved. Run "java -jar hermes-installer-1.13.jar" to
begin the installation.
3. In the Installation wizard
-- Click Next on Welcome Screen
-- Click Next on Information Screen
-- Accept the terms of License Agreement and click Next
-- Enter the appropriate Installation Path [for ex: C:\Program Files\HermesJMS]and click Next
-- Select the packs to be installed [Default is HermesJMS] and click Next
-- In Ready to Install, click Next
-- In Pack Installation progress, once Finished with installation click Next
-- In Setup Shortcuts screen, enter appropriate name for your Installation [Default is HermesJMS] and click Next
-- Click Done
4.
Please be sure to use the same JVM with HermesJMS as the WLS you want
to connect to. You can approach this by adding the PATH and JAVA_HOME
variable in <HERMES_HOME>/bin/hermes.bat or hermes.sh file at the
beginning of the file right after the REM comments.
For example: I am trying to connect to Weblogic 9.2 domain with JDK 1.5 so i set as below.
set PATH=C:\oracle\Java\jdk1.5.0_22\jre\bin
set JAVA_HOME=C:\oracle\Java\jdk1.5.0_22\jre
set JAVA_HOME=C:\oracle\Java\jdk1.5.0_22\jre