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 » IBM MQ Java / JMS » [GCI] a big issue about MQ6.0(broker) between LINUX/SOLARIS

Post new topic  Reply to topic
 [GCI] a big issue about MQ6.0(broker) between LINUX/SOLARIS « View previous topic :: View next topic » 
Author Message
helen
PostPosted: Mon Oct 11, 2010 11:32 pm    Post subject: [GCI] a big issue about MQ6.0(broker) between LINUX/SOLARIS Reply with quote

Newbie

Joined: 11 Oct 2010
Posts: 2

Hi, every expert
I'm involved this issue about 2 months and don't know how to go on, please give me some advise about my issues.

we do the program merge work, from SOLARI to LINUX, the MQ is 6.0, the developer tools is java.

The broker works well on SOLARIS, but failed on LINUX.
we do a tools named putmsg to put message to the in QUEUE, and then our program parse the message and put it to the out QUEUE.

I debug our program and last find that we use conn.getQueue to get the Queue message. but the message is difference between the two OS.

The whole message read from JMS in LINUX

<usr></usr>^@^@^@ <mcd><Msd>jms_bytes</Msd></mcd> ^@^@^@4<jms><Dst>queue:///urlclient.client.IN</Dst></jms> ^@^@^@l<usr><OPT_APP_GRP>urlclient</OPT_APP_GRP><OPT_MSG_TYPE>urlclient_request_to_adap_OF</OPT_MSG_TYPE></usr> <usr><REPLY_MSG_TYPE>myReply_msg</REPLY_MSG_TYPE><SRC_ID>srcid</SRC_ID></usr>Args:40:--include --url http://groups.google.com


The body of the message read from JMS in LINUX

^@^@^@ <mcd><Msd>jms_bytes</Msd></mcd> ^@^@^@4<jms><Dst>queue:///urlclient.client.IN</Dst></jms> ^@^@^@l<usr><OPT_APP_GRP>urlclient</OPT_APP_GRP><OPT_MSG_TYPE>urlclient_request_to_adap_OF</OPT_MSG_TYPE></usr> <usr><REPLY_MSG_TYPE>myReply_msg</REPLY_MSG_TYPE><SRC_ID>srcid</SRC_ID></usr>Args:40:--include --url http://groups.google.com]


The whole message read from JMS in SOLARIS, it works correctly
<usr><OPT_APP_GRP>urlclient</OPT_APP_GRP><OPT_MSG_TYPE>urlclient_request_to_adap_OF</OPT_MSG_TYPE><SRC_ID>srcid</SRC_ID><REPLY_MSG_TYPE>myReply_msg</REPLY_MSG_TYPE></usr>Args:40:--include --url http://groups.google.com]


The body of the message read from JMS in SOLARIS, it works correctly
Args:40:--include --url http://groups.google.com

So, our program throw error because when it get the body, it get the Args on SOLARIS, however get ^@ on LINUX.

Could you have some ideas about this issue and let me know?
Thank you very much in advance.

PS: I found the CCSID and CHARCHARACTERCODE is difference betweent the 2 OS
SOLARIS is:
JMS_IBM_Encoding:273
JMS_IBM_PutApplType:6
JMS_IBM_Character_Set:ISO8859_1

LINUX is :
JMS_IBM_Encoding:285278208
JMS_IBM_PutApplType:6
JMS_IBM_Character_Set:855834624
seems invalid.
Back to top
View user's profile Send private message Send e-mail
helen
PostPosted: Mon Oct 11, 2010 11:35 pm    Post subject: Reply with quote

Newbie

Joined: 11 Oct 2010
Posts: 2

my receiver is
com.ibm.mq.jms.MQQueueReceiver

we use the ibm jms tools to get the message.

of course, we use the same message input.
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Oct 12, 2010 7:13 am    Post subject: Reply with quote

Grand High Poobah

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

Quote:
LINUX is :
JMS_IBM_Encoding:285278208
JMS_IBM_PutApplType:6
JMS_IBM_Character_Set:855834624
seems invalid.

Looks like you have an endianness problem:
CCSID 855834624 = hex 33030000 => 0333 => dec 819
Encoding 285278208 = hex 11010000 => 0111 => dec 273

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » [GCI] a big issue about MQ6.0(broker) between LINUX/SOLARIS
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.