From: "BJ Freeman" <[email protected]>
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
Linkedin
<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" <[email protected]>
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
Linkedin
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>








Reply via email to