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 » XMLTransformation node issue

Post new topic  Reply to topic
 XMLTransformation node issue « View previous topic :: View next topic » 
Author Message
WBI_User21
PostPosted: Thu Feb 21, 2008 2:50 am    Post subject: XMLTransformation node issue Reply with quote

Voyager

Joined: 12 Jun 2007
Posts: 98

Hello MBIans,

I am getting following exception while doing XML trans using XMLT node

Quote:
Transformation failure when processing Stylesheet deployed:./com/bt/oneit/iap/pal/cap/UII_NeoInterface.xsl

ERROR: 'unknown protocol: deployed'

ERROR: 'File not found: org.apache.xml.utils.WrappedRuntimeException: unknown protocol: deployed'

ERROR: 'org.apache.xalan.xsltc.TransletException: java.io.FileNotFoundException: '



javax.xml.transform.TransformerException: org.apache.xalan.xsltc.TransletException: org.apache.xalan.xsltc.TransletException: java.io.FileNotFoundException:

at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:606)

at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:282)

at com.ibm.xsl.exmlt.ParseFacilitator.parseXmlStylesheet(ParseFacilitator.java:676)

at com.ibm.xsl.exmlt.ParseFacilitator.parse(ParseFacilitator.java:253)

at com.ibm.xsl.exmlt.EnhancedXMLTransform.transformWithStylesheet(EnhancedXMLTransform.java:773)

at com.ibm.xsl.exmlt.EnhancedXMLTransform.transformDocument(EnhancedXMLTransform.java:706)

at com.ibm.xsl.mqsi.XMLTransformData.transformData(XMLTransformData.java:838)

at com.ibm.xsl.mqsi.XMLTransformNode.evaluate(XMLTransformNode.java:942)

at com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1298)

Caused by: org.apache.xalan.xsltc.TransletException: org.apache.xalan.xsltc.TransletException: java.io.FileNotFoundException:

at org.apache.xalan.xsltc.dom.LoadDocument.documentF(LoadDocument.java:142)

at UII_NeoInterface.topLevel()

at UII_NeoInterface.transform()

at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:580)

at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:602)

... 8 more

'


My message Root contains properties header and well formed XML which uses XML parser.

I can able to transform the XML using XSL and get the resultant XML using XMLSpy.

Can anyone give me the pointer to this kind of exception in message broker.
Is the problem with XML T node library files !?

thanks in advance
Back to top
View user's profile Send private message
XZ
PostPosted: Thu Feb 21, 2008 3:13 am    Post subject: Reply with quote

Apprentice

Joined: 22 May 2006
Posts: 45
Location: IBM Hursley

It looks that the node could not file your style sheet. Have you deployed the style sheet (through a bar file)? Can you see UII_NeoInterface.xsl under $MQS_WORKPATH/components/<broker_name>/<EG_UUID>/config/XSL/com/bt/oneit/iap/pal/cap?
Is this style sheet referenced directly by your node or by another style sheet you are using?
_________________
Regards,

-XZ
WMQI Development
Back to top
View user's profile Send private message
WBI_User21
PostPosted: Thu Feb 21, 2008 3:33 am    Post subject: Reply with quote

Voyager

Joined: 12 Jun 2007
Posts: 98

i am deploying through bar file and i am not referring to any XSL/file from XSL
Back to top
View user's profile Send private message
XZ
PostPosted: Thu Feb 21, 2008 3:39 am    Post subject: Reply with quote

Apprentice

Joined: 22 May 2006
Posts: 45
Location: IBM Hursley

Deployed as UII_NeoInterface.xsl or com/bt/oneit/iap/pal/cap/UII_NeoInterface.xsl? Can you see the style sheet in the directory I mentioned earlier?
_________________
Regards,

-XZ
WMQI Development
Back to top
View user's profile Send private message
WBI_User21
PostPosted: Thu Feb 21, 2008 3:54 am    Post subject: Reply with quote

Voyager

Joined: 12 Jun 2007
Posts: 98

I packed it in barfile and deployed it as com/bt/oneit/iap/pal/cap/UII_NeoInterface.xsl and my XSL is present in
in com/bt/oneit/iap/pal/cap/ location of my workspace.I can see the path in the eg and bar .
I am setting XSL name in the localenvironment. I am not storing the in brokers xsl folder.


FYI:My Broker and toolkit installed on Win XP..
Back to top
View user's profile Send private message
XZ
PostPosted: Thu Feb 21, 2008 4:10 am    Post subject: Reply with quote

Apprentice

Joined: 22 May 2006
Posts: 45
Location: IBM Hursley

A few things:
1. I am not sure what is meant by "I can see the path in the eg ...". I am assuming that means that the file is in $MQS_WORKPATH/components/<broker_name>/<EG_UUID>/config/XSL/com/bt/oneit/iap/pal/cap , which means the deployment worked.
2. "I am not storing the in brokers xsl folder". You don't but a deployment action does that for you (storing the file in $MQS_WORKPATH/components/<broker_name>/<EG_UUID>/config/XSL).

Assuming that there is something wrong with broker code, there are two things you can try as a walkaround:
1. Use "\\" instead of "/" for referencing the style sheet.
2. Manually save the style sheet to a location where your broker can directly access and reference the absolute path in the localenvironment.
_________________
Regards,

-XZ
WMQI Development
Back to top
View user's profile Send private message
WBI_User21
PostPosted: Thu Feb 21, 2008 4:30 am    Post subject: Reply with quote

Voyager

Joined: 12 Jun 2007
Posts: 98

Hi XZ,
Yes , XSL is present in that location.I missed this point in the above post ..
Quote:
I am not sure what is meant by "I can see the path in the eg ...".
In eg ,deployed XSL name appears as <relativepath>\XSL name.
I tried same by setting XSL in the XMLT node which resulted in the same exception.I assume that there problem in processing XSL by XMLT node from the exceptionlist generated.



Quote:
Transformation failure when processing Stylesheet deployed:./com/ibm/xyz/abc/UII_NeoInterface.xsl
ERROR: 'unknown protocol: deployed'

ERROR: 'File not found: org.apache.xml.utils.WrappedRuntimeException: unknown protocol: deployed'

ERROR: 'org.apache.xalan.xsltc.TransletException: java.io.FileNotFoundException: '




thanks in advance
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Feb 21, 2008 4:43 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

WBI_User21 wrote:
I packed it in barfile and deployed it as com/bt/oneit/iap/pal/cap/UII_NeoInterface.xsl and my XSL is present in
in com/bt/oneit/iap/pal/cap/ location of my workspace.


Where it is in your workspace is irrelevant to the the broker.

You need to ensure the file is deployed to the location expected by the broker. Hence the "file not found" you're getting.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
XZ
PostPosted: Thu Feb 21, 2008 5:18 am    Post subject: Reply with quote

Apprentice

Joined: 22 May 2006
Posts: 45
Location: IBM Hursley

What this exception is saying that org.apache.xalan.xsltc could not find the style sheet while it is resolving it because "deployed:" is not a known protocol name (it is actually internal to the broker). What should have happened is that the file should have been resolved successfully by broker's own style sheet resolver but this did not happen (or failed). You need to provide more details on your flow so we can help you further. Things like user trace + a sample flow would help.
_________________
Regards,

-XZ
WMQI Development
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 » XMLTransformation node issue
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.