Author |
Message
|
dunc |
Posted: Tue Sep 25, 2007 5:06 pm Post subject: Obtaining latest MB JMS client jars |
|
|
Newbie
Joined: 25 Sep 2007 Posts: 6
|
Hi
Can anyone tell me how to obtain the latest Message Broker 6 JMS jar files (particularly com.ibm.mq.jar, com.ibm.mqjms.jar, dhbcore.jar)?
I have been getting the following error when using the Jar files that are installed with Message Broker 6.0.0.5 (not sure if these jars have actually been updated with this fix packs, they have quite an old modified date 19/05/2005).
Unable to send message: MQJMS2000: failed to close MQ queue Linked exception : MQJE001: Completion Code 2, Reason 2009
We tried updating the JARS mentioned with ones that came with the message broker toolkit (they appear to be much more recent), and this resolved the original issue, but introduced a new error.
Throwable caught within service thread :com.ibm.mq.MQMsg2.getMessageData(Z)[B
java.lang.NoSuchMethodError: com.ibm.mq.MQMsg2.getMessageData(Z)[B
at com.ibm.mq.jms.MQJMSMessage.createJMSMessage(MQJMSMessage.java:331)
at com.ibm.mq.jms.MQQueueReceiver.getMessage(MQQueueReceiver.java:1316)
I have looked through the support pacs and have searched IBM’s site, but can not find any reference to where I can source them. Any help appreciated
Duncan |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Sep 25, 2007 5:13 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You what? What jars? Where? You're lucky you didn't break everything if you changed out jar files in the broker runtime, that you didn't put there in the first place.
Also, doesn't it seem a little unusual to use the JMS nodes to interact with MQ... when the MQ nodes are much easier to use?
Thirdly... have you considered looking for MQ jars in the MQ distribution, rather than the Broker distribution? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
dunc |
Posted: Tue Sep 25, 2007 6:48 pm Post subject: |
|
|
Newbie
Joined: 25 Sep 2007 Posts: 6
|
Thanks for your reply.
I didn't replace any of the brokers jar files.
From Java, I am writing messages to queues using the jars that came with Message Broker. I encountered an issue with those jars and after looking with no joy on the IBM site, found that the Message Broker toolkit had much later versions of the jars, which resolved my issue, but introduced another issue.
>>have you considered looking for MQ jars in the MQ distribution
This is what I am looking for. Is this available on IBM's download site? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Sep 25, 2007 6:49 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Look at the support packs for MQ.
The MQ Client is now a support pack...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
dunc |
Posted: Tue Sep 25, 2007 8:03 pm Post subject: |
|
|
Newbie
Joined: 25 Sep 2007 Posts: 6
|
Thanks very much. I downloaded the MQ client supportpac (mqc6_win.zip) and it contained the necessary jars and resolved both issues.
Cheers - Duncan |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Sep 26, 2007 2:12 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
dunc wrote: |
Thanks very much. I downloaded the MQ client supportpac (mqc6_win.zip) and it contained the necessary jars and resolved both issues.
Cheers - Duncan |
You should not have just replaced the jars but installed the full client.
Do a search on the forum. There are a few threads already to tell you why...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|