The error occurs when a socket connection between a server and client is
broken. A browser, for instance, establishes a connection the the server and
it remains open until the server sends a response. If the browser for
whatever reason closes the connection before the server response is
complete, you will see this error.
Are you using IE? This is a know problem since IE closes the socket on
http/1.0 connections
when getting the headers. This is a "feature" (bug) that may save bandwidth
but causes the socket reset error messages.
If you use Tomcat 4.0 or Netscape, that should fix your problem. Tomcat 4.0
uses http/1.1 and Netscape's header processing implementation works as
required by the http spec.
Justy
----- Original Message -----
From: "Carlos Vicente" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 20, 2001 11:31 PM
Subject: Re: question on tomcat
> I have the same issue in tomcat 3.2.3
> it happens when i make the urls like
>
> <%
> String contextname=request.getContextPath();
> %>
> <img src="<%=contextname%>/img/shim.gif">
>
> I use this code for make my links, context independent.
> It works(and works in others Apps servers), but this error message worried
> me.
>
> Carlos.
>
> -----Mensaje original-----
> De: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]En nombre de Vikramjit Singh
> Enviado el: viernes, 21 de septiembre de 2001 7:53
> Para: [EMAIL PROTECTED]
> Asunto: question on tomcat
>
>
> hi all,
> i have a question. when i am doing work on tomcat 3.2.1 i everytime get to
> see a line like
>
> 2001-01-21 11:23:19 - Ctx( /TOPS ): IOException in: R( /TOPS +
> /TOPS_Login_J4.jsp + null) Connection reset by peer: socket write error
>
> i really cant figure it out the reason for this kind of error. i dont
think
> it is programmatic error since the functionality of my page does not get
> affected. But i want to know whats the cause of this error.
> If anyone could throw some light.
>
>
>
> Vikramjit singh,
> Global Tele-systems Ltd.
> Ph. 7612929-3140
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets