Preparing vendor-specific JMS client Jar files
-
Ensure that the JMS client libraries of the concerned vendors are
available.
For the vendors who are tested with ION, the table shows which files are required. For other vendors, see the vendor-specific documentation to identify the required client libraries.
JMS Vendor Client jar files that are required IBM WebSphere MQ 7.1 In the folder [Install Path]/IBM/WebSphere MQ/java/lib/, you can find these jar files:
- com.ibm.mq.commonservices.jar
- com.ibm.mq.headers.jar
- com.ibm.mq.jar
- com.ibm.mq.jmqi.jar
- com.ibm.mq.pcf.jar
- com.ibm.mqjms.jar
- connector.jar
- dhbcore.jar
Tibco EMS 6.3 In the folder [Install Path]/ems/6.3/lib/, you can find these jar files:
- tibjms.jar
- tibjmsadmin.jar
Tibco EMS 8.2. In the folder [Install Path]/ems/6.3/lib/, you can find these jar files:
- tibjms.jar
- tibjmsadmin.jar
- jms-2.0.jar
- tibcrypt.jar
This jar file is only required when you use the SSL option.
Active MQ 5.15.2 In the folder <Install Path>/apache-activemq-5.15.2/lib/, you can find these jar files:
- activemq-client-5.15.2.jar
- hawtbuf-1.11.jar
Oracle AQ 11.2.0.1 In the folder [ORACLE_HOME]\oc4j\rdbms\jlib\, you can find the jar file Aqapi.jar.
In the folder [ORACLE_HOME]\jdbc\lib, you can find one of these jar files:
- ojdbc5.jar
- ojdbc6.jar
-
You cannot use multiple files, such as multiple jar files or a jar
file combined with a zip file. In case of multiple files, you must first create
a single, flattened, jar file to be used in
ION.
To create a single, flattened, jar file:
- Create a temporary directory. For example: C:\temp\JMSClientBundleWrapper\jars.
-
Place the individual jar files into this directory.
Use the table to determine which jar files are required for your JMS vendor.
-
Navigate to the build folder in the extracted location of the
JMSClientBundleWrapper.
For example: C:\temp\JMSClientBundleWrapper\build
-
Run the runant tool with this command:
runant flatten -Dflattened.jar.file.name=<final jar file name> -Djmsclient.jars.dir=<location of individual jars>
For example:runant flatten -Dflattened.jar.file.name="C:\temp\JMSClientBundleWrapper\OriginalJar\Tibcoflatten.jar" -Djmsclient.jars.dir="C:\temp\JMSClientBundleWrapper\jars"
-
In the example the final jar file is already placed in the folder:
JMSClientBundleWrapper\OriginalJar
If you used another target location in the previous step, then, copy it to this folder: /JMSClientBundleWrapper/OriginalJar