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.


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]
Thread-17/CocoonServlet: Internal Cocoon Problem
java.net.SocketException: Connection reset by peer:
socket write error
        at java.net.SocketOutputStream.socketWrite0(Native


gif files for tree menu, that is some complex
javascript that build the tree menu:

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
  java.net.SocketException: Connection reset by peer:
socket write error

any ideas, tips, advice,
Thanks a lot,

cocoon 2.1m2, tomcat 4.1, Java1.4

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

Reply via email to