I'm not sure if I understood everything in your post, but I sometimes have a
similar entry in the console, though I didn't pay much attention to it since
I'm developing and do sometime try things that could generate errors... 
Anyway, I always thought it was a browser problem, since it should reload
the URL if you hit refresh or re-enter the URL, but many times it doesn't.
Maybe at this moment, it severs the connection. If you think taht could be
your case as well, try this: someone gave me pretty useful hint: On Windows
and IE, Ctrl-[F5] empties the browser-cache, thus ensuring that if you hit
"Refresh", the page will be loaded again.

Does that anything have to do with your problem at all?

Kurt


-----Message d'origine-----
De: KOZLOV Roman [mailto:[EMAIL PROTECTED]]
Date: mercredi, 17. avril 2002 10:45
À: Cocoon users mail list
Objet: ResourceReader crash


    Hello all,

    Can somebody answer is it a bug of Cocoon (v 2.0.1, server Tomcat
4.01) or not?
    When browser, in particular IE 5.0 or 5.5, reads some data, in
particular css file, several times it sometimes severs the connection if
the data are old and cashed (IE does it even "reread page every time"
option is set). Cocoon's servlet after several such requests generates
error reports in logs and server console. For example, in sitemap.log it
prints at the beginning:

ResourceReader: Received an IOException, assuming client severed
connection on purpose

However after several such messages it begins printing of following
messages:

DEBUG   (2002-04-17) 11:19.02:999   [sitemap.transformer.xslt]
(/cocoon/mycss.css) HttpProcessor[8080][3]/TraxTransformer: Using
stylesheet:
'file:/W:/jakarta-tomcat-4.0/webapps/cocoon/stylesheets/system/error2html.xs
l'
in org.apache.cocoon.transformation.TraxTransformer@63de4e, last
modified: 1015492495836

And in the server's console:

java.lang.RuntimeException: java.net.SocketException: Connection aborted
by peer
: socket write error
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java
:3174)
        at java.lang.Thread.run(Thread.java:484)

Meantime, no error messages are appears in the browser and it seems to
be displaying data correctly.

    So is it a bug of Cocoon?

    I've attached a zip archive with some pieces of logs and with files
csstest.html, mycss.css and sitemap.xmap with which I've reproduced this
error on three different server stations.

    Thank you for response.
        Roman

    

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

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to