Re: [Solved... and next problem]: mod_rewrite & WO
Chuck Hill <[email protected]> Tue, 9 Nov 2004 09:08:26 -0800
| Newsgroups | gmane.comp.web.webobjects.admin |
|---|---|
| Message-ID | <[email protected]> |
Will, This line looks odd/ wrong: Info: New request is GET /cgi-bin/WebObjects/DerGartenbau.woa/1/wa/AdManagerAction/banner?type=0 INCLUDED^M What is that 'INCLUDED^M' at the end? Could this possibly be caused by an EOL difference? Hmmmm This looks like your app / direct action threw an exception: > Debug: nonBlockingRecv(): recv() returned 0 (connection closed) > Info: retrying request due to connection reset I'll guess that the request from mod_ssi to your app has something in it that is causing a problem in your app. Here is what I would do: 1. Override dispatchRequest in Application and log out request.uri() to see if it is getting that far. 2. Wrap the call to super.dispatchRequest() in a try catch block for java.lang.Throwable and log out whatever is caught. 3. Override performAction in your DA subclass and log out request.uri() to see if it is getting that far. Log this before and after calling super. 4. Wrap the call to super.performAction() in a try catch block for java.lang.Throwable and log out whatever is caught. Hopefully that will shed some light on what is happening. Chuck On Nov 9, 2004, at 8:36 AM, Will Scheidegger wrote: > Hi Chuck et al > > On 08.11.2004, at 18:45, Chuck Hill wrote: > >> 1. Is SSI enabled in the server config? > Yes. > >> 2. Are the HTML files with the includes marked as executable (or >> otherwise flagged for SSI processing? > Yes. Including static files works fine. > >> 3. What does the WO adaptor debug log show? > > Here we go: > > Info: <WebObjects Apache Module> new request: > /cgi-bin/WebObjects/DerGartenbau.woa/wa/AdManagerAction/banner > Debug: App Name: DerGartenbau.woa/wa/AdManagerAction/banner (12) > Info: V4 URL: > /cgi-bin/WebObjects/DerGartenbau.woa/wa/AdManagerAction/banner > Info: Selected new app instance at index 4 > Debug: Composed URL to > '/cgi-bin/WebObjects/DerGartenbau.woa/1/wa/AdManagerAction/banner? > type=0' > Info: New request is GET > /cgi-bin/WebObjects/DerGartenbau.woa/1/wa/AdManagerAction/banner? > type=0 INCLUDED^M > > Info: Sending request to instance number 1, port 2012 > Info: Trying to contact DerGartenbau:1 on (2012) > Info: attempting to connect to 212.103.66.36 on port 2012 > Info: DerGartenbau:1 on (2012) connected [pooled: No] > Info: Request GET > /cgi-bin/WebObjects/DerGartenbau.woa/1/wa/AdManagerAction/banner? > type=0 INCLUDED^M > sent, awaiting response > Debug: ac_readConfiguration(): skipped reading config > Debug: nonBlockingRecv(): recv() returned 0 (connection closed) > Info: retrying request due to connection reset > Info: attempting to connect to 212.103.66.36 on port 2012 > Info: DerGartenbau:1 on (2012) connected [pooled: No] > Info: Request GET > /cgi-bin/WebObjects/DerGartenbau.woa/1/wa/AdManagerAction/banner? > type=0 INCLUDED^M > sent, awaiting response > Debug: ac_readConfiguration(): skipped reading config > Debug: nonBlockingRecv(): recv() returned 0 (connection closed) > Info: Marking instance 1 dead > Warn: Marking 212.103.66.36:1 unresponsive > Debug: connectionAttempts = 1, retries = 10 > Debug: ac_readConfiguration(): skipped reading config > Info: tr_selectInstance(): scheduler failed to select instance. > Info: No new instance located for failover > Error: Request handling error: No instance available > Info: <WebObjects Apache Module> new request: > /cgi-bin/WebObjects/DerGartenbau.woa/wa/AdManagerAction/banner > Debug: App Name: DerGartenbau.woa/wa/AdManagerAction/banner (12) > Info: V4 URL: > /cgi-bin/WebObjects/DerGartenbau.woa/wa/AdManagerAction/banner > Info: tr_selectInstance(): scheduler failed to select instance. > Error: Request handling error: The requested application was not found > on this server. > Info: <WebObjects Apache Module> new request: > /cgi-bin/WebObjects/VolleyBern.woa/2/wo/cxlrpfYL2df2XmUrzetSmg/ > 2.SWSiteLook.27.0.0.IndoorGameList.10.0.1.0 > Debug: App Name: > VolleyBern.woa/2/wo/cxlrpfYL2df2XmUrzetSmg/ > 2.SWSiteLook.27.0.0.IndoorGameList.10.0.1.0 (10) > Info: V4 URL: > /cgi-bin/WebObjects/VolleyBern.woa/2/wo/cxlrpfYL2df2XmUrzetSmg/ > 2.SWSiteLook.27.0.0.IndoorGameList.10.0.1.0 > Info: Selecting specific app instance 2. > Debug: Composed URL to > '/cgi-bin/WebObjects/VolleyBern.woa/2/wo/cxlrpfYL2df2XmUrzetSmg/ > 2.SWSiteLook.27.0.0.IndoorGameList.10.0.1.0' > Info: New request is GET > /cgi-bin/WebObjects/VolleyBern.woa/2/wo/cxlrpfYL2df2XmUrzetSmg/ > 2.SWSiteLook.27.0.0.IndoorGameList.10.0.1.0 HTTP/1.1^M > > This worked fine on our old MacOS X server, fails now on Solaris > though. I get a "No instance available" on the first include and a > "The requested application was not found on this server" on the > second. I personally think it's an adaptor problem... And I wonder if > this isn't already solved in the WONDER adaptor. There used to be a > separate adaptor download page on the WONDER site... can't find it now > tough. > > Thanks! > > -Will > > -- Practical WebObjects - a book for intermediate WebObjects developers who want to increase their overall knowledge of WebObjects, or those who are trying to solve specific application development problems. http://www.global-village.net/products/practical_webobjects