tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parayali, Jayesh 1065" <Jayesh.Paray...@acefis.com>
Subject RE: Tomcat + Jboss - porting Pet Store
Date Fri, 08 Dec 2000 23:00:43 GMT
I checked the code... it says ignore this message.
Check out PoolTcpEndPoint.java

> -----Original Message-----
> From:	Madhu Narasa [SMTP:madhu_development@yahoo.com]
> Sent:	Friday, December 08, 2000 2:20 PM
> To:	tomcat-user@jakarta.apache.org
> Subject:	Tomcat + Jboss - porting Pet Store
> 
> I am running Tomcat 3.2 with Jboss and trying to port
> the PetStore example (J2EE Sun RI, example).
> 
> I am almost done except that I see a lot of
> "Connection reset errors" after every page request.
> After searching through the archives, I see others
> have had the same problems in different contexts but
> there seems to be no solution to the problem.
> 
> The dev lists suggest the following (that is being
> considered for 3.3 dev)
> http://w4.metronet.com/~wjm/tomcat/2000/Jul/msg00910.html
> 
> Commenting out the following lines -
> sout.write( buffer, 0, bufferCount );
> sout.flush();
> 
> in the method endHeaders() of HttpResponseAdapter.java
> 
> The above fix did eliminate errors of the type -
> 2000-12-08 11:39:27 - Ctx( /estore ): IOException in:
> R( /estore + /template.js + null) Connection reset by
> peer: socket write error
> 
> but the stack trace reported below continued.
> 
> Any help is appreciated.
> 
> Thanks,
> Madhu
> 
> 
> ---------------- Complete Stack ------------------
> [Tomcat] java.net.SocketException: Connection reset by
> peer: socket write error
> [Tomcat]        at
> java.net.SocketOutputStream.socketWrite(Native Method)
> [Tomcat]        at
> java.net.SocketOutputStream.write(SocketOutputStream.java:83)
> [Tomcat]        at
> org.apache.tomcat.service.http.HttpResponseAdapter.doWrite(HttpResponseAda
> pter.java:164)
> [Tomcat]        at
> org.apache.tomcat.core.BufferedServletOutputStream.doWrite(BufferedServlet
> OutputStream.java:121)
> [Tomcat]        at
> org.apache.tomcat.core.BufferedServletOutputStream.reallyFlush(BufferedSer
> vletOutputStream.java:246)
> [Tomcat]        at
> org.apache.tomcat.core.ResponseImpl.flushBuffer(ResponseImpl.java:417)
> [Tomcat]        at
> org.apache.tomcat.facade.HttpServletResponseFacade.flushBuffer(HttpServlet
> ResponseFacade.java:295)
> [Tomcat]        at
> org.apache.jasper.runtime.JspWriterImpl.flus(JspWriterImpl.java:209)
> [Tomcat]        at
> _0002fbanner_0002ejspbanner_jsp_3._jspService(_0002fbanner_0002ejspbanner_
> jsp_3.java:306)
> [Tomcat]        at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
> [Tomcat]        at
> javax.servlet.http.HttpServlet.servic(HttpServlet.java:853)
> [Tomcat]        at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.
> java:177)
> [Tomcat]        at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
> [Tomcat]        at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:
> 391)
> [Tomcat]        at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> [Tomcat]        at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
> [Tomcat]        at
> org.apache.tomcat.core.Handler.service(Handler.java:286)
> [Tomcat]        at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> [Tomcat]        at
> org.apache.tomcat.facade.RequestDispatcherImpl.include(RequestDispatcherIm
> pl.java:345)
> [Tomcat]        at
> com.sun.estore.taglib.InsertTag.doEndTag(InsertTag.java:67)
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/

Mime
View raw message