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 » MQ 7:java.lang.NoSuchMethodError:com.ibm.msg.client.jms

Post new topic  Reply to topic
 MQ 7:java.lang.NoSuchMethodError:com.ibm.msg.client.jms « View previous topic :: View next topic » 
Author Message
vrkommaraju
PostPosted: Mon May 17, 2010 6:17 am    Post subject: MQ 7:java.lang.NoSuchMethodError:com.ibm.msg.client.jms Reply with quote

Newbie

Joined: 17 May 2010
Posts: 1

Hi,

We have an application written in Java using JMS which reads messages from queues and based on the business logic processes them and send reply to another queue. This application currently works well with Websphere MQ 5.3. Now we are requested to upgrade to MQ 7. After MQ is upgraded our application is unable to send the messages to queue. The application fails with the following error stack.

java.lang.NoSuchMethodError: com.ibm.msg.client.jms.JmsMessageProducer.send(Ljavax/jms/Message;IIJ)V
Class : class java.lang.NoSuchMethodError
Stack : com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:328)

The Java version is 1.6
We have mapped all JAR files in CLASSPATH properly.

Any guidance in solving this issue will be highly appreciated.

Please let me know if more details are required.

Regards,
Rao KV
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon May 17, 2010 1:58 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Uninstall the MQ client, reinstall the MQ client and map all the jar files in <MQ_INSTALL>/java/lib to the classpath
Verify that you are only using JMS imports and no proprietary imports that might have changed with V7
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
arunsenthild
PostPosted: Mon May 17, 2010 10:35 pm    Post subject: Reply with quote

Novice

Joined: 24 Dec 2007
Posts: 11

I too have the same problem. The pc has Application server and not the client. In that case how we need to proceed.

java.lang.NoSuchMethodError: com.ibm.msg.client.jms.JmsMessageProducer.send(Ljavax/jms/Message;IIJ)V

this is the error what we are getting now..
The problem is not resolved yet and even after hours of googling we cant find the solution yet.

This is a runtime error and everything worked fine before we upgraded to MQ7. Now we are not even able to send message with the same set of sources..

Any help is greatly appreciated because this is a show stopper for our work.
Back to top
View user's profile Send private message
arunsenthild
PostPosted: Tue May 18, 2010 9:08 pm    Post subject: Reply with quote

Novice

Joined: 24 Dec 2007
Posts: 11

Need expert guidance on this issue..
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 19, 2010 2:17 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

arunsenthild wrote:
Need expert guidance on this issue..

Open a PMR. Have you considered upgrading to 7.0.1.2 ? I see a lot of fixes...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
JLRowe
PostPosted: Thu May 20, 2010 3:37 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

My guess would be that you have a jar file at the wrong version somewhere, possibly you are using the v7 MQ JMS jars with a v5.3 base jars?

Check the v7 documentation for a list of the jar files required, the list is very different to 5.3 and 6.0 as a lot of internals were changed.
Back to top
View user's profile Send private message Send e-mail
calanais
PostPosted: Fri May 28, 2010 5:58 am    Post subject: Reply with quote

Apprentice

Joined: 12 Mar 2010
Posts: 32

This really does sound like a classpath issue; ensure that ONLY JAR that is on the classpath is the com.ibm.mq.jms.jar from the v7 installation.

If not.. can you describe the update path please? Was a previous version installed and then upgraded?
Back to top
View user's profile Send private message
girish_kulkarni
PostPosted: Thu Jan 06, 2011 12:29 am    Post subject: Reply with quote

Apprentice

Joined: 08 Oct 2010
Posts: 32

Any body got solution to this MQ 7 jms problem. Even I am also facing this problem while connecting ODI (Oracle Data Integrator) to MQ 7 through JMs connection.

Please share with me if any got of you got solution or have idea about this problem.

Thanks in advance.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ 7:java.lang.NoSuchMethodError:com.ibm.msg.client.jms
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.