cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: java.net.SocketException: Connection reset by peer: socket write error
Date Fri, 27 Jun 2003 19:41:18 GMT
Hello Hill,

normally this exception is thrown if the browser cuts the connection. 
This could happen if you change the URL of a resource before it's loaded 
completely.

And there is no "javascript handler" in Cocoon. This stuff is not 
touched by Cocoon, but only by the browser.

Joerg

Hill Karimov wrote:
> Hi all,
> 
> After update my cocoon 2.1-dev to cocoon 2.1m2, I get
> these exceptions in error.log:
> ERROR   (2003-06-27) 15:52.52:235   [access]
> (/cocoon/test/ftv2mlastnode.gif)
> Thread-17/CocoonServlet: Internal Cocoon Problem
> java.net.SocketException: Connection reset by peer:
> socket write error
> 	at java.net.SocketOutputStream.socketWrite0(Native
> Method)
> 	at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
> 	at
> java.net.SocketOutputStream.write(SocketOutputStream.java:126)

...

> gif files for tree menu, that is some complex
> javascript that build the tree menu:
> 
> /snip
> ...
> function preLoadIcons() {
> 	var auxImg
> 	auxImg = new Image();
> 	auxImg.src = ICONPATH + "ftv2vertline.gif";
> 	auxImg.src = ICONPATH + "ftv2mlastnode.gif";
> 	auxImg.src = ICONPATH + "ftv2plastnode.gif";
> ...
>  doc.write("  ...
>     ... +  "<td valign=top background=" + ICONPATH +
> "ftv2vertline.gif>" + auxEv + "<img name='nodeIcon" +
> this.id + "' id='nodeIcon" + this.id + "' src='" +
> nodeName + "' width=16 height=22 border=0></a></td>"
> ...
> 
> But I'm not sure that problem case is with Javascript
> handler in cocoon, because I get like exception on
> generating some xsp too.
> 
> Can some one explain me on what case throws that
> exception?
>   java.net.SocketException: Connection reset by peer:
> socket write error
> 
> any ideas, tips, advice,
> Thanks a lot,
> Hill
> 
> cocoon 2.1m2, tomcat 4.1, Java1.4


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