Author |
Message
|
zpat |
Posted: Tue Aug 17, 2010 5:17 am Post subject: Problem in Java app after upgrade to MQ v7.0.1.2 on AIX 5.3 |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
This app runs on the QM host.
Quote: |
----- amqrmrsa.c : 525 --------------------------------------------------------
08/17/10 12:07:01 - Process(712834.1) User(mqm) Program(amqpcsea)
Host(xxxxx)
AMQ6050: CCSID error.
EXPLANATION:
WebSphere MQ is unable to convert string data in CCSID 855834624 to data in CCSID 1208.
ACTION:
Check the WebSphere MQ Application Programming Reference Appendix and the appropriate National Language Support publications to see if the CCSIDs are supported by your system. |
Quote: |
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't find library mqjbnd05 (libmqjbnd05.a or .so) in sun.boot.library.path or java.library.path
sun.boot.library.path=/opt/IBM/mqsi/6.0/jre/bin
java.library.path=/opt/IBM/mqsi/6.0/jre/bin:/opt/IBM/mqsi/6.0/jre/bin/classic:/opt/IBM/mqsi/6.0/jre/bin:/usr/mqm/lib:/usr/mqm/java/lib:/opt/IBM/mqsi/6.0/jre/b
in/sovvm:/usr/lib
|
We are using locale en_GB.
Any idea? I see some post about breaking links to 32 bit java libraries but I can't find any reference in the infocenter to this. The apps are Java and it's almost certainly an issue with Java version or path etc (but I am not an expert in this area).
Quote: |
The unsatisfied link exception can mean several things, either the library mentioned can't be found, one of it's dependencies can't be found, or that you are loading the the wrong 32/64 bit versions.
So as a general rule
(1) Check that the library referenced exists
(2) Check that the MQ installation is correct. Note specifically the guidance in the Getting Started section about breaking the links to the 32 bit libraries
(3) Check that the JVM you are using matches in 32/64 bitness to the library that you are asking to load. |
What is this guidance? If I can't fix I will have to backout v7 (and the gruesome file restore or object recreation that entails). |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Aug 17, 2010 10:31 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
That looks like an awfully high number for a ccsid. Are you sure that the number is right?
Seems to me you have 2 problems one with endianness the other with CCSID.
855834624 = hex 3303-0000 now let us reverse this and we have 0000-0333 = 819 (decimal). CCSID 819 is the default Unix CCSID (Iso 8859-01?).
Make sure you have both CCSIDs installed on your box. Make sure the encoding on the MQ message corresponds to the right endianness (and from your post I'd say it doesn't).
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
zpat |
Posted: Tue Aug 17, 2010 11:30 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Fun indeed, these were working programs before MQ v7 was installed in place of MQ v6.
Thanks for the clues though. I wonder if it is due to changes to Java MQ constants etc? |
|
Back to top |
|
 |
gbaddeley |
Posted: Tue Aug 17, 2010 3:34 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
fjb_saper wrote: |
That looks like an awfully high number for a ccsid. Are you sure that the number is right?
Seems to me you have 2 problems one with endianness the other with CCSID.
855834624 = hex 3303-0000 now let us reverse this and we have 0000-0333 = 819 (decimal). CCSID 819 is the default Unix CCSID (Iso 8859-01?).
Make sure you have both CCSIDs installed on your box. Make sure the encoding on the MQ message corresponds to the right endianness (and from your post I'd say it doesn't).
Have fun  |
Good work, that's exactly what I do if I see very large numbers. This error was in amqpcsea, so it looks like something is sending a PCF format message to the command server and the CCSID has the wrong endian-ness. _________________ Glenn |
|
Back to top |
|
 |
zpat |
Posted: Tue Sep 07, 2010 1:47 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
|
Back to top |
|
 |
|