WPS-MQBinding Error CWSCA4100E: An MQMD property could not be accessed.

When you using MQ binding in WPS7, you may see the following error:

00000463 MQ            E   CWSCA4100E: An MQMD property could not be accessed. JNDI destinations used by t
he WebSphere MQ binding must have custom properties MDWRITE and MDREAD set to “YES” and custom property MSGBODY set to “MQ”.

00000463 SibMessage    W   [:] CWSJY0003W: JMSCC0109: A message driven bean threw a runtime exception ‘
Message : com.ibm.websphere.sca.ServiceRuntimeException: JNDI destinations used by the WebSphere MQ binding m
ust have custom properties MDWRITE and MDREAD set to ‘YES’ and custom property MSGBODY set to ‘MQ’: caused by: java.lang.NumberForma
tException: null
Class : class com.ibm.websphere.sca.ServiceRuntimeException

solution:

you have to set the following properties for MQ Queue defined in MQ resources

go to Resources->JMS->Queues, select the MQ queue you defined. then click “Custom Properties” in “Additional Properties” section

add the following properties for Sender MQ queue

add the following properties for Receiver MQ queue

then save the changes, and restart the server. The error should be eliminated.

Advertisements

About this entry