I'm not sure if this exactly applies to using JSPs but here is the Servlet
answer.

If the browser hits the stop button or makes a new request than the original
stream is closed, therefore the exception is thrown.

When you use a PrintWriter it hides the exception. But when you use an
OutputStream your expected to handle it.


> -----Original Message-----
> From: Marcel Schutte [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 25, 2001 12:14 PM
> To: Orion-Interest
> Subject: Re: Connection reset by peer: socket write error Can someone
> help
> 
> 
> This is not specific to orion. I've seen it with weblogic as 
> well. My theory
> is that the browser (I suspect that it is explorer only) 
> abruptly stops
> reading a http response. The webserver is then left with a 
> socket it can't
> write to any longer.
> 
> Marcel
> 
> ----- Original Message -----
> From: "Puthezhath, Rajeev (TWII Boston)" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Thursday, January 25, 2001 4:07 PM
> Subject: Connection reset by peer: socket write error Can someone help
> 
> 
> > Hi,
> >
> > We are developing a web application with orion as 
> application server and
> sql
> > server as the database.
> > When i do stress test some time at get the following 
> error.Can Some one
> say
> > why this is happening
> >
> >
> >  in Jsp Exception com.evermind.server.http.HttpIOException: 
> Connection
> reset
> > by peer: sock
> > et write error
> > com.evermind.server.http.HttpIOException: Connection reset 
> by peer: socket
> > write error
> >         at com.evermind.server.http.ez.write(JAX, Compiled Code)
> >         at 
> com.evermind.server.http.EvermindJSPWriter.r2(JAX, Compiled
> Code)
> >         at 
> com.evermind.server.http.EvermindJSPWriter.flush(JAX, Compiled
> > Code)
> >         at 
> com.evermind.server.http.EvermindJSPWriter.write(JAX, Compiled
> > Code)
> >         at
> >
> __jspPage24_news_default_sps._jspService(__jspPage24_news_defa
ult_sps.java,
> > Com
> > piled Code)
> >         at 
> com.orionserver.http.OrionHttpJspPage.service(JAX, Compiled
> Code)
> >         at com.evermind.server.http.HttpApplication.w5(JAX, 
> Compiled Code)
> >         at com.evermind.server.http.JSPServlet.service(JAX, 
> Compiled Code)
> >         at com.evermind.server.http.d1.si(JAX, Compiled Code)
> >         at com.evermind.server.http.d1.forward(JAX, Compiled Code)
> >         at com.evermind.server.http.ed.sp(JAX, Compiled Code)
> >         at com.evermind.server.http.ed.so(JAX, Compiled Code)
> >         at com.evermind.util.f.run(JAX, Compiled Code)
> >
> >
> > Can some one please help.
> >
> > Regards
> >
> > Rajeev
> >
> 
> 
> 

Reply via email to