The XML is sent by JMS as below format:
reqMsg.setJMSType("mcd://mrm//" + msgType + "?format=CwXML");
WMB trace file throws the below error:
See the following messages for details of the error.
2010-03-31 16:49:05.949233 13942 ParserException BIP5313E: Message format ''CwXML'' is not defined for message set ''RR_MVNO_Port_In_MessageSet (H74SG78002001)''.
The broker received a message for processing within the MRM domain.
However, the message cannot be processed because the message format specified in the physical format identifier ''CwXML'' has not been defined for message set ''RR_MVNO_Port_In_MessageSet (H74SG78002001)''.
The message format describes the physical representation of the message, and you can specify this format either in the properties on an input node, or dynamically within an MQRFH2 message header.
The solution is to add one more "XML Wire Formats" at the Message Set.
Also, need to make sure the MQInput node's Message Domain & Message Set are set with the correct values.
Wednesday, March 31, 2010
Tuesday, March 16, 2010
Another cert issue
We have this standalone java program running on a AIX box calling a web service which is running on https. The web service provider provided us the cert and we imported this cert to the cacerts keystore using IBM Key Management tool(Alternatively you may use the java keytool command).
(Anyway this is the first time i am exposed to this, so please correct me if i am wrong)
At first the web service called failed. We got the below error:
unable to find valid certification path to requested target
We checked the shell script where we started this program. In the shell script, the java command path is specified as /usr/java5_64/bin and the cacerts actually resides at /usr/java5_64/jre/lib/security
Therefore we changed in our script from /usr/java5_64/bin/java to /usr/java5_64/jre/bin/java and now it is working well.
Please find the 2 URLs as below
Link1
Link2
(Anyway this is the first time i am exposed to this, so please correct me if i am wrong)
At first the web service called failed. We got the below error:
unable to find valid certification path to requested target
We checked the shell script where we started this program. In the shell script, the java command path is specified as /usr/java5_64/bin and the cacerts actually resides at /usr/java5_64/jre/lib/security
Therefore we changed in our script from /usr/java5_64/bin/java to /usr/java5_64/jre/bin/java and now it is working well.
Please find the 2 URLs as below
Link1
Link2
Subscribe to:
Posts (Atom)