Author |
Message
|
vrkommaraju |
Posted: Mon May 17, 2010 6:17 am Post subject: MQ 7:java.lang.NoSuchMethodError:com.ibm.msg.client.jms |
|
|
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 |
|
 |
fjb_saper |
Posted: Mon May 17, 2010 1:58 pm Post subject: |
|
|
 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 |
|
 |
arunsenthild |
Posted: Mon May 17, 2010 10:35 pm Post subject: |
|
|
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 |
|
 |
arunsenthild |
Posted: Tue May 18, 2010 9:08 pm Post subject: |
|
|
Novice
Joined: 24 Dec 2007 Posts: 11
|
Need expert guidance on this issue.. |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 19, 2010 2:17 pm Post subject: |
|
|
 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 |
|
 |
JLRowe |
Posted: Thu May 20, 2010 3:37 am Post subject: |
|
|
 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 |
|
 |
calanais |
Posted: Fri May 28, 2010 5:58 am Post subject: |
|
|
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 |
|
 |
girish_kulkarni |
Posted: Thu Jan 06, 2011 12:29 am Post subject: |
|
|
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 |
|
 |
|