Broken Pipe and Connection Reset by Peer exceptions indicate that
the client web browser closed the connection before the server was ready for
it to happen.  At least with Tomcat 3.2 and 3.3 these errors are not a
problem - they do not cause tomcat to crash, give errors or slow performance
(other than causing an extra page generation that wasn't used).

        Why does the web browser close the connection prematurely?  One
reason is that the Internet connection is broken (modem hang up, ISP losing
its connection, etc).  Another, more common, reason, is that IE (at least
through version 5) doesn't correctly use the HEAD command. Instead of using
HEAD, the web browser requests the page, looks at the headers, and
determines if it already has the page in its cache.  If it does, it
prematurely closes the connection and produces the errors listed above.

        To the person getting error code 500, it sounds like either a
threading issue or a memory issue.  I would suggest using an optimizing tool
like OptimizeIt! to find out what is going on.

        Randy


> -----Original Message-----
> From: Muhammad Akhtar [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 11, 2001 6:07 AM
> To: Tomcat Users List
> Subject: RE: Why do i have to keep on restarting Tomcat?
> 
> 
> logs for tomcat show that it is a 'broken pipe', suggesting 
> code issues!
> 
> -----Original Message-----
> From: Guillaume Mathe [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 11, 2001 11:04 AM
> To: [EMAIL PROTECTED]
> Subject: Re:Why do i have to keep on restarting Tomcat?
> 
> 
> Hi,
> 
> I have got the same problem with servlets. It's a 'Connection reset by
> peer' -which means the client disconnected or browsed 
> elsewhere while the
> server
> was building the page.
> Currently i have no clue about why Tomcat dies on these 
> 'errors'. All i can
> say is i cannot catch them in Servlet code, so i think your 
> JSP programs are
> OK as well.
> 
> Regards,
> Guillaume Mathe
> Smartinnov
> 
> Original message from: "Muhammad Akhtar"
> >I am currently using Tomcat to serve my JSP's, i know 
> nothing of the way
> >JSPs work, my problem is everyday i am having to go onto 
> these live servers
> >and physically restart Tomcat because the website is 
> throwing back error
> >500s, once restarted however it is fine (for a while at 
> least), the coders
> >are saying the code is flawless.
> >
> >info: jsp forms, using an oracle database to store 
> information from these
> >forms.
> >
> >any ideas?? a general pointer in the right direction would 
> be a great help!
> >
> >thanks in advance.
> >
> >Muhammad
> >
> >-----Original Message-----
> >From: Duncan Smith [mailto:[EMAIL PROTECTED]]
> >Sent: Tuesday, December 11, 2001 10:15 AM
> >To: Tomcat Users List
> >Subject: Re: can't have multiple occurrences of language
> >
> >
> >Cheers. Fixed the prob.
> >
> >Anonymity can be to ones advantage by the way.
> >
> >Fred.
> >
> >Justin Rowles wrote:
> >
> >> > I've just moved a system of ours from Jrun to Tomcat. A 
> page which did
> >> > run on Jrun now come comes up with this error on Tomcat : 'Page
> >> > directive: can't have multiple occurrences of language'. 
> Can anybody
> >> > help?
> >>
> >> Duncan, also known as Andy,
> >>
> >> Have you checked that you don't have multiple occurrences 
> of the language
> >> directive?!  It looks like this:
> >>
> >>    <%@ page language="java"
> >>
> >> Cheers, apols for the sarcasm, I'm in a funny mood.  Well, 
> I think so ;-)
> >>
> >> J.
> >> --
> >> You're only jealous cos the little penguins are talking to me.
> >>
> >> ***************************************************************
> >> For more information on Ordnance Survey products and services,
> >> visit our web site at http://www.ordnancesurvey.co.uk
> >> ***************************************************************
> >>
> >> --
> >> To unsubscribe:   
> <mailto:[EMAIL PROTECTED]>
> >> For additional commands: 
> <mailto:[EMAIL PROTECTED]>
> >> Troubles with the list: 
> <mailto:[EMAIL PROTECTED]>
> >
> >
> >--
> >To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> >For additional commands: <mailto:[EMAIL PROTECTED]>
> >Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >=============================================================
> ==============
> =
> >===
> >
> >Traffic Proximity Limited
> >191 Old Marylebone Road
> >London
> >NW1 5DW
> >United Kingdom
> >Registered number: 3164767
> >Registered in England
> >
> >Tel: +44 (0) 20 7298 8200
> >Fax: +44 (0) 20 7298 8201
> >
> >
> >This email its contents and any files or images with it are 
> intended solely
> >for the addressee(s) and are confidential. If you have 
> received this email
> >in error you may not copy or use the contents, attachments 
> or information
> in
> >any way. Please destroy it and contact the sender on the 
> number printed
> >above, via the Traffic Proximity switchboard or via email return.
> >
> >DISCLAIMER
> >Material contained in this email may be copyright material of
> >Traffic Proximity or protected by other intellectual 
> property rights. It
> >may only be reproduced with the express permission of 
> Traffic Proximity.
> >Traffic Proxmity does not accept responsibility for any 
> changes made to
> >this email by unauthorised parties after it was sent. Whilst Traffic
> >Proximity runs antivirus software on all Internet emails it is not
> >liable for any loss or damage caused by an infected email. 
> The recipient
> >is advised to run their own antivirus software. All 
> information contained
> >in this email has been prepared using information believed 
> by the author
> >to be reliable and accurate, but Traffic Proximity makes no 
> warranty as
> >to accuracy and completeness. Any opinions expressed in this 
> email are
> >those of the author and do not necessarily reflect the 
> opinions of Traffic
> >Proximity or its affiliates.
> >
> >=============================================================
> ==============
> =
> >===
> >
> >
> >=============================================================
> ==============
> ====
> >
> >Traffic Proximity Limited
> >191 Old Marylebone Road
> >London
> >NW1 5DW
> >United Kingdom
> >Registered number: 3164767
> >Registered in England
> >
> >Tel: +44 (0) 20 7298 8200
> >Fax: +44 (0) 20 7298 8201
> >
> >
> >This email its contents and any files or images with it are 
> intended solely
> >for the addressee(s) and are confidential. If you have 
> received this email
> >in error you may not copy or use the contents, attachments 
> or information
> in
> >any way. Please destroy it and contact the sender on the 
> number printed
> >above, via the Traffic Proximity switchboard or via email return.
> >
> >DISCLAIMER
> >Material contained in this email may be copyright material of
> >Traffic Proximity or protected by other intellectual 
> property rights. It
> >may only be reproduced with the express permission of 
> Traffic Proximity.
> >Traffic Proxmity does not accept responsibility for any 
> changes made to
> >this email by unauthorised parties after it was sent. Whilst Traffic
> >Proximity runs antivirus software on all Internet emails it is not
> >liable for any loss or damage caused by an infected email. 
> The recipient
> >is advised to run their own antivirus software. All 
> information contained
> >in this email has been prepared using information believed 
> by the author
> >to be reliable and accurate, but Traffic Proximity makes no 
> warranty as
> >to accuracy and completeness. Any opinions expressed in this 
> email are
> >those of the author and do not necessarily reflect the 
> opinions of Traffic
> >Proximity or its affiliates.
> >
> >=============================================================
> ==============
> ====
> >
> >
> >--
> >To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> >For additional commands: <mailto:[EMAIL PROTECTED]>
> >Troubles with the list: <mailto:[EMAIL PROTECTED]>
> >
> >
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 
> ==============================================================
> ==============
> ===
> 
> Traffic Proximity Limited
> 191 Old Marylebone Road
> London
> NW1 5DW
> United Kingdom
> Registered number: 3164767
> Registered in England
> 
> Tel:  +44 (0) 20 7298 8200
> Fax:  +44 (0) 20 7298 8201
> 
> 
> This email its contents and any files or images with it are 
> intended solely
> for the addressee(s) and are confidential. If you have 
> received this email
> in error you may not copy or use the contents, attachments or 
> information in
> any way. Please destroy it and contact the sender on the 
> number printed
> above, via the Traffic Proximity switchboard or via email return.
> 
> DISCLAIMER
> Material contained in this email may be copyright material of
> Traffic Proximity or protected by other intellectual property 
> rights. It
> may only be reproduced with the express permission of Traffic 
> Proximity.
> Traffic Proxmity does not accept responsibility for any 
> changes made to
> this email by unauthorised parties after it was sent. Whilst Traffic
> Proximity runs antivirus software on all Internet emails it is not
> liable for any loss or damage caused by an infected email. 
> The recipient
> is advised to run their own antivirus software. All 
> information contained
> in this email has been prepared using information believed by 
> the author
> to be reliable and accurate, but Traffic Proximity makes no 
> warranty as
> to accuracy and completeness. Any opinions expressed in this email are
> those of the author and do not necessarily reflect the 
> opinions of Traffic
> Proximity or its affiliates.
> 
> ==============================================================
> ==============
> ===
> 
> 
> ==============================================================
> =================
> 
> Traffic Proximity Limited
> 191 Old Marylebone Road
> London
> NW1 5DW
> United Kingdom
> Registered number: 3164767
> Registered in England
> 
> Tel:  +44 (0) 20 7298 8200
> Fax:  +44 (0) 20 7298 8201
> 
> 
> This email its contents and any files or images with it are 
> intended solely
> for the addressee(s) and are confidential. If you have 
> received this email
> in error you may not copy or use the contents, attachments or 
> information in
> any way. Please destroy it and contact the sender on the 
> number printed
> above, via the Traffic Proximity switchboard or via email return.
> 
> DISCLAIMER
> Material contained in this email may be copyright material of 
> Traffic Proximity or protected by other intellectual property 
> rights. It
> may only be reproduced with the express permission of Traffic 
> Proximity. 
> Traffic Proxmity does not accept responsibility for any 
> changes made to
> this email by unauthorised parties after it was sent. Whilst Traffic
> Proximity runs antivirus software on all Internet emails it is not
> liable for any loss or damage caused by an infected email. 
> The recipient
> is advised to run their own antivirus software. All 
> information contained
> in this email has been prepared using information believed by 
> the author
> to be reliable and accurate, but Traffic Proximity makes no 
> warranty as
> to accuracy and completeness. Any opinions expressed in this email are
> those of the author and do not necessarily reflect the 
> opinions of Traffic
> Proximity or its affiliates.
> 
> ==============================================================
> =================
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to