cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Faulkner <christopher.faulk...@ntlworld.com>
Subject Changing Xalan XSL (WAS Re: SVG - java socket exception)
Date Tue, 03 Dec 2002 17:26:09 GMT
HI

More on this - a couple of others seem to have similar problems but nobody ever got a reply
when they post the error .... makes me think it  is a bug. Anyhow, if I change this parameter
to false (it is true by default) in
cocoon.xconf

<parameter name="incremental-processing" value="false"/>

I don't get the errors but the JSP is still being called 2 or 3 times so it is much slower
and I'd rather leave the incremental-processing  parameter at true. How can I change from
xalan to another XSL engine ? There 
is
a mention of this on the performance tips page but no instructions about how to do it.

Chris

>Hello
>
>I am getting on OK with Cocoon. I like it very much. I am using some JSP code as a generator.
This creates some XML data which I apply xsl to transform to SVG. This is then serialised
with 
>svgxml and returned to the client. It all works fine. Except that, looking at my logs,
very often, the first execution of the JSP returns this to stdout/stderr.
>
>java.lang.RuntimeException: java.net.SocketException: Connection aborted by peer
>: socket write error
>        at org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
>:3231)
>        at java.lang.Thread.run(Thread.java:479)
>
>I can see in the logs that Cocoon automatically seems to fire the same JSP again. It then
works on the next shot, I get my SVG displayed in my SVG viewing app and it is just fine.
This is 
>obviously slowing things up though. 
>
>Any ideas - I am using Cocoon 2.0.3 on Tomcat 4.0.1, JDK 1.3.1_06 on W2K.
>
>Thanks
>
>Chris
>
>
>
>
>---------------------------------------------------------------------
>Please check that your question  has not already been answered in the
>FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
>To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>
>
>




---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message