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 » Problems with 5.3 jars

Post new topic  Reply to topic
 Problems with 5.3 jars « View previous topic :: View next topic » 
Author Message
morpheus
PostPosted: Tue Aug 17, 2004 9:07 am    Post subject: Problems with 5.3 jars Reply with quote

Acolyte

Joined: 08 Mar 2003
Posts: 72
Location: Austin, TX

Hi
We just replaced MA88 jars with new 5.3 jars. The framework listeners are getting following errors.

<!--StartFragment-->java.lang.NoSuchMethodError
at com.ibm.mq.jms.MQJMSMessage.createJMSMessage(MQJMSMessage.java:516)
at com.ibm.mq.jms.MQQueueReceiver.getMessage(MQQueueReceiver.java:1316)
at com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java:677)
at com.ibm.mq.jms.contact admin.run(contact admin.java:362)
at java.lang.Thread.run(Thread.java:479)
2004.08.16 13:18:44 MQJMS1016E an internal error has occurred. Please contact your system administrator. Detail: java.lang.NoSuchMethodError
java.lang.NoSuchMethodError
at com.ibm.mq.jms.MQJMSMessage.createJMSMessage(MQJMSMessage.java:516)
at com.ibm.mq.jms.MQQueueReceiver.getMessage(MQQueueReceiver.java:1316)
at com.ibm.mq.jms.MQQueueReceiver.receiveAsync(MQQueueReceiver.java:677)
at com.ibm.mq.jms.contact admin.run(contact admin.java:362)
at java.lang.Thread.run(Thread.java:479)

When we rolled back to MA88 they're working fine. I could see the handles on the queue when new jars are used and there were uncommitted messages left on the queue. Since I'm not a java person,
I have no clue what's going on. Can anybody help?
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Aug 17, 2004 11:14 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

What OS
Can you tell when you are getting this error
What env variables have you set?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
morpheus
PostPosted: Tue Aug 17, 2004 12:16 pm    Post subject: Reply with quote

Acolyte

Joined: 08 Mar 2003
Posts: 72
Location: Austin, TX

Both mq and application run on Sun Solaris 5.8.
About the environement variable, they're using the same application on both the cases( new jars and old jars). Old jars are working just dandy but not the new ones. The jms version is 1.4. I hope this information helps.
Back to top
View user's profile Send private message
clindsey
PostPosted: Tue Aug 17, 2004 1:05 pm    Post subject: Reply with quote

Knight

Joined: 12 Jul 2002
Posts: 586
Location: Dallas, Tx

It sounds like you may have a mixed environment. Try doing a find on com.ibm.mqjms.jar and see if you may have more than one copy on this workstation. If so, upgrade all the copies.

Charlie
Back to top
View user's profile Send private message
morpheus
PostPosted: Tue Aug 17, 2004 2:08 pm    Post subject: Reply with quote

Acolyte

Joined: 08 Mar 2003
Posts: 72
Location: Austin, TX

I don't think that's the problem. We have these jar files at two locations one /opt/mqm/java/lib and the other is application server's third party jar files folder. But both are at the same level when this problem occurred.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 17, 2004 6:48 pm    Post subject: Reply with quote

Grand High Poobah

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

Have you cleared the java cache?
If you have a mixed environment cache vs file system and some stuff loaded in memory is new and some is old ...

Wish you luck.
F.J.
Back to top
View user's profile Send private message Send e-mail
morpheus
PostPosted: Wed Aug 18, 2004 6:46 am    Post subject: Reply with quote

Acolyte

Joined: 08 Mar 2003
Posts: 72
Location: Austin, TX

We're bouncing the whole node whenever we change the .jar files. Don't you think it'll clear the java cache.


Thank you
Sai
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 18, 2004 7:05 am    Post subject: Reply with quote

Grand High Poobah

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

You are not bouncing the machine.
Neither did you specify if there was still a jvm running using any of those jars. You cannot replace a jar if there is a jvm running that uses those jars.

Check your upgrade log. Bet you will find some errors in it like could not replace file....

Enjoy
Back to top
View user's profile Send private message Send e-mail
vennela
PostPosted: Wed Aug 18, 2004 8:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Sai:

Are you using clients mode or bindings mode. I bet you are using bindings mode.
Now if you see in your /opt/mqm/java/lib there is a file called
libmqjbnd04.sl (or something similar). There different versions of this file, like libmqjbnd04.sl, libmqjbnd05.sl, libmqjbnd06.sl.
The jars that you use should match the right shared library. If the application that you mentioned has copied just the jar files and they don't have the shared library then that is the problem.

What is your LD_LIBRARY_PATH set to for your application?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
morpheus
PostPosted: Wed Aug 18, 2004 10:14 am    Post subject: Reply with quote

Acolyte

Joined: 08 Mar 2003
Posts: 72
Location: Austin, TX

Thanks for the reply.
We're using clients mode to connect. I don't find any .sl files in /opt/mqm/java/lib directory. I do see libmqjbnd05.so file in the server directory but not on the client. Do I need to copy this file to the libraries directory?
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Aug 18, 2004 10:31 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
We're using clients mode to connect.

If you are using client's mode don't worry about them. Something else is wrong then.

How did you install the new jar files?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
morpheus
PostPosted: Wed Aug 18, 2004 11:26 am    Post subject: Reply with quote

Acolyte

Joined: 08 Mar 2003
Posts: 72
Location: Austin, TX

First we uninstalled MA88 patch, then uninstalled 5.2 client and installed 5.3 Client. The new jar files are copied from /opt/mqm/java/lib directory.
This procedure we got from IBM. Is it something we're missing here?



Thank you
Sai
Back to top
View user's profile Send private message
morpheus
PostPosted: Thu Aug 19, 2004 1:31 pm    Post subject: Reply with quote

Acolyte

Joined: 08 Mar 2003
Posts: 72
Location: Austin, TX

Thank you all for the replies. We opened a PMR with IBM. Even they have no clue what's going on. We're running a java trace hoping it'll capture the problem. I'll keep you guys posted.


Thank you
Sai
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 » Problems with 5.3 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.