ClientAbortException: java.net.SocketException: Broken pipe
from what I can garner from the different posts is that the AjP ofbiz uses is timming out. if someone is an expert at ajp they can work on it. otherwise It is on the list of things todo. 2010-04-25 13:22:47,993 (TP-Processor9) [ RequestHandler.java:742:INFO ] Rendering View [main], sessionId=1CAD40C5BEB199CD0DFA8720AC944E77.jvm1 2010-04-25 13:22:48,075 (TP-Processor12) [ ControlServlet.java:230:ERROR] ---- exception report ---------------------------------------------------------- Error in request handler: Exception: org.apache.catalina.connector.ClientAbortException Message: null ---- cause --------------------------------------------------------------------- Exception: java.net.SocketException Message: Broken pipe ---- stack trace --------------------------------------------------------------- java.net.SocketException: Broken pipe java.net.SocketOutputStream.socketWrite0(Native Method) java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) java.net.SocketOutputStream.write(SocketOutputStream.java:153) org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531) org.apache.jk.common.JkInputStream.doWrite(JkInputStream.java:156) org.apache.coyote.Response.doWrite(Response.java:560) org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353) org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434) org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309) org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288) org.apache.catalina.connector.Response.flushBuffer(Response.java:548) org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:279) org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:849) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) java.lang.Thread.run(Thread.java:636) -------------------------------------------------------------------------------- 2010-04-25 13:22:48,076 (TP-Processor12) [ ControlServlet.java:246:ERROR] An error occurred, going to the errorPage: /error/error.jsp 2010-04-25 13:22:48,096 (TP-Processor12) [ ControlServlet.java:253:ERROR] Including errorPage: /error/error.jsp 2010-04-25 13:22:48,124 (TP-Processor12) [ ServerHitBin.java:627:INFO ] Visit delegatorName=default, ServerHitBin delegatorName=default 2010-04-25 13:22:48,129 (TP-Processor12) [ ControlServlet.java:327:INFO ] [[[main] Request Done- total:0.668,since last([main] Request Be...):0.668]] 2010-04-25 13:22:48,132 (TP-Processor12) [ MsgContext.java:306:WARN ] Error sending end packet java.net.SocketException: Broken pipe ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> |
Administrator
|
This is the kind of error we got with stable demo, any with trunk demo so far
Jacques From: "BJ Freeman" <[hidden email]> > ClientAbortException: java.net.SocketException: Broken pipe > from what I can garner from the different posts is that the AjP ofbiz > uses is timming out. > if someone is an expert at ajp they can work on it. > otherwise It is on the list of things todo. > > 2010-04-25 13:22:47,993 (TP-Processor9) [ > RequestHandler.java:742:INFO ] Rendering View [main], > sessionId=1CAD40C5BEB199CD0DFA8720AC944E77.jvm1 > 2010-04-25 13:22:48,075 (TP-Processor12) [ > ControlServlet.java:230:ERROR] > ---- exception report > ---------------------------------------------------------- > Error in request handler: > Exception: org.apache.catalina.connector.ClientAbortException > Message: null > ---- cause > --------------------------------------------------------------------- > Exception: java.net.SocketException > Message: Broken pipe > ---- stack trace > --------------------------------------------------------------- > java.net.SocketException: Broken pipe > java.net.SocketOutputStream.socketWrite0(Native Method) > java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) > java.net.SocketOutputStream.write(SocketOutputStream.java:153) > org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531) > org.apache.jk.common.JkInputStream.doWrite(JkInputStream.java:156) > org.apache.coyote.Response.doWrite(Response.java:560) > org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353) > org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434) > org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309) > org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288) > org.apache.catalina.connector.Response.flushBuffer(Response.java:548) > org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:279) > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:849) > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) > javax.servlet.http.HttpServlet.service(HttpServlet.java:690) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) > org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) > org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) > org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) > org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) > java.lang.Thread.run(Thread.java:636) > -------------------------------------------------------------------------------- > > 2010-04-25 13:22:48,076 (TP-Processor12) [ > ControlServlet.java:246:ERROR] An error occurred, going to the > errorPage: /error/error.jsp > 2010-04-25 13:22:48,096 (TP-Processor12) [ > ControlServlet.java:253:ERROR] Including errorPage: /error/error.jsp > 2010-04-25 13:22:48,124 (TP-Processor12) [ > ServerHitBin.java:627:INFO ] Visit delegatorName=default, ServerHitBin > delegatorName=default > 2010-04-25 13:22:48,129 (TP-Processor12) [ > ControlServlet.java:327:INFO ] [[[main] Request Done- total:0.668,since > last([main] Request Be...):0.668]] > 2010-04-25 13:22:48,132 (TP-Processor12) [ > MsgContext.java:306:WARN ] Error sending end packet > java.net.SocketException: Broken pipe > > > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> > > |
In reply to this post by BJ Freeman
Yes this was with a recent nightly build.
I notice that apj is using ChannelSockets. I use then nio package in my games and they are not very tolerant like sockets are. when these broken pipes occur ofbiz has attempted to report an error, could not find the error page in ControlSeverlet.java and at the same time if "Seems" another thread is starting the "seems" to terminate the previous Channelsocket and causes the error. That is about as far as I have gotten last night. as a side note: I notice both of the Trunk demo on ofbiz-vm.apache.org were critical with socket time outs for a while, last night. The StableDeom were fine. Not sure if that was someone updating the servers. Looks like they just got rebooted. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> Jacques Le Roux sent the following on 4/26/2010 1:30 AM: > This is the kind of error we got with stable demo, any with trunk demo > so far > > Jacques > > From: "BJ Freeman" <[hidden email]> >> ClientAbortException: java.net.SocketException: Broken pipe >> from what I can garner from the different posts is that the AjP ofbiz >> uses is timming out. >> if someone is an expert at ajp they can work on it. >> otherwise It is on the list of things todo. >> >> 2010-04-25 13:22:47,993 (TP-Processor9) [ >> RequestHandler.java:742:INFO ] Rendering View [main], >> sessionId=1CAD40C5BEB199CD0DFA8720AC944E77.jvm1 >> 2010-04-25 13:22:48,075 (TP-Processor12) [ >> ControlServlet.java:230:ERROR] >> ---- exception report >> ---------------------------------------------------------- >> Error in request handler: >> Exception: org.apache.catalina.connector.ClientAbortException >> Message: null >> ---- cause >> --------------------------------------------------------------------- >> Exception: java.net.SocketException >> Message: Broken pipe >> ---- stack trace >> --------------------------------------------------------------- >> java.net.SocketException: Broken pipe >> java.net.SocketOutputStream.socketWrite0(Native Method) >> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) >> java.net.SocketOutputStream.write(SocketOutputStream.java:153) >> org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531) >> org.apache.jk.common.JkInputStream.doWrite(JkInputStream.java:156) >> org.apache.coyote.Response.doWrite(Response.java:560) >> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353) >> >> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434) >> org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309) >> org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288) >> org.apache.catalina.connector.Response.flushBuffer(Response.java:548) >> org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:279) >> >> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:849) >> >> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) >> >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >> >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >> >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >> >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) >> >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) >> >> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> >> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >> >> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) >> >> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) >> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) >> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) >> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) >> >> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) >> >> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) >> >> java.lang.Thread.run(Thread.java:636) >> -------------------------------------------------------------------------------- >> >> >> 2010-04-25 13:22:48,076 (TP-Processor12) [ >> ControlServlet.java:246:ERROR] An error occurred, going to the >> errorPage: /error/error.jsp >> 2010-04-25 13:22:48,096 (TP-Processor12) [ >> ControlServlet.java:253:ERROR] Including errorPage: /error/error.jsp >> 2010-04-25 13:22:48,124 (TP-Processor12) [ >> ServerHitBin.java:627:INFO ] Visit delegatorName=default, ServerHitBin >> delegatorName=default >> 2010-04-25 13:22:48,129 (TP-Processor12) [ >> ControlServlet.java:327:INFO ] [[[main] Request Done- total:0.668,since >> last([main] Request Be...):0.668]] >> 2010-04-25 13:22:48,132 (TP-Processor12) [ >> MsgContext.java:306:WARN ] Error sending end packet >> java.net.SocketException: Broken pipe >> >> >> >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation >> <http://www.businessesnetwork.com/automation/viewforum.php?f=93> >> Specialtymarket.com <http://www.specialtymarket.com/> >> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >> >> >> > > |
Administrator
|
From: "BJ Freeman" <[hidden email]>
> Yes this was with a recent nightly build. > I notice that apj is using ChannelSockets. I use then nio package in my > games and they are not very tolerant like sockets are. > when these broken pipes occur ofbiz has attempted to report an error, > could not find the error page in ControlSeverlet.java and at the same > time if "Seems" another thread is starting the "seems" to terminate the > previous Channelsocket and causes the error. > That is about as far as I have gotten last night. > > as a side note: > I notice both of the Trunk demo on ofbiz-vm.apache.org were critical > with socket time outs for a while, last night. The StableDeom were fine. > Not sure if that was someone updating the servers. Looks like they just > got rebooted. Except if someone took care of that, I don't think they got rebooted. Sometimes it happens and I have no ideas why. But I'm quite sure it's out of OFBiz. I only care now when I see 3 consecutive critical alerts from Nagios, 2 is not enough ;o) Anyway thanks for the info BTW I will update and reboot trunk soon, because of the layered lookups, more tests the better... Jacques > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> > > > Jacques Le Roux sent the following on 4/26/2010 1:30 AM: >> This is the kind of error we got with stable demo, any with trunk demo >> so far >> >> Jacques >> >> From: "BJ Freeman" <[hidden email]> >>> ClientAbortException: java.net.SocketException: Broken pipe >>> from what I can garner from the different posts is that the AjP ofbiz >>> uses is timming out. >>> if someone is an expert at ajp they can work on it. >>> otherwise It is on the list of things todo. >>> >>> 2010-04-25 13:22:47,993 (TP-Processor9) [ >>> RequestHandler.java:742:INFO ] Rendering View [main], >>> sessionId=1CAD40C5BEB199CD0DFA8720AC944E77.jvm1 >>> 2010-04-25 13:22:48,075 (TP-Processor12) [ >>> ControlServlet.java:230:ERROR] >>> ---- exception report >>> ---------------------------------------------------------- >>> Error in request handler: >>> Exception: org.apache.catalina.connector.ClientAbortException >>> Message: null >>> ---- cause >>> --------------------------------------------------------------------- >>> Exception: java.net.SocketException >>> Message: Broken pipe >>> ---- stack trace >>> --------------------------------------------------------------- >>> java.net.SocketException: Broken pipe >>> java.net.SocketOutputStream.socketWrite0(Native Method) >>> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) >>> java.net.SocketOutputStream.write(SocketOutputStream.java:153) >>> org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531) >>> org.apache.jk.common.JkInputStream.doWrite(JkInputStream.java:156) >>> org.apache.coyote.Response.doWrite(Response.java:560) >>> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353) >>> >>> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434) >>> org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309) >>> org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288) >>> org.apache.catalina.connector.Response.flushBuffer(Response.java:548) >>> org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:279) >>> >>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:849) >>> >>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) >>> >>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >>> >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >>> >>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >>> >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >>> >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >>> >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) >>> >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) >>> >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >>> >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >>> >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) >>> >>> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) >>> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) >>> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) >>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) >>> >>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) >>> >>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) >>> >>> java.lang.Thread.run(Thread.java:636) >>> -------------------------------------------------------------------------------- >>> >>> >>> 2010-04-25 13:22:48,076 (TP-Processor12) [ >>> ControlServlet.java:246:ERROR] An error occurred, going to the >>> errorPage: /error/error.jsp >>> 2010-04-25 13:22:48,096 (TP-Processor12) [ >>> ControlServlet.java:253:ERROR] Including errorPage: /error/error.jsp >>> 2010-04-25 13:22:48,124 (TP-Processor12) [ >>> ServerHitBin.java:627:INFO ] Visit delegatorName=default, ServerHitBin >>> delegatorName=default >>> 2010-04-25 13:22:48,129 (TP-Processor12) [ >>> ControlServlet.java:327:INFO ] [[[main] Request Done- total:0.668,since >>> last([main] Request Be...):0.668]] >>> 2010-04-25 13:22:48,132 (TP-Processor12) [ >>> MsgContext.java:306:WARN ] Error sending end packet >>> java.net.SocketException: Broken pipe >>> >>> >>> >>> ========================= >>> BJ Freeman >>> http://bjfreeman.elance.com >>> Strategic Power Office with Supplier Automation >>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93> >>> Specialtymarket.com <http://www.specialtymarket.com/> >>> >>> Systems Integrator-- Glad to Assist >>> >>> Chat Y! messenger: bjfr33man >>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>> >>> >>> >> >> > > |
> BTW I will update and reboot trunk soon, because of the layered lookups, more tests the better...
I have started writing some scripts to take care of this automatically, hopefully I'll finish it up this weekend. I suck at shell scripting so it takes a little while :-) Regards Scott smime.p7s (3K) Download Attachment |
Administrator
|
Cool, thanks Scott (I suck too ;o)
Jacques Scott Gray wrote: >> BTW I will update and reboot trunk soon, because of the layered lookups, more tests the better... > > I have started writing some scripts to take care of this automatically, hopefully I'll finish it up this weekend. I suck at > shell scripting so it takes a little while :-) > > Regards > Scott |
In reply to this post by BJ Freeman
Looks like it is in the
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) This is repeatable. This is with the new Tomcat .26 in localhost mode. here is the actual error 2010-04-26 14:41:44,750 (http-0.0.0.0-8443-5) [ ServiceDispatcher.java:599:INFO ] Sync service [webtools/getVisualThemeResources] finished in [94] milliseconds 2010-04-26 14:41:44,828 (http-0.0.0.0-8443-2) [ ServiceDispatcher.java:599:INFO ] Sync service [webtools/getVisualThemeResources] finished in [438] milliseconds 2010-04-26 14:41:46,406 (http-0.0.0.0-8443-5) [ ServerHitBin.java:627:INFO ] Visit delegatorName=default, ServerHitBin delegatorName=default 2010-04-26 14:41:46,531 (http-0.0.0.0-8443-5) [ ControlServlet.java:327:INFO ] [[[UpdateGeneric] Request Done- total:4.156,since last([UpdateGeneric] R...):4.156]] 2010-04-26 14:41:47,234 (http-0.0.0.0-8443-2) [ ControlServlet.java:230:ERROR] ---- exception report ---------------------------------------------------------- Error in request handler: Exception: org.apache.catalina.connector.ClientAbortException Message: null ---- cause --------------------------------------------------------------------- Exception: javax.net.ssl.SSLException Message: Connection has been shutdown: javax.net.ssl.SSLException: java.net.SocketException: Software caused connection abort: socket write error ---- cause --------------------------------------------------------------------- Exception: javax.net.ssl.SSLException Message: java.net.SocketException: Software caused connection abort: socket write error ---- cause --------------------------------------------------------------------- Exception: java.net.SocketException Message: Software caused connection abort: socket write error ---- stack trace --------------------------------------------------------------- java.net.SocketException: Software caused connection abort: socket write error java.net.SocketOutputStream.socketWrite0(Native Method) java.net.SocketOutputStream.socketWrite(Unknown Source) java.net.SocketOutputStream.write(Unknown Source) com.sun.net.ssl.internal.ssl.OutputRecord.writeBuffer(Unknown Source) com.sun.net.ssl.internal.ssl.OutputRecord.write(Unknown Source) com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecordInternal(Unknown Source) com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(Unknown Source) com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source) org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:741) org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434) org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:299) org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:976) org.apache.coyote.Response.action(Response.java:183) org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:314) org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288) org.apache.catalina.connector.CoyoteWriter.flush(CoyoteWriter.java:95) freemarker.core.Environment.process(Environment.java:191) org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:211) org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:205) org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:250) org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:110) org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:999) org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226) org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394) org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670) org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226) org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394) org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:670) org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:135) org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:226) org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:394) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:135) org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:97) org.ofbiz.widget.screen.MacroScreenViewHandler.render(MacroScreenViewHandler.java:104) org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:839) org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) java.lang.Thread.run(Unknown Source) -------------------------------------------------------------------------------- 2010-04-26 14:41:47,234 (http-0.0.0.0-8443-2) [ ControlServlet.java:246:ERROR] An error occurred, going to the errorPage: /error/error.jsp 2010-04-26 14:41:47,281 (http-0.0.0.0-8443-2) [ ControlServlet.java:253:ERROR] Including errorPage: /error/error.jsp 201 ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=93> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> Jacques Le Roux sent the following on 4/26/2010 3:15 AM: > From: "BJ Freeman" <[hidden email]> >> Yes this was with a recent nightly build. >> I notice that apj is using ChannelSockets. I use then nio package in my >> games and they are not very tolerant like sockets are. >> when these broken pipes occur ofbiz has attempted to report an error, >> could not find the error page in ControlSeverlet.java and at the same >> time if "Seems" another thread is starting the "seems" to terminate the >> previous Channelsocket and causes the error. >> That is about as far as I have gotten last night. >> >> as a side note: >> I notice both of the Trunk demo on ofbiz-vm.apache.org were critical >> with socket time outs for a while, last night. The StableDeom were fine. >> Not sure if that was someone updating the servers. Looks like they just >> got rebooted. > > Except if someone took care of that, I don't think they got rebooted. > Sometimes it happens and I have no ideas why. But I'm quite sure it's > out of OFBiz. > I only care now when I see 3 consecutive critical alerts from Nagios, 2 > is not enough ;o) > Anyway thanks for the info > > BTW I will update and reboot trunk soon, because of the layered lookups, > more tests the better... > > Jacques > >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation >> <http://www.businessesnetwork.com/automation/viewforum.php?f=93> >> Specialtymarket.com <http://www.specialtymarket.com/> >> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >> >> >> >> Jacques Le Roux sent the following on 4/26/2010 1:30 AM: >>> This is the kind of error we got with stable demo, any with trunk demo >>> so far >>> >>> Jacques >>> >>> From: "BJ Freeman" <[hidden email]> >>>> ClientAbortException: java.net.SocketException: Broken pipe >>>> from what I can garner from the different posts is that the AjP ofbiz >>>> uses is timming out. >>>> if someone is an expert at ajp they can work on it. >>>> otherwise It is on the list of things todo. >>>> >>>> 2010-04-25 13:22:47,993 (TP-Processor9) [ >>>> RequestHandler.java:742:INFO ] Rendering View [main], >>>> sessionId=1CAD40C5BEB199CD0DFA8720AC944E77.jvm1 >>>> 2010-04-25 13:22:48,075 (TP-Processor12) [ >>>> ControlServlet.java:230:ERROR] >>>> ---- exception report >>>> ---------------------------------------------------------- >>>> Error in request handler: >>>> Exception: org.apache.catalina.connector.ClientAbortException >>>> Message: null >>>> ---- cause >>>> --------------------------------------------------------------------- >>>> Exception: java.net.SocketException >>>> Message: Broken pipe >>>> ---- stack trace >>>> --------------------------------------------------------------- >>>> java.net.SocketException: Broken pipe >>>> java.net.SocketOutputStream.socketWrite0(Native Method) >>>> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) >>>> java.net.SocketOutputStream.write(SocketOutputStream.java:153) >>>> org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531) >>>> org.apache.jk.common.JkInputStream.doWrite(JkInputStream.java:156) >>>> org.apache.coyote.Response.doWrite(Response.java:560) >>>> org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:353) >>>> >>>> >>>> org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:434) >>>> org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:309) >>>> >>>> org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:288) >>>> org.apache.catalina.connector.Response.flushBuffer(Response.java:548) >>>> org.apache.catalina.connector.ResponseFacade.flushBuffer(ResponseFacade.java:279) >>>> >>>> >>>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:849) >>>> >>>> >>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:559) >>>> >>>> >>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:227) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:690) >>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:803) >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >>>> >>>> >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >>>> >>>> >>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:267) >>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) >>>> >>>> >>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >>>> >>>> >>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) >>>> >>>> >>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) >>>> >>>> >>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) >>>> >>>> >>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >>>> >>>> >>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >>>> >>>> >>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) >>>> >>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) >>>> >>>> >>>> org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) >>>> org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) >>>> org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) >>>> org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) >>>> >>>> >>>> org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) >>>> >>>> >>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) >>>> >>>> >>>> java.lang.Thread.run(Thread.java:636) >>>> -------------------------------------------------------------------------------- >>>> >>>> >>>> >>>> 2010-04-25 13:22:48,076 (TP-Processor12) [ >>>> ControlServlet.java:246:ERROR] An error occurred, going to the >>>> errorPage: /error/error.jsp >>>> 2010-04-25 13:22:48,096 (TP-Processor12) [ >>>> ControlServlet.java:253:ERROR] Including errorPage: /error/error.jsp >>>> 2010-04-25 13:22:48,124 (TP-Processor12) [ >>>> ServerHitBin.java:627:INFO ] Visit delegatorName=default, ServerHitBin >>>> delegatorName=default >>>> 2010-04-25 13:22:48,129 (TP-Processor12) [ >>>> ControlServlet.java:327:INFO ] [[[main] Request Done- total:0.668,since >>>> last([main] Request Be...):0.668]] >>>> 2010-04-25 13:22:48,132 (TP-Processor12) [ >>>> MsgContext.java:306:WARN ] Error sending end packet >>>> java.net.SocketException: Broken pipe >>>> >>>> >>>> >>>> ========================= >>>> BJ Freeman >>>> http://bjfreeman.elance.com >>>> Strategic Power Office with Supplier Automation >>>> <http://www.businessesnetwork.com/automation/viewforum.php?f=93> >>>> Specialtymarket.com <http://www.specialtymarket.com/> >>>> >>>> Systems Integrator-- Glad to Assist >>>> >>>> Chat Y! messenger: bjfr33man >>>> <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> >>>> >>>> >>>> >>>> >>> >>> >> >> > > |
In reply to this post by Scott Gray-2
Hi Scott,
Is it fixed? Please share commit revision number. I am getting same issue on old version where I need to merge script. -- Thanks and Regards Sumit Pandit On Mon, Apr 26, 2010 at 4:29 PM, Scott Gray <[hidden email]>wrote: > > BTW I will update and reboot trunk soon, because of the layered lookups, > more tests the better... > > I have started writing some scripts to take care of this automatically, > hopefully I'll finish it up this weekend. I suck at shell scripting so it > takes a little while :-) > > Regards > Scott
Thanks And Regards
Sumit Pandit |
Hi Sumit,
The context included below doesn't really give me enough information to know what fix you are asking about. Regards Scott HotWax Media http://www.hotwaxmedia.com On 7/12/2011, at 12:08 AM, Sumit Pandit wrote: > Hi Scott, > > Is it fixed? Please share commit revision number. I am getting same issue > on old version where I need to merge script. > > -- > Thanks and Regards > Sumit Pandit > > > On Mon, Apr 26, 2010 at 4:29 PM, Scott Gray <[hidden email]>wrote: > >>> BTW I will update and reboot trunk soon, because of the layered lookups, >> more tests the better... >> >> I have started writing some scripts to take care of this automatically, >> hopefully I'll finish it up this weekend. I suck at shell scripting so it >> takes a little while :-) >> >> Regards >> Scott |
Thanks Scott for your reply :)
I was asking, with reference of your comment in same thread that is - *"I have started writing some scripts to take care of this automatically, hopefully I'll finish it up this weekend. I suck at shell scripting so it takes a little while :-)" * I am using older version of ofbiz for development and getting same issue of "Brken pipe". So I thought your script might help me in fixing that. On Wed, Dec 7, 2011 at 11:35 PM, Scott Gray <[hidden email]>wrote: > Hi Sumit, > > The context included below doesn't really give me enough information to > know what fix you are asking about. > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 7/12/2011, at 12:08 AM, Sumit Pandit wrote: > > > Hi Scott, > > > > Is it fixed? Please share commit revision number. I am getting same issue > > on old version where I need to merge script. > > > > -- > > Thanks and Regards > > Sumit Pandit > > > > > > On Mon, Apr 26, 2010 at 4:29 PM, Scott Gray <[hidden email] > >wrote: > > > >>> BTW I will update and reboot trunk soon, because of the layered > lookups, > >> more tests the better... > >> > >> I have started writing some scripts to take care of this automatically, > >> hopefully I'll finish it up this weekend. I suck at shell scripting so > it > >> takes a little while :-) > >> > >> Regards > >> Scott > > -- Thanks and Regards Sumit Pandit
Thanks And Regards
Sumit Pandit |
I was talking about scripts for deploying the demo instances, nothing to do with broken pipes. If you read more of that thread or others discussing broken pipes you'll probably see I don't think it actually is an issue, just a common exception that occurs when a browser stops waiting for the server to send a response.
Regards Scott On 7/12/2011, at 9:52 PM, Sumit Pandit wrote: > Thanks Scott for your reply :) > > I was asking, with reference of your comment in same thread that is - > *"I have started writing some scripts to take care of this automatically, > hopefully I'll finish it up this weekend. I suck at shell scripting so it > takes a little while :-)" > * > I am using older version of ofbiz for development and getting same issue of > "Brken pipe". So I thought your script might help me in fixing that. > > On Wed, Dec 7, 2011 at 11:35 PM, Scott Gray <[hidden email]>wrote: > >> Hi Sumit, >> >> The context included below doesn't really give me enough information to >> know what fix you are asking about. >> >> Regards >> Scott >> >> HotWax Media >> http://www.hotwaxmedia.com >> >> On 7/12/2011, at 12:08 AM, Sumit Pandit wrote: >> >>> Hi Scott, >>> >>> Is it fixed? Please share commit revision number. I am getting same issue >>> on old version where I need to merge script. >>> >>> -- >>> Thanks and Regards >>> Sumit Pandit >>> >>> >>> On Mon, Apr 26, 2010 at 4:29 PM, Scott Gray <[hidden email] >>> wrote: >>> >>>>> BTW I will update and reboot trunk soon, because of the layered >> lookups, >>>> more tests the better... >>>> >>>> I have started writing some scripts to take care of this automatically, >>>> hopefully I'll finish it up this weekend. I suck at shell scripting so >> it >>>> takes a little while :-) >>>> >>>> Regards >>>> Scott >> >> > > > -- > Thanks and Regards > Sumit Pandit |
Administrator
|
Yes I confirm, you can easily reproduce by quitting a (long, like some in webtools) pending request in browser
Jacques From: "Scott Gray" <[hidden email]> >I was talking about scripts for deploying the demo instances, nothing to do with broken pipes. If you read more of that thread or >others discussing broken pipes you'll probably see I don't think it actually is an issue, just a common exception that occurs when >a browser stops waiting for the server to send a response. > > Regards > Scott > > On 7/12/2011, at 9:52 PM, Sumit Pandit wrote: > >> Thanks Scott for your reply :) >> >> I was asking, with reference of your comment in same thread that is - >> *"I have started writing some scripts to take care of this automatically, >> hopefully I'll finish it up this weekend. I suck at shell scripting so it >> takes a little while :-)" >> * >> I am using older version of ofbiz for development and getting same issue of >> "Brken pipe". So I thought your script might help me in fixing that. >> >> On Wed, Dec 7, 2011 at 11:35 PM, Scott Gray <[hidden email]>wrote: >> >>> Hi Sumit, >>> >>> The context included below doesn't really give me enough information to >>> know what fix you are asking about. >>> >>> Regards >>> Scott >>> >>> HotWax Media >>> http://www.hotwaxmedia.com >>> >>> On 7/12/2011, at 12:08 AM, Sumit Pandit wrote: >>> >>>> Hi Scott, >>>> >>>> Is it fixed? Please share commit revision number. I am getting same issue >>>> on old version where I need to merge script. >>>> >>>> -- >>>> Thanks and Regards >>>> Sumit Pandit >>>> >>>> >>>> On Mon, Apr 26, 2010 at 4:29 PM, Scott Gray <[hidden email] >>>> wrote: >>>> >>>>>> BTW I will update and reboot trunk soon, because of the layered >>> lookups, >>>>> more tests the better... >>>>> >>>>> I have started writing some scripts to take care of this automatically, >>>>> hopefully I'll finish it up this weekend. I suck at shell scripting so >>> it >>>>> takes a little while :-) >>>>> >>>>> Regards >>>>> Scott >>> >>> >> >> >> -- >> Thanks and Regards >> Sumit Pandit > > |
Free forum by Nabble | Edit this page |