[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-cocoon-users
Subject:    Re: java.net.SocketException: Connection reset by peer: socket write
From:       Joerg Heinicke <joerg.heinicke () gmx ! de>
Date:       2003-06-27 19:41:18
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic