You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Sabinay_Swain <Sa...@satyam.com> on 2006/03/05 09:36:39 UTC

metrics for cocoon vs web sphere

Hi,

 

I am searching for a cocoon VS Web Sphere metrics we r trying to run the
cocoon 2.1.2 application with web sphere 5.1.X we r getting the
following error


 


Internal Server Error


Message: javax.xml.transform.TransformerException:
org.xml.sax.SAXException: Invalid processing instruction name
(saxon:warning)

Description: org.apache.cocoon.ProcessingException: Failed to execute
pipeline.: org.apache.cocoon.ProcessingException: Failed to execute
pipeline.: org.apache.cocoon.ProcessingException:
javax.xml.transform.TransformerException: org.xml.sax.SAXException:
Invalid processing instruction name (saxon:warning):
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: org.xml.sax.SAXException:
Invalid processing instruction name (saxon:warning)

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

Request URI

index.html

cause

javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: org.xml.sax.SAXException:
Invalid processing instruction name (saxon:warning)

request-uri

/home/index.html

full exception chain stacktrace

Original Exception: org.apache.cocoon.ProcessingException: Failed to
execute pipeline.: org.apache.cocoon.ProcessingException:
javax.xml.transform.TransformerException: org.xml.sax.SAXException:
Invalid processing instruction name (saxon:warning):
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: org.xml.sax.SAXException:
Invalid processing instruction name (saxon:warning)
                    at
org.apache.cocoon.components.source.impl.SitemapSource.toSAX(SitemapSour
ce.java:467)
                    at
org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:193
)
                    at
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.j
ava:160)
                    at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
XMLPipeline(AbstractProcessingPipeline.java:548)
                    at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe
line.processXMLPipeline(AbstractCachingProcessingPipeline.java:196)
                    at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process
(AbstractProcessingPipeline.java:492)
                    at
 
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:150)
                    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:84)
                    at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(Ac
tTypeNode.java:176)
                    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:108)
                    at
org.apache.cocoon.components.treeprocessor.ContainerNode.invoke(Containe
rNode.java:66)
                    at
org.apache.cocoon.components.treeprocessor.CategoryNode.invokeByName(Cat
egoryNode.java:96)
                    at
org.apache.cocoon.components.treeprocessor.sitemap.CallNode.invoke(CallN
ode.java:144)
                    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:84)
                    at
 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvoke(PreparableMatchNode.java:164)
                    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:84)
                    at
org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(Ac
tTypeNode.java:176)
                    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:108)
                    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:164)
                    at
 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:108)
                    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:161)
                    at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:327)
                    at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:309)
                    at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Moun
tNode.java:133)
                    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:84)
                    at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvoke(PreparableMatchNode.java:164)
                    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:108)
                    at
 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:164)
                    at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:108)
                    at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:161)
                    at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:327)
                    at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:309)
                    at org.apache.cocoon.Cocoon.process(Cocoon.java:639)

 

 

>>> 

 

Could u help me?

 

 

Regards,

Sabinay Swain 

 



DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

RE: metrics for cocoon vs web sphere

Posted by Andrew Stevens <at...@hotmail.com>.
>From: "Sabinay_Swain" <Sa...@satyam.com>
>Date: Sun, 5 Mar 2006 14:06:39 +0530
>
>Hi,
>
>
>
>I am searching for a cocoon VS Web Sphere metrics we r trying to run the
>cocoon 2.1.2 application with web sphere 5.1.X we r getting the
>following error

Do you mean performance metrics, or something else?  The error you are 
getting is a problem with the XML being passed through the pipeline, which 
is unlikely to be due to performance unless perhaps it only happens under 
high load.  Does every request for /home/index.html produce the error, or 
only sometimes?

>Message: javax.xml.transform.TransformerException:
>org.xml.sax.SAXException: Invalid processing instruction name
>(saxon:warning)

Sounds like at some point in your pipeline, a Saxon XSL transformer is using 
a stylesheet (or perhaps is processing an XML stream) containing a PI it 
doesn't understand.  Probably it begins with something other than <?xml 
version="1.0" encoding=...?>, or perhaps is totally empty (though I'd have 
expected that to complain about no root element being found).  Without more 
details of the pipeline & XML you're using, we can only guess.  Have you 
tried using a view to dump out the contents of your pipeline at various 
points, to see which pipeline component causes the problem?


Andrew.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org