Author |
Message
|
morpheus |
Posted: Tue Aug 17, 2004 9:07 am Post subject: Problems with 5.3 jars |
|
|
 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 |
|
 |
vennela |
Posted: Tue Aug 17, 2004 11:14 am Post subject: |
|
|
 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 |
|
 |
morpheus |
Posted: Tue Aug 17, 2004 12:16 pm Post subject: |
|
|
 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 |
|
 |
clindsey |
Posted: Tue Aug 17, 2004 1:05 pm Post subject: |
|
|
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 |
|
 |
morpheus |
Posted: Tue Aug 17, 2004 2:08 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Tue Aug 17, 2004 6:48 pm Post subject: |
|
|
 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 |
|
 |
morpheus |
Posted: Wed Aug 18, 2004 6:46 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Wed Aug 18, 2004 7:05 am Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Wed Aug 18, 2004 8:22 am Post subject: |
|
|
 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 |
|
 |
morpheus |
Posted: Wed Aug 18, 2004 10:14 am Post subject: |
|
|
 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 |
|
 |
vennela |
Posted: Wed Aug 18, 2004 10:31 am Post subject: |
|
|
 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 |
|
 |
morpheus |
Posted: Wed Aug 18, 2004 11:26 am Post subject: |
|
|
 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 |
|
 |
morpheus |
Posted: Thu Aug 19, 2004 1:31 pm Post subject: |
|
|
 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 |
|
 |
|