cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <reinhard_po...@gmx.net>
Subject RE: Changing Xalan XSL (WAS Re: SVG - java socket exception)
Date Tue, 03 Dec 2002 17:44:40 GMT
Chris,

The problem you have is a well-known problem of Cocoon or more precicly of
Xalan. There are many mails in the archives about this topic (e.g.:
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=101994024218728&w=2).

If you want to use Saxon have a look at
http://outerthought.net/wiki/Wiki.jsp?page=Saxon - it should help (and is
faster than Xalan).

Regards,
Reinhard

> -----Original Message-----
> From: Chris Faulkner [mailto:christopher.faulkner@ntlworld.com]
> Sent: Tuesday, December 03, 2002 6:26 PM
> To: cocoon-users@xml.apache.org
> Subject: Changing Xalan XSL (WAS Re: SVG - java socket exception)
>
>
> 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>
>


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


Mime
View raw message