Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Connecting to Websphere MQ

Hi,

I’m trying to simply connect to and read from a Websphere MQ, I’ve tried both via tMOM components in a job and cWMQ components in a route. Both seem to struggle to find the correct java classes. I’ve put the following into …TOS\.m2\repository\org\talend\libraries

com.ibm.dhbcore.jar
com.ibm.mq.commonservices.jar
com.ibm.mq.headers.jar
com.ibm.mq.jmqi.jar
connector.jar

Anyone any ideas?

TOS 6.4.1
Wesphere 8.5.5.1

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

After speaking to Talend Support they identified that it was a corrupted file jms.jar.

The solution 

View solution in original post

5 Replies
Anonymous
Not applicable
Author

You likely need to import the dependent jars using the modules view or tLibraryLoad components.
Anonymous
Not applicable
Author

Thanks @JGM i've done both and now i get the error below

 

 

Starting job MQ_Temp at 08:18 30/10/2018.

[statistics] connecting to socket on port 3453
[statistics] connected
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
com.ibm cannot be resolved to a type
com.ibm cannot be resolved to a type

at sandpit_mhe.mq_temp_0_1.MQ_Temp.tMomConnection_1Process(MQ_Temp.java:1418)
at sandpit_mhe.mq_temp_0_1.MQ_Temp.tLibraryLoad_5Process(MQ_Temp.java:1283)
at sandpit_mhe.mq_temp_0_1.MQ_Temp.tLibraryLoad_4Process(MQ_Temp.java:1140)
at sandpit_mhe.mq_temp_0_1.MQ_Temp.tLibraryLoad_3Process(MQ_Temp.java:997)
at sandpit_mhe.mq_temp_0_1.MQ_Temp.tLibraryLoad_6Process(MQ_Temp.java:854)
at sandpit_mhe.mq_temp_0_1.MQ_Temp.tLibraryLoad_2Process(MQ_Temp.java:711)
at sandpit_mhe.mq_temp_0_1.MQ_Temp.tLibraryLoad_1Process(MQ_Temp.java:568)
at sandpit_mhe.mq_temp_0_1.MQ_Temp.runJobInTOS(MQ_Temp.java:2482)
at sandpit_mhe.mq_temp_0_1.MQ_Temp.main(MQ_Temp.java:2308)
[statistics] disconnected
Job MQ_Temp ended at 08:18 30/10/2018. [exit code=0]

Anonymous
Not applicable
Author

Hi Can you go to the Window -> Show view -> search for modules -> Talend Module view and see the tMom* jars are already downloaded  ?

Anonymous
Not applicable
Author

@rchinta they all seem to be installed ok0683p000009M0eU.jpg

 

0683p000009M0lZ.jpg

 

Anonymous
Not applicable
Author

After speaking to Talend Support they identified that it was a corrupted file jms.jar.

The solution