Posted: Wed Apr 09, 2003 4:24 am Post subject: Special Character ..........Encoding Setup
Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
Hi
Our Application is running in AIX with MQ5.2 and Wmqi2.1.
Application is reading the XML from As/400.while reading the one particular message program is throwing exception like..
sun.io.malformedException.
program code is
try{
MQMessage msg= new MQMessage();
responseMsg = msg.readString(newMessage.getDataLength()); //here i am passing that XML message, but due to that special characters, it is giving error
}
catch(Exception e){
e.printStackTrace();
}
then i checked the XML i have one special character like Ä,while reading this character i am getting the above error.[BARNES &' NOBLE Ä2538, N' ]
But in MQ side i am using DataConversion property is YES.
i think this is some Encoding issues....can any one help me out!!
I have an MQInput node listening to a local queue on a
AIX QM with option to Convert CCSID to 1208. After sending the AS/400 xml message to above node i am getting some error in the QMGR logs
LOGS:
AMQ6174: The library /var/mqm/exits//MQSTR was not found. The queue manager will continue without this module.
EXPLANATION:
The dynamically loadable file /var/mqm/exits//MQSTR was not found.
ACTION:
Check that the file exists and is either fully qualified or is in the
appropriate directory.
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