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 » General IBM MQ Support » exceptions while passing XML files through HUB

Post new topic  Reply to topic
 exceptions while passing XML files through HUB « View previous topic :: View next topic » 
Author Message
regonda
PostPosted: Mon Aug 18, 2008 3:15 am    Post subject: exceptions while passing XML files through HUB Reply with quote

Apprentice

Joined: 08 Apr 2008
Posts: 43

Hi All,

while passing an XML files through the broker, I am getting the following exceptions in the error queue.

Quote:
<errormessage>
<body>
<!-- 414D5120494855423031202020202020486274A4203CD903
-->
<ErrorGMTDate>2008-08-18</ErrorGMTDate>
<ErrorGMTTime>10:15:29.996406</ErrorGMTTime>
<MqsiDestinationList />
<MqsiExceptionList>
<RecoverableException>
<File>/build/S600_P/src/DataFlowEngine/ImbComputeNode.cpp</File>
<Line>464</Line>
<Function>ImbComputeNode::evaluate</Function>
<Type>ComIbmComputeNode</Type>
<Name>XSPS01_BKIN_Q_01#FCMComposite_1_2.XR_Routing#FCMComposite_1_5</Name>
<Label>XSPS01_BKIN_Q_01.XR_Routing.Compute_MSGID1</Label>
<Catalog>BIPv600</Catalog>
<Severity>3</Severity>
<Number>2230</Number>
<Text>Caught exception and rethrowing</Text>
<RecoverableException>
<File>/build/S600_P/src/DataFlowEngine/ImbRdl/ImbRdlStatementGroup.cpp</File>
<Line>589</Line>
<Function>SqlStatementGroup::execute</Function>
<Type>ComIbmComputeNode</Type>
<Name>XSPS01_BKIN_Q_01#FCMComposite_1_2.XR_Routing#FCMComposite_1_5</Name>
<Label>XSPS01_BKIN_Q_01.XR_Routing.Compute_MSGID1</Label>
<Catalog>BIPv600</Catalog>
<Severity>3</Severity>
<Number>2488</Number>
<Text>Error detected, rethrowing</Text>
<Insert>
<Type>5</Type>
<Text>.XR_Routing_Compute_MSGID1.main</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>30.4</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>SET OutputRoot.XML.(XML.XmlDecl)*:* = InputRoot.XML.(XML.XmlDecl)*:*;</Text>
</Insert>
<RecoverableException>
<File>/build/S600_P/src/DataFlowEngine/ImbRdl/ImbRdlFieldRef.cpp</File>
<Line>2323</Line>
<Function>SqlFieldReference::evaluate</Function>
<Type>ComIbmComputeNode</Type>
<Name>XSPS01_BKIN_Q_01#FCMComposite_1_2.XR_Routing#FCMComposite_1_5</Name>
<Label>XSPS01_BKIN_Q_01.XR_Routing.Compute_MSGID1</Label>
<Catalog>BIPv600</Catalog>
<Severity>3</Severity>
<Number>2498</Number>
<Text>Navigation error</Text>
<Insert>
<Type>5</Type>
<Text>.XR_Routing_Compute_MSGID1.main</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>30.39</Text>
</Insert>
<Insert>
<Type>2</Type>
<Text>3</Text>
</Insert>
<ParserException>
<File>/build/S600_P/src/MTI/MTIforBroker/GenXmlParser2/XmlImbParser.cpp</File>
<Line>572</Line>
<Function>XmlImbParser::parseFirstChild</Function>
<Type />
<Name />
<Label />
<Catalog>BIPv600</Catalog>
<Severity>3</Severity>
<Number>5009</Number>
<Text>XML Parsing Errors have occurred</Text>
<ParserException>
<File>/build/S600_P/src/MTI/MTIforBroker/GenXmlParser2/XmlBrokerAsgardParser.cpp</File>
<Line>942</Line>
<Function>XmlBrokerAsgardParser::error</Function>
<Type />
<Name />
<Label />
<Catalog>BIPv600</Catalog>
<Severity>3</Severity>
<Number>5004</Number>
<Text>An error has been reported by the BIPXML4C component.</Text>
<Insert>
<Type>2</Type>
<Text>186</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text />
</Insert>
<Insert>
<Type>2</Type>
<Text>1</Text>
</Insert>
<Insert>
<Type>2</Type>
<Text>1</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>Invalid document structure</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>XML</Text>
</Insert>
</ParserException>
</ParserException>
</RecoverableException>
</RecoverableException>
</RecoverableException>
</MqsiExceptionList>
</body>
</errormessage>


This error is not getting replicated with some other XML files but only with few XML files. So I feel that, there is definetly an error with the XML file but I am not able to identify, what exactly could be the error with XML file.

from the above exception i see that, there is a problem with XML parsing, but not able to identify that. (XML strucuture is similar for the file which was sent successfully and the file which is throwing the above error.

some body please help me out in this regard.....
Back to top
View user's profile Send private message
Gaya3
PostPosted: Mon Aug 18, 2008 3:31 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Invalid document structure : this is the cause.

your XML is not in good format, please verify it
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
regonda
PostPosted: Mon Aug 18, 2008 3:40 am    Post subject: Reply with quote

Apprentice

Joined: 08 Apr 2008
Posts: 43

Hi Gayathri,

Thanks for the prompt response....

Quote:
your XML is not in good format, please verify it


Please correct me If I am wrong, do you mean the file was not in correct encoding format....?
Back to top
View user's profile Send private message
Gaya3
PostPosted: Mon Aug 18, 2008 3:56 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

An XML document must be well formed in order to be evaluated by the parser.

hope this makes you clear about XML
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
regonda
PostPosted: Mon Aug 18, 2008 4:05 am    Post subject: Reply with quote

Apprentice

Joined: 08 Apr 2008
Posts: 43

I have successfully opened the XML file in browser view...so I feel that, there is no problem with the XMl structure.....
Back to top
View user's profile Send private message
Gaya3
PostPosted: Mon Aug 18, 2008 4:13 am    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

<Text>SET OutputRoot.XML.(XML.XmlDecl)*:* = InputRoot.XML.(XML.XmlDecl)*:*;</Text

the exceptions starts after this, can you able to figure out from here ...atleast
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
regonda
PostPosted: Mon Aug 18, 2008 4:50 am    Post subject: Reply with quote

Apprentice

Joined: 08 Apr 2008
Posts: 43

hello Gayathri....

I have checked the encoding format of the XML file and found that, it is in UNICODE format... then I saved the XML file as UTF-8 format and sent it throuh the HUB. this time I didnot get any errors......

thanks for the help and inputs.....
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 » General IBM MQ Support » exceptions while passing XML files through HUB
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.