You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Peter Alfors <pe...@irista.com> on 2001/06/21 23:34:48 UTC

Re: Are socket write errors normal?

are you using tomcat as your webserver?
I think I recall someone explained this a while back.
It was something along the lines of:
    The tomcat webserver starts to load an image then realizes it has it in cache,
so stops in the middle and uses the cached copy, which throws a socket exception.
If you use another webserver, like apache, then these will go away. (?)
Check the archives.  The explanation should be in there somewhere.

HTH,
    Pete

Rick Horowitz wrote:

> Hi,
>
> I'm using Struts templates and everything seems like its working
> normally.  However, I get several of the following errors each time I
> display a web page.  Is this normal?
>
> 2001-06-21 02:23:12 - Ctx( /backup ): IOException in: R( /backup +
> /images/page-header.gif + null) Connection aborted by peer: socket write error
>
> 2001-06-21 02:23:17 - Ctx( /backup ): IOException in: R( /backup +
> /css/default.css + null) Connection aborted by peer: socket write error
>
> 2001-06-21 02:23:17 - Ctx( /backup ): IOException in: R( /backup +
> /images/page-header.gif + null) Connection aborted by peer: socket write error
>
> 2001-06-21 02:23:17 - Ctx( /backup ): 404 R( /backup + /jsp/template/white
> + null) null
>
> Thank you,
>
> --------------------
> Rick Horowitz


Re: Are socket write errors normal?

Posted by Rick Horowitz <ri...@yahoo.com>.
Hi Pete,

Yes, I'm using Tomcat. Actually, thinking about it now, I should have 
addressed this to the Tomcat list (or read the archives).  Here's a couple 
of msgs from the Tomcat archives explaining what is happening:

http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg24467.html
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg09530.html

Thanks,

Rick

At 04:34 PM 6/21/01 -0500, you wrote:
>are you using tomcat as your webserver?
>I think I recall someone explained this a while back.
>It was something along the lines of:
>     The tomcat webserver starts to load an image then realizes it has it 
> in cache,
>so stops in the middle and uses the cached copy, which throws a socket 
>exception.
>If you use another webserver, like apache, then these will go away. (?)
>Check the archives.  The explanation should be in there somewhere.
>
>HTH,
>     Pete
>
>Rick Horowitz wrote:
>
> > Hi,
> >
> > I'm using Struts templates and everything seems like its working
> > normally.  However, I get several of the following errors each time I
> > display a web page.  Is this normal?
> >
> > 2001-06-21 02:23:12 - Ctx( /backup ): IOException in: R( /backup +
> > /images/page-header.gif + null) Connection aborted by peer: socket 
> write error
> >
> > 2001-06-21 02:23:17 - Ctx( /backup ): IOException in: R( /backup +
> > /css/default.css + null) Connection aborted by peer: socket write error
> >
> > 2001-06-21 02:23:17 - Ctx( /backup ): IOException in: R( /backup +
> > /images/page-header.gif + null) Connection aborted by peer: socket 
> write error
> >
> > 2001-06-21 02:23:17 - Ctx( /backup ): 404 R( /backup + /jsp/template/white
> > + null) null
> >
> > Thank you,
> >
> > --------------------
> > Rick Horowitz

--------------------
Rick Horowitz