Unanswered question

List of jar files required for connecting to IBM MQ

I'm new to Neoload & trying to connect to IBM MQ from Neoload but I'm getting an error message as "java.lang.NoClassDefFoundError: javax/jms/JMSException". Please let me know the list of jar files required to add. Step by step guide to connect and push messages to MQ is appreciated.

Below are the list of jar files that I'm using.

Raj N.
Raj N.

Raj N.

Level
0
92 / 100
points

Answers

Alexis N.
Alexis N.

Alexis N.

Level
1
600 / 750
points
Team

Hi,

NeoLoad does not include any JMS API JAR file. It's usually included in the JMS implementation JAR file but not in your case so you can add the following jar in the extlib directory: http://central.maven.org/maven2/javax/jms/jms-api/1.1-rev...

Raj N.
Raj N.

Raj N.

Level
0
92 / 100
points

Hi Alexis, thanks for your answer and that jar file has fixed the error. I'm now facing new issue while connecting "Could not create queue connection: javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for". Attached the snapshot for reference.

Alexis N.
Alexis N.

Alexis N.

Level
1
600 / 750
points
Team

Can you share the logs of the check User Path so we can have more information about the error? Can you open a support case?

Raj N.
Raj N.

Raj N.

Level
0
92 / 100
points

Hello Alexis,
I'm sorry I cannot open support ticket because this is a free version and I don't think I have the provision of raising a support ticket. Pls correct me if I'm wrong; Currently, I'm working on POC.

It is not allowing me to add log file. says "File type not allowed". so taking a snapshot of the file and attaching as an image.

Alexis N.
Alexis N.

Alexis N.

Level
1
600 / 750
points
Team

Hello,

Thanks for the logs but the linked exception is not logged so we don't have the MQ reason code.
We updated the code of the connect to MQ advanced action to make sure the linked exception is logged:
http://maven.neotys.com/content/groups/public/com/neotys/...
After adding this jar file in the extlib directory, you should have the This link will help you solving the issue related to the MQ reason code: http://www.capitalware.com/rl_blog/?p=130

Raj N.
Raj N.

Raj N.

Level
0
92 / 100
points

Hello,
Thanks for jar & link. I have updated the jar and found that linked exception is added. But the reason code added in it is not available at the link given.
Please find the log & linked exception in the attachment.

Alexis N.
Alexis N.

Alexis N.

Level
1
600 / 750
points
Team

Maybe this link http://www-01.ibm.com/support/docview.wss?uid=swg21226703 can help you resolving your issue.