cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Poetz" <reinhard_po...@gmx.net>
Subject RE: RE: Changing Xalan XSL (WAS Re: SVG - java socket exception)
Date Tue, 03 Dec 2002 18:25:27 GMT
> -----Original Message-----
> From: Chris Faulkner [mailto:christopher.faulkner@ntlworld.com]
> Sent: Tuesday, December 03, 2002 7:20 PM
> To: cocoon-users@xml.apache.org
> Cc: cocoon-dev@xml.apache.org
> Subject: Re: RE: Changing Xalan XSL (WAS Re: SVG - java socket
> exception)
>
>
> Thanks for that - I did search the archives and found some
> messages with the same error message as I had but none that I saw
> had a follow-up. I really did search but until you understand the
> nature of the problem
> better, it is difficult to know what terms to search on.  I do
> apologise for wasting any of your time and thanks again.

The user-list is for questions like yours the best place. For me the only
rule is looking at http://xml.apache.org/cocoon/faq/index.html before
posting.


> I'll try Saxon. I'm not immediately certain how to install it
> with Cocoon but I'll find out !

It's quite easy - one of the links at
http://outerthought.net/wiki/Wiki.jsp?page=Saxon (I think it's the fourth
...) points out all necessary steps.

> The journey is part of the fun.

Yes, Cocoon makes a lot of fun !!! :-)

Regards,
Reinhard

>
> Chris
>
> >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>
> >>
> >
> >
> >---------------------------------------------------------------------
> >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>
>


---------------------------------------------------------------------
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