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 » WebSphere Message Broker (ACE) Support » MQJMS1050: The MQRFH2 header has an incorrect format

Post new topic  Reply to topic
 MQJMS1050: The MQRFH2 header has an incorrect format « View previous topic :: View next topic » 
Author Message
COL_Bkr
PostPosted: Wed Mar 28, 2007 10:26 pm    Post subject: MQJMS1050: The MQRFH2 header has an incorrect format Reply with quote

Newbie

Joined: 28 Mar 2007
Posts: 3

Has any one encountered the same problem as I am having now after the migration of WMB V5 to V6.

It seems like the JMS trying to read broker's response message with invalid format of MQRFH2. I know that JMS has problems with some kinds of "short XML tag". Is there any way that I can ensure all the fields in the MQRFH2 are assigned an value or contain valid tag ?


[29/03/07 11:10:12:844 EST] 00000037 JMSExceptionL E WMSG0018E: Error on JMSConnection for MDB ServiceStatusMDB , JMSDestination mq/JfsAvailabilitySubscriberTopic : javax.jms.MessageFormatException: MQJMS1050: The MQRFH2 header has an incorrect format
at com.ibm.jms.JMSMessage.newMessageFormatException(JMSMessage.java:5016)
at com.ibm.jms.JMSMessage._parseMcdFolder(JMSMessage.java:3095)
at com.ibm.jms.JMSMessage._parseMcdFolderUtf8(JMSMessage.java:3335)
at com.ibm.mq.jms.MQJMSMessage.createJMSMessage(MQJMSMessage.java:489)
at com.ibm.mq.jms.MQSession.consume(MQSession.java:3176)
at com.ibm.mq.jms.MQSession.run(MQSession.java:1665)
at com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:967)
at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:862)
at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:627)
at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessionDispatcher.java:37)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:91)
at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127)
at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:479)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)

[29/03/07 11:10:12:844 EST] 00000037 JMSExceptionL E WMSG0057E: Error on JMSConnection for MDB ServiceStatusMDB , JMSDestination mq/JfsAvailabilitySubscriberTopic , JMS Linked Exception : <null>
[29/03/07 11:10:12:859 EST] 00000037 MDBListenerIm I WMSG0043I: MDB Listener JfsAvailabilityListener stopped for JMSDestination mq/JfsAvailabilitySubscriberTopic


Thank you.
Back to top
View user's profile Send private message
jboller001
PostPosted: Thu Mar 29, 2007 5:50 am    Post subject: Reply with quote

Apprentice

Joined: 31 May 2006
Posts: 40

Send the response to a local queue instead of the application and view the RFH2 header using RFHUtil or MQ Visual Edit.
Back to top
View user's profile Send private message
COL_Bkr
PostPosted: Thu Mar 29, 2007 8:20 pm    Post subject: Reply with quote

Newbie

Joined: 28 Mar 2007
Posts: 3

jboller001,

Thank you for your helpful suggestion, the problem has been fixed.
In version 5, we didnot set value for OutputRoot.Properties.MessageSet, OutputRoot.Properties.MessageType, OutputRoot.Properties.MessageFormat. They were just empty string. To overcome the problem we set some value in each of the fied. We beleive that it enables broker to populate the MQRFH2 header's fields correctly.
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 » WebSphere Message Broker (ACE) Support » MQJMS1050: The MQRFH2 header has an incorrect format
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.