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 » WebSphere Message Broker (ACE) Support » Message truncated after XML Transform node

Post new topic  Reply to topic
 Message truncated after XML Transform node « View previous topic :: View next topic » 
Author Message
gpkssts
PostPosted: Fri Aug 25, 2006 12:47 am    Post subject: Message truncated after XML Transform node Reply with quote

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
View user's profile Send private message
XZ
PostPosted: Fri Aug 25, 2006 2:20 am    Post subject: Reply with quote

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
View user's profile Send private message
gpkssts
PostPosted: Mon Sep 04, 2006 7:02 am    Post subject: Message truncated after XML Transform node - Solved Reply with quote

Novice

Joined: 22 Nov 2005
Posts: 10
Location: UK

We installed CSD8 and the problem looks to have gone away.

Graham
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 » WebSphere Message Broker (ACE) Support » Message truncated after XML Transform node
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.