That's because there is no web app mounted at the root by default.  Tomcat 
needs a webapp in order to be able to do anything with a request.

On a standard deployment you would just mount your ecommerce app as root or 
otherwise set up a redirect.

This has nothing to do with broken pipes BTW.

Regards
Scott

On 29/04/2010, at 3:04 PM, BJ Freeman wrote:

> OOTB do a http://localhost:8080/
> this should generate a 404 error to the user.
> the page is blank.
> it does show the error in the access log.
> 
> 
> 
> =========================
> 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>
> 
> 
> Scott Gray sent the following on 4/28/2010 7:37 PM:
>> Like I said if the client closes the connection then it's impossible for us 
>> to send the error page.
>> 
>> If it's reproducible OOTB then please provide the steps so I can take a look.
>> 
>> Thanks
>> Scott
>> 
>> On 29/04/2010, at 2:32 PM, BJ Freeman wrote:
>> 
>>> I agree but if you run this in localhost the error that cause the broken
>>> pipes is from ofbiz.
>>> but at this point it is the fact the error.jsp does not show the error msg.
>>> a pointer where to look would be fine.
>>> 
>>> I am sure once that gets fix I can proceed on my own.
>>> 
>>> =========================
>>> 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>
>>> 
>>> 
>>> Scott Gray sent the following on 4/28/2010 7:20 PM:
>>>> Broken pipes are not an OFBiz problem, the client has closed the 
>>>> connection so an exception is thrown when we try to send the response.
>>>> 
>>>> Regards
>>>> Scott
>>>> 
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>> 
>>>> On 29/04/2010, at 2:12 PM, BJ Freeman wrote:
>>>> 
>>>>> this is on svn 930580
>>>>> 
>>>>> =========================
>>>>> 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>
>>>>> 
>>>>> 
>>>>> BJ Freeman sent the following on 4/28/2010 6:54 PM:
>>>>>> Ok next step the control finds the error.jsp
>>>>>> but i get no output from it.
>>>>>> 
>>>>>> the jsp code seems to be right
>>>>>> <% String errorMsg = (String) request.getAttribute("_ERROR_MESSAGE_"); %>
>>>>>> <%=UtilFormatOut.replaceString(errorMsg, "\n", "<br/>")%></font></div>
>>>>>> except for this
>>>>>> 2010-04-28 18:04:00,614 (TP-Processor3) [
>>>>>> ControlServlet.java:331:INFO ] [[[main] Request Done- total:11.529,since
>>>>>> last([main] Request Be...):11.529]]
>>>>>> 2010-04-28 18:04:00,616 (TP-Processor2) [
>>>>>> ControlServlet.java:331:INFO ] [[[main] Request Done- total:2.261,since
>>>>>> last([main] Request Be...):2.261]]
>>>>>> 2010-04-28 18:04:01,729 (TP-Processor6) [
>>>>>> ContextFilter.java:261:WARN ] [Filtered request]: /cgi-bin/axs/ax.cgi
>>>>>> (/control/main)
>>>>>> 2010-04-28 18:04:01,986 (TP-Processor7) [
>>>>>> ControlServlet.java:135:INFO ] Pathinfo=main
>>>>>> 2010-04-28 18:04:01,987 (TP-Processor7) [
>>>>>> ControlServlet.java:145:INFO ] [[[main] Request Begun, encoding=[UTF-8]-
>>>>>> total:0.0,since last(Begin):0.0]]
>>>>>> 2010-04-28 18:04:01,987 (TP-Processor7) [
>>>>>> ControlServlet.java:150:INFO ] contextPathinfo=
>>>>>> 2010-04-28 18:04:01,988 (TP-Processor7) [
>>>>>> RequestHandler.java:741:INFO ] Rendering View [main],
>>>>>> sessionId=66442A4BE67C9360A7071B6643C535F5.jvm1
>>>>>> 2010-04-28 18:04:02,294 (TP-Processor7) [
>>>>>> ProductStoreWorker.java:481:INFO ] getSurvey for product null
>>>>>> 2010-04-28 18:04:02,486 (TP-Processor7) [
>>>>>> ControlServlet.java:234:ERROR]
>>>>>> ---- exception report
>>>>>> ----------------------------------------------------------
>>>>>> Error in request handler: Error flushing response buffer (null)
>>>>>> Exception: org.apache.catalina.connector.ClientAbortException
>>>>>> Message: null
>>>>>> ---- cause
>>>>>> ---------------------------------------------------------------------
>>>>>> Exception: java.net.SocketException
>>>>>> Message: Broken pipe
>>>>>> 
>>>>>> some deleted
>>>>>> 2010-04-28 18:04:02,487 (TP-Processor7) [
>>>>>> ControlServlet.java:250:ERROR] An error occurred, going to the
>>>>>> errorPage: /error/error.jsp
>>>>>> 2010-04-28 18:04:02,487 (TP-Processor7) [
>>>>>> ControlServlet.java:257:ERROR] Including errorPage: /error/error.jsp
>>>>>> 2010-04-28 18:04:02,497 (TP-Processor7) [
>>>>>> ServerHitBin.java:627:INFO ] Visit delegatorName=default, ServerHitBin
>>>>>> delegatorName=default
>>>>>> 2010-04-28 18:04:02,509 (TP-Processor7) [
>>>>>> ControlServlet.java:331:INFO ] [[[main] Request Done- total:0.522,since
>>>>>> last([main] Request Be...):0.522]]
>>>>>> 2010-04-28 18:04:02,512 (TP-Processor7) [
>>>>>> MsgContext.java:306:WARN ] Error sending end packet
>>>>>> java.net.SocketException: Broken pipe
>>>>>>  at java.net.SocketOutputStream.socketWrite0(Native Method)
>>>>>>  at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
>>>>>>  at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
>>>>>>  at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:531)
>>>>>> 
>>>>>> some deleted
>>>>>> 
>>>>>> 
>>>>>> =========================
>>>>>> 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>
>>>>>> 
>>>>>> 
>>>>>> BJ Freeman sent the following on 4/26/2010 3:45 PM:
>>>>>>> thanks scott. gave me some insight.
>>>>>>> writing the controlservlet up so have it for future.
>>>>>>> 
>>>>>>> 
>>>>>>> =========================
>>>>>>> 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>
>>>>>>> 
>>>>>>> 
>>>>>>> Scott Gray sent the following on 4/26/2010 12:39 PM:
>>>>>>>> Try adding
>>>>>>>> :/error
>>>>>>>> to the allowedPaths parameter in web.xml
>>>>>>>> 
>>>>>>>> Regards
>>>>>>>> Scott
>>>>>>>> 
>>>>>>>> On 27/04/2010, at 4:41 AM, BJ Freeman wrote:
>>>>>>>> 
>>>>>>>>> the specialpurpose\ecommerce\webapp\ecommerce\error\error.jsp
>>>>>>>>> exists.
>>>>>>>>> 
>>>>>>>>> =========================
>>>>>>>>> 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>
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> Adrian Crum sent the following on 4/26/2010 8:57 AM:
>>>>>>>>>> It just means the error.jsp file is missing.
>>>>>>>>>> 
>>>>>>>>>> -Adrian
>>>>>>>>>> 
>>>>>>>>>> On 4/26/2010 8:52 AM, BJ Freeman wrote:
>>>>>>>>>>> I believe this has been a long standing problem.
>>>>>>>>>>> I remember seeing similar errors through time.
>>>>>>>>>>> the question is should the controller depend on the context to get 
>>>>>>>>>>> the
>>>>>>>>>>> error path or should it look at the component and then go for the 
>>>>>>>>>>> path
>>>>>>>>>>> that is expected.
>>>>>>>>>>> the other is track down why the error path for jsp in not in the 
>>>>>>>>>>> context.
>>>>>>>>>>> 
>>>>>>>>>>> any thoughts?
>>>>>>>>>>> 
>>>>>>>>>>> =========================
>>>>>>>>>>> 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>
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>>>>>>> 
>>>>>> 
>>> 
>> 
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to