Return-Path: Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 69466 invoked by uid 500); 30 Jul 2003 07:45:21 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 69442 invoked from network); 30 Jul 2003 07:45:21 -0000 Received: from mail.melbourneit.com.au (HELO melbourneit.com.au) (203.31.199.194) by daedalus.apache.org with SMTP; 30 Jul 2003 07:45:21 -0000 Received: from phoenix.mit (localhost.mit [127.0.0.1]) by melbourneit.com.au (8.11.6/8.9.3) with ESMTP id h6U7jFh05326 for ; Wed, 30 Jul 2003 17:45:15 +1000 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Error in Sendmail logicsheet regarding cocoon:// attachments Date: Wed, 30 Jul 2003 17:45:14 +1000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Error in Sendmail logicsheet regarding cocoon:// attachments Thread-Index: AcNNQ7uJgbKp5Tj/SXecuzzpIsP6lwAAcqX0AAUrsjAB/riDiQA1TgwfAA8ZKEAAAeyIIA== From: "Jonothan Stribling" To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I heartily second Alfred's request about someone turning this into a warning. Anyone? Jonothan > -----Original Message----- > From: Nathaniel Alfred [mailto:Alfred.Nathaniel@swx.com]=20 > Sent: Wednesday, July 30, 2003 4:54 PM > To: users@cocoon.apache.org > Subject: RE: Error in Sendmail logicsheet regarding cocoon://=20 > attachments >=20 >=20 > Don't think that has anything to do with your sendmail thing.=20 > The stacktrace just says that Cocoon couldn't flush the send=20 > buffer at the end of the request. That happens if the=20 > browser or an upstream proxy closes the connection prematurely. >=20 > It's a long-standing nuisance that this common condition=20 > produces such a scaring error message. Anyone there to turn=20 > it into a warning with a simple message without stacktrace? >=20 > HTH, ALfred. >=20 > > -----Original Message----- > > From: Luke Penca [mailto:lpenca@deltasi.com] > > Sent: Mittwoch, 30. Juli 2003 01:44 > > To: users@cocoon.apache.org > > Subject: Error in Sendmail logicsheet regarding cocoon://=20 > attachments > >=20 > >=20 > > Sorry for the verbosity! > >=20 > > The 411: > >=20 > > I have a form that has 192 fields on it. (I know, I know, I > > know.) I loop through them, writing out a tab-separated file=20 > > with the FileWriter object. > >=20 > > I then include that file as an attachment, a la: > >=20 > > > mime-type=3D"text/plain" name=3D"rfa.txt"/>=20 > >=20 > > The funny thing is that the email is successfully sent with > > the attachment. And the logicsheet goes into its success=20 > > routine when apparently the output truncates after a few bites. > >=20 > > My environment is: Win2K server, Tomcat 4.1, Java 1.4.1 and > > Cocoon 2.1m3. > >=20 > >=20 > > Here's the stacktrace: > >=20 > > ERROR (2003-07-29) 18:32.43:144 [access] (Unknown-URI)=20 > > Unknown-thread/CocoonServlet: Cocoon got an Exception while > > trying to close stream. > > java.net.SocketException: Connection reset by peer: socket=20 > write error > > at java.net.SocketOutputStream.socketWrite0(Native Method) > > at=20 > > java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) > > at=20 > > java.net.SocketOutputStream.write(SocketOutputStream.java:136) > > at=20 > > org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutp > > utBuffer.doWrite(InternalOutputBuffer.java:668) > > at=20 > > org.apache.coyote.http11.filters.ChunkedOutputFilter.doWrite(C > > hunkedOutputFilter.java:166) > > at=20 > > org.apache.coyote.http11.InternalOutputBuffer.doWrite(Internal > > OutputBuffer.java:523) > > at org.apache.coyote.Response.doWrite(Response.java:524) > > at=20 > > org.apache.coyote.tomcat4.OutputBuffer.realWriteBytes(OutputBu > > ffer.java:384) > > at=20 > > org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:439) > > at=20 > > org.apache.coyote.tomcat4.OutputBuffer.flush(OutputBuffer.java:348) > > at=20 > > org.apache.coyote.tomcat4.CoyoteOutputStream.flush(CoyoteOutpu > > tStream.java:119) > > at=20 > > org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet. > > java:1161) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at=20 > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilt > > er(ApplicationFilterChain.java:247) > > at=20 > > org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli > > cationFilterChain.java:193) > > at=20 > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardW > > rapperValve.java:256) > > at=20 > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > > eContext.invokeNext(StandardPipeline.java:643) > > at=20 > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > > ine.java:480) > > at=20 > >=20 > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at=20 > > org.apache.catalina.core.StandardContextValve.invoke(StandardC > > ontextValve.java:191) > > at=20 > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > > eContext.invokeNext(StandardPipeline.java:643) > > at=20 > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv > > e.java:509) > > at=20 > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > > eContext.invokeNext(StandardPipeline.java:641) > > at=20 > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > > ine.java:480) > > at=20 > >=20 > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at=20 > > org.apache.catalina.core.StandardContext.invoke(StandardContex > > t.java:2415) > > at=20 > > org.apache.catalina.core.StandardHostValve.invoke(StandardHost > > Valve.java:180) > > at=20 > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > > eContext.invokeNext(StandardPipeline.java:643) > > at=20 > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi > > spatcherValve.java:171) > > at=20 > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > > eContext.invokeNext(StandardPipeline.java:641) > > at=20 > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport > > Valve.java:172) > > at=20 > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > > eContext.invokeNext(StandardPipeline.java:641) > > at=20 > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > > ine.java:480) > > at=20 > >=20 > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at=20 > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEn > > gineValve.java:174) > > at=20 > > org.apache.catalina.core.StandardPipeline$StandardPipelineValv > > eContext.invokeNext(StandardPipeline.java:643) > > at=20 > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipel > > ine.java:480) > > at=20 > >=20 > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > at=20 > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter. > > java:223) > > at=20 > > org.apache.coyote.http11.Http11Processor.process(Http11Process > > or.java:594) > > at=20 > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle > > r.processConnection(Http11Protocol.java:392) > > at=20 > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi > > nt.java:565) > > at=20 > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( > > ThreadPool.java:619) > > at java.lang.Thread.run(Thread.java:536) > > >=20 > This message is for the named person's use only. It may contain > confidential, proprietary or legally privileged information. No > confidentiality or privilege is waived or lost by any mistransmission. > If you receive this message in error, please notify the=20 > sender urgently > and then immediately delete the message and any copies of it from your > system. Please also immediately destroy any hardcopies of the message. > You must not, directly or indirectly, use, disclose,=20 > distribute, print, > or copy any part of this message if you are not the intended=20 > recipient. > The sender's company reserves the right to monitor all e-mail > communications through their networks. Any views expressed in this > message are those of the individual sender, except where the message > states otherwise and the sender is authorised to state them to be the > views of the sender's company.=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org