Hi Klaus,

I can't add much.  The problem is in the adaptor.  I'd focus on the first error 
"sendBuffers(): send error: Bad address" and consider the rest to be symptoms.  
Other than adding some logging messages to the adaptor, I have no ideas or 
pointers.

> Next up, debugging an apache module...

No-one's idea of a good time.

Chuck


On 2012-07-12, at 12:22 PM, Klaus Berkling wrote:

> Hi All.
> 
> Some of you might remember me writing about this issue during WOWODC.  I'm 
> restarting the thread because I still can't find a solution.  I get the 
> following error when making https requests to one of our apps (no problem 
> with static html pages):
> 
> "Did not receive any response from application. It is possible that the 
> application does not exist, or that the requested url is incorrect."
> 
> This does not happen on Mac OS X, same WO app:
> Ubuntu: https://cn2.records.dyned.com/cgi-bin/WebObjects/LMSService
> Mac: https://am1.records.dyned.com/cgi-bin/WebObjects/LMSService
> 
> I tried three different adaptors:
> - Old DynEd Adaptor with modification from us (virtual hosts additions)
> - Old Wonder Adaptor as built for CentOS from 
> http://wocommunity.org/documents/tools/mod_WebObjects/Apache2.2
> - New Wonder Adaptor built from source (I downloaded the source from the 
> Wonder repository and built it as-is on our Ubuntu build server)
> 
> With all adaptors our app shows this error:
> 
> Jul 13 01:40:13 LMSService[2042] WARN  NSLog  - <WOWorkerThread id=8 
> socket=Socket[addr=/10.0.0.10,port=35046,localport=2042]> Exception while 
> sending response: java.net.SocketException: Broken pipe
> 
> Using the Old DynEd Adaptor and New Wonder Adaptor apache writes this error 
> to the error log:
> 
> [Fri Jul 13 00:51:03 2012] [error] sendBuffers(): send error: Bad address
> [Fri Jul 13 00:51:03 2012] [error] error sending request
> [Fri Jul 13 00:51:03 2012] [error] Failed to send request
> [Fri Jul 13 00:51:03 2012] [error] Request handling error: Did not receive 
> any response from application. It is possible that the application does not 
> exist, or that the requested url is incorrect.
> 
> Using the Old Wonder Adaptor apache does not write any errors to the error log
> 
> It looks like the apache child process does not crash.  It also looks like 
> the adaptor is catching an error that severs the connection to the app 
> instance.
> 
> The errors above show up in the Adaptors source:
> 
> "sendBuffers(): send error: " - Adaptor/nbssocket.c, Line 501
> "error sending request" - Adaptor/request.c, Line 280
> "Failed to send request" - Adaptor/transaction.c, Line 591
> "Request handling error: " - Adaptor/transaction.c, Line 727
> 
> My experience in the adaptor source code is very limited. Does anyone have 
> any ideas or pointers?
> Next up, debugging an apache module...
> 
> Thanks in advanced.
> 
> 
> kib
> 
> "The trouble with normal is it always gets worse."
> Bruce Cockburn
> 
> Klaus Berkling
> Web Application Dev. & Systems Analyst
> DynEd International, Inc.
> www.dyned.com
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/gvc/practical_webobjects









 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to