Robert,

Thanks for the suggestion.

The problem is neither with curl nor with the DA. I tested this excessively. It is something in the middle that brakes (WO adaptor perhaps)... but I am really tapping in the dark...

cheers

gt

On Nov 15, 2005, at 3:57 PM, Robert Walker wrote:

Have you checked to see if curl is resubmitting the request in case it doesn't receive a response quickly? It seems like I had a similar issue at one point with an application. Luckily for me I didn't really need the response from DA so I just did my long processing in a thread. The DA would then respond immediately to curl. I was also generating a PDF in this process, but I was sending the PDF to a list of email addresses once generated by the thread.

If this is the case, I'm not sure how you need to solve your issue since you need the DAs response. I do know that DAs that take a while to process can cause strange behavior like you are describing here.

On Nov 15, 2005, at 4:10 AM, Georg Tuparev wrote:

Folks,

we have an app that produces bunch of PDF reports. There is a DA that triggers this procedure, and when finished, this DA returns an XML based status document (all this is part of a larger workflow system without any end-user UI). This DA is called by a curl from a script, and we have many similar WO apps and DAs.

For this particular DA, when the app is called as configured by the Monitor (e.g. http://myhost/cgi-bin/WebObjects/MyApp/wa/blah) from time to time we are getting an empty reply, e.g.
"curl: (52) Empty reply from server"
This is despite the fact that all PDFs are generated correctly and the response XML is generated!

If we connect directly to the application (e.g. http://myhost:2004/ cgi-bin/WebObjects/MyApp/wa/blah) everything works fine.

I played with adaptor timeouts, but this did not change anything.

Any idea what could be causing this strange behavior?

Our system: Mac OSX Server 10.4.3 / WO 5.3

TIA

-- georg --

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

This email sent to [EMAIL PROTECTED]

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

This email sent to [EMAIL PROTECTED]

-- georg --

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

This email sent to [email protected]

Reply via email to