Yea it is a stupid way of doing the job. The call generates a big zip file for another program to use. I decided to spin off the creation of the file to a worker thread that will be run periodically and when the other program ask for the file it will get the last one generated.
On Nov 2, 2009, at 2:04 PM, Chuck Hill wrote: > > On Nov 2, 2009, at 8:19 AM, Jeffrey Simpson wrote: > >> I have a direct action that can take about 20 min to respond. If I >> make the call using direct connect it runs fine. If I make the call >> through the Apache Adaptor i get "Empty reply from server" after 5 >> minutes. I have set the Send, Receive and Connect timeouts to 9000 >> seconds. When I call WOAdaptorInfo it shows the instance have >> timeouts of 9000 seconds. Does anyone have an idea of what I am >> missing? > > A proper architecture? HTTP cycles that last 20 minutes?!!? The > WOLongResponsePage is perhaps an option, but this seems like it would > need a WORidiculouslyLongResponsePage. :-) I think a better solution > is to spin this off in a background thread and then find some way to > notify the user when it is done (send e-mail, update data shown in a > dashboard, whatever). > > > Chuck > > > >> Jeffrey Simpson >> Senior Software Engineer >> Telephone: 240.235.2144 >> Fax: 240.235.2174 >> jsimp...@yfu.org >> >> Youth For Understanding (YFU) prepares young people for their >> responsibilities and opportunities in a changing, interdependent >> world. >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net >> >> This email sent to ch...@global-village.net > > -- > 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/products/practical_webobjects > > > > > > > Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 jsimp...@yfu.org Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com