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 » General IBM MQ Support » Problem in Java app after upgrade to MQ v7.0.1.2 on AIX 5.3

Post new topic  Reply to topic
 Problem in Java app after upgrade to MQ v7.0.1.2 on AIX 5.3 « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: 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 Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 17, 2010 10:31 am    Post subject: Reply with quote

Grand High Poobah

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

Quote:
CCSID 855834624
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
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Aug 17, 2010 11:30 am    Post subject: Reply with quote

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
View user's profile Send private message
gbaddeley
PostPosted: Tue Aug 17, 2010 3:34 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

fjb_saper wrote:
Quote:
CCSID 855834624
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
View user's profile Send private message
zpat
PostPosted: Tue Sep 07, 2010 1:47 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

This was one of the problems

http://www-01.ibm.com/support/docview.wss?uid=swg21420737

The other was

http://www-01.ibm.com/support/docview.wss?uid=swg21173813

(an old problem but MQ v7 moves more conversion to the QM).
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 » General IBM MQ Support » Problem in Java app after upgrade to MQ v7.0.1.2 on AIX 5.3
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.