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 » Search

 Search found 12 matches
Author Message
  Topic: RFH2 header causes 2334 - how to debug?
ThomasT

Replies: 16
Views: 23088

PostForum: IBM MQ API Support   Posted: Wed Jun 17, 2009 9:03 am   Subject: Re: Solution found!

Actually, you should be doing:
rfhCodedCharSetId = MQC.MQCCSI_INHERIT;


Ahhh...thanks.


Also, why are you converting MCD, JMS & USR folders to byte arrays? They should be string (ali ...
  Topic: RFH2 header causes 2334 - how to debug?
ThomasT

Replies: 16
Views: 23088

PostForum: IBM MQ API Support   Posted: Wed Jun 17, 2009 8:37 am   Subject: Solution found!
rfhCodedCharSetId = MQC.MQCCSI_DEFAULT;

This was the problem. It seems 0 is not allowed here. Changing this to

rfhCodedCharSetId = 819;

works nearly perfectly...until the next bug I'll foun ...
  Topic: RFH2 header causes 2334 - how to debug?
ThomasT

Replies: 16
Views: 23088

PostForum: IBM MQ API Support   Posted: Wed Jun 17, 2009 8:02 am   Subject: RFH2 header causes 2334 - how to debug?
I read the original documentation, I searched in the forum (code snippet, tipps), I reverse-engineered a JMS header. All I can see is that there is no error, all values correct an on the right place. ...
  Topic: RFH2 header causes 2334 - how to debug?
ThomasT

Replies: 16
Views: 23088

PostForum: IBM MQ API Support   Posted: Wed Jun 17, 2009 4:15 am   Subject: RFH2 header causes 2334 - how to debug?
*what* exactly is wrong?
  Topic: RFH2 header causes 2334 - how to debug?
ThomasT

Replies: 16
Views: 23088

PostForum: IBM MQ API Support   Posted: Wed Jun 17, 2009 3:54 am   Subject: RFH2 header causes 2334 - how to debug?
There are differnent kind of wheels, so inventing a one can make sense...

I used the normal API because I thought (indeed still think) it would give me more and better access to MQ. E.g. wi ...
  Topic: RFH2 header causes 2334 - how to debug?
ThomasT

Replies: 16
Views: 23088

PostForum: IBM MQ API Support   Posted: Wed Jun 17, 2009 3:15 am   Subject: RFH2 header causes 2334 - how to debug?
Hi,

here the byte dump.


52 46 48 20 00 00 00 02 00 00 00 94 00 00 01 11
00 00 00 00 4d 51 53 54 52 20 20 20 00 00 00 00
00 00 03 33 00 00 00 20 3c 6d 63 64 3e 3c 4d 73
64 3e 6a 6d 73 5 ...
  Topic: RFH2 header causes 2334 - how to debug?
ThomasT

Replies: 16
Views: 23088

PostForum: IBM MQ API Support   Posted: Wed Jun 17, 2009 2:13 am   Subject: RFH2 header causes 2334 - how to debug?
Hi,

I try to build a RFH2 header by myself using the Java-MQ-API (not JMS).

I got a 2334 reason code when putting the message.
I cannot see what was wrong. But the problem is, I don't know ho ...
  Topic: getting bytes ans Codepage of a Textmessage
ThomasT

Replies: 5
Views: 6880

PostForum: IBM MQ Java / JMS   Posted: Wed Apr 26, 2006 7:34 am   Subject: getting bytes ans Codepage of a Textmessage
Hallo!

I'll look at the MQ Classes you mentioned.
Perhaps it helps.
  Topic: getting bytes ans Codepage of a Textmessage
ThomasT

Replies: 5
Views: 6880

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 25, 2006 3:53 am   Subject: getting bytes ans Codepage of a Textmessage
The conditions are:

Clientside: java, means jms, on different mashines (WinXP, Win2000, Unix)

Serverside: mq with xml-text as message. Textmessage.

Nothing more is really specified!

Th ...
  Topic: Codepage trouble JMSTextmessage
ThomasT

Replies: 5
Views: 5651

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 25, 2006 1:56 am   Subject: Codepage trouble JMSTextmessage
Have you thought about checking into the BytesMessage method. Is there a readUTF() ?

You really have to look at how the putting application writes to the message and sets the message format.... Can ...
  Topic: getting bytes ans Codepage of a Textmessage
ThomasT

Replies: 5
Views: 6880

PostForum: IBM MQ Java / JMS   Posted: Tue Apr 25, 2006 1:53 am   Subject: getting bytes ans Codepage of a Textmessage
Hallo!

How can I get the "raw" bytes of a JMSTextmessage?
There's a method _exportBody; but I couldn't found a documentation.

How can I read the Codepage. There's a protected field an with s ...
  Topic: Codepage trouble JMSTextmessage
ThomasT

Replies: 5
Views: 5651

PostForum: IBM MQ Java / JMS   Posted: Sun Apr 23, 2006 6:02 am   Subject: Codepage trouble JMSTextmessage
Hallo!

I have the following problem:
I receive a JMS message (MQSeries) with encoded with Codepage 850.
My Client receives/converts this to Cp1252.
In the JMSTextMessage there's an protected ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.