|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message truncated after XML Transform node |
« View previous topic :: View next topic » |
Author |
Message
|
gpkssts |
Posted: Fri Aug 25, 2006 12:47 am Post subject: Message truncated after XML Transform node |
|
|
Novice
Joined: 22 Nov 2005 Posts: 10 Location: UK
|
(We are on Solaris WBIMB v5 CSD5)
In a very simple test flow we transform a CWF message to XML, push the results through the XML Transform node and then write the results to a queue.
With small messages we have no problems and it works just fine.
With larger (but kb not mb size) messages the results are truncated.
I'm getting no errors reported.
Here's what I've tried:
-enabling the nodes trace option - no obvious errors in there, you see the start of the message (with a message about only showing 1000 bytes so I assume thats normal), then these lines:
XMLTransformation Fri Aug 25 09:01:56 BST 2006 com.ibm.xsl.mqsi.MessageGenerator
createNewMessage Calling MbMessage.getRootElement()
XMLTransformation Fri Aug 25 09:01:56 BST 2006 com.ibm.xsl.mqsi.MessageGenerator
createNewMessage add new data with createElementAsLastChild
XMLTransformation Fri Aug 25 09:01:56 BST 2006 com.ibm.xsl.mqsi.MessageGenerator
createNewMessage find /Properties/CodedCharSetId
XMLTransformation Fri Aug 25 09:01:56 BST 2006 com.ibm.xsl.mqsi.MessageGenerator
createNewMessage Exit
XMLTransformation Fri Aug 25 09:01:56 BST 2006 com.ibm.xsl.mqsi.MessageGenerator
createNewMessageAssembly Entry
XMLTransformation Fri Aug 25 09:01:56 BST 2006 com.ibm.xsl.mqsi.MessageGenerator
createNewMessageAssembly Exit
XMLTransformation Fri Aug 25 09:01:56 BST 2006 com.ibm.xsl.mqsi.XMLTransformNode
evaluate Find Output Terminal
XMLTransformation Fri Aug 25 09:01:56 BST 2006 com.ibm.xsl.mqsi.XMLTransformNode
evaluate Propagate New Message
XMLTransformation Fri Aug 25 09:01:56 BST 2006 com.ibm.xsl.mqsi.XMLTransformNode
evaluate Exit
So I thought that looked ok.
-compared running the same flow on a windows broker but it worked fine there with no issues, same csd level
- tried running the conversion at a command line on the solaris box to look for any issues - I did this for that:
cd /opt/mqsi/jre/bin
./java -cp ../../classes/xalan.jar:../../classes/brokerXerces.jar org.apache.xalan.xslt.Process -IN ~/gp/aaproxy.xml -XSL ~/gp/SMISForm.xsl
-changing the jvm heap size from the default to 256 MB (desparation)
-restarted everything (EG, Broker) (more desparation - just in case!)
Not sure how the transform node does its thing. Its like a buffer isn't flushed before the flow moves on.
If it had been one of our developments I'd have wondered about the finalization of the output or some break down in a JNI layer but I'm stuck really.
I've seen some posts from other people talking about much larger XML files than ours in this node with no problems like this but it does seem to be related to size in our case.
Has anyone seen this before and got any advice or shall I just raise a PMR?
Thanks,
Graham |
|
Back to top |
|
 |
XZ |
Posted: Fri Aug 25, 2006 2:20 am Post subject: |
|
|
 Apprentice
Joined: 22 May 2006 Posts: 45 Location: IBM Hursley
|
I assume that you are not using JVM 1.4 (0therwise -cp does give what you would expect).
In CSD5, if you are XMLT node cache level > 0, your style sheet is precompiled. In that case, your java experiment is not comparing like with like. Try the compiler.
If this still does not help you to identify the problem, you better raise a PMR. Solaris does appear to be a less reliable platform. _________________ Regards,
-XZ
WMQI Development |
|
Back to top |
|
 |
gpkssts |
Posted: Mon Sep 04, 2006 7:02 am Post subject: Message truncated after XML Transform node - Solved |
|
|
Novice
Joined: 22 Nov 2005 Posts: 10 Location: UK
|
We installed CSD8 and the problem looks to have gone away.
Graham |
|
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
|
|
|
|