I’m trying to configure a JMS Producer that will communicate with a client’s WebSphere MQ, v9.1 (I think). I’ve received the jar files from the client’s lib directory, and that list of files resembles, but is not identical to, the list suggested in https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1439291/Configuring+JMS+Accounts; I assume that different versions will have different files.
Interpreting the comment given on https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1439291/Configuring+JMS+Accounts:
Upload these libraries(Jar files) to the Shared project for the JMS Account to work as expected.
I’ve added my jar files to my space in the project (bcpkix-jdk15on.jar), the shared space in the project (…/shared/bcpkix-jdk15on.jar), and to the main shared space (…/…/shared/bcpkix-jdk15on.jar), hoping that one of them works.
When I validate this account, I get this error:
Failed to validate account: An error occurred while looking for the connection factory (Name: com.ibm.mq.jms.MQConnectionFactoryFactory) Cause: com.ibm.mq.jms.MQConnectionFactoryFactory (Reason: An error occurred while looking for the connection factory (Name: com.ibm.mq.jms.MQConnectionFactoryFactory); Resolution: Please verify that the ConnectionFactory exists in the specified jar.)
As you may have surmised, the value of my Connection Factory is com.ibm.mq.jms.MQConnectionFactoryFactory, which I’m led to believe is correct. I don’t know if this value being incorrect is the issue, or if “in the specified jar” is a big clue, or if it can’t see the files, etc. The instructions given under “Configuring JMS for IBM WebSphere MQ” are a bit lacking if you’re not the WebSphere MQ SME, so I’m hoping that someone has a similar example?