Caught Throwable while testing endpoint 'javax/jms/JMSContext'

Document ID : KB000118450
Last Modified Date : 25/10/2018
Show Technical Document Details
We are adding a JMS Destination in Policy Manager via Tasks > Transports > Manage JMS Destinations > Add.

After filling in all the mandatory fields and connection details, we get the following error upon clicking the "Test Settings" button:
User-added image

Following entry is observed in the gateway ssg log:
com.l7tech.server.transport.jms.JmsAdminImpl: Caught Throwable while testing endpoint 'javax/jms/JMSContext'

We've confirmed the destination exists, and the connection string value is indeed valid.
What could we have missed?
CA API Gateway Policy Manager 9.x
The 'javax/jms/JMSContext' class could not be found as its corresponding JAR was missing from the /opt/SecureSpan/Gateway/runtime/lib/ext directory

Make sure the javax.jms-api-2.0.jar is copied from the Tibco EMS installation to the /opt/SecureSpan/Gateway/runtime/lib/ext directory, and has the correct permission and ownership. Then restart the gateway ssg service.
Additional Information:
Not able to connect Tibco EMS over SSL from gateway
TIBCO EMS Connectivity Issue