Posted: Thu Jul 22, 2004 7:44 am Post subject: Unsupported Encoding Exception
Novice
Joined: 28 Jun 2004 Posts: 10
Part of a project we are working on involves simply getting a message from a queue. We have code that has worked in the past, but today we received an java.io UnsupportedEncodingException: Cp437. It does this no matter what method we use to put a msg on the queue(test msg, rfhutil....).
The only documentation i can find online about this is based on having MQSeries 5.2. We are currently at 5.3.
here is the get portion of our code if that is used to get the message:
MQMessage retrievedMessage = new MQMessage();
retrievedMessage.messageId = retrievedMessage.messageId;
MQGetMessageOptions gmo = new MQGetMessageOptions();
m_queue.get(retrievedMessage, gmo); <---**FAILS HERE**
If anyone has any insights it would be very helpful.
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