|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQJMS1050: The MQRFH2 header has an incorrect format |
« View previous topic :: View next topic » |
Author |
Message
|
COL_Bkr |
Posted: Wed Mar 28, 2007 10:26 pm Post subject: MQJMS1050: The MQRFH2 header has an incorrect format |
|
|
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 |
|
 |
jboller001 |
Posted: Thu Mar 29, 2007 5:50 am Post subject: |
|
|
 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 |
|
 |
COL_Bkr |
Posted: Thu Mar 29, 2007 8:20 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|