ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Obtaining latest MB JMS client jars

Post new topic  Reply to topic
 Obtaining latest MB JMS client jars « View previous topic :: View next topic » 
Author Message
dunc
PostPosted: Tue Sep 25, 2007 5:06 pm    Post subject: Obtaining latest MB JMS client jars Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Sep 25, 2007 5:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
dunc
PostPosted: Tue Sep 25, 2007 6:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 25, 2007 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
dunc
PostPosted: Tue Sep 25, 2007 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Wed Sep 26, 2007 2:12 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Obtaining latest MB JMS client jars
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.