For info, this is how I fixed this issue: It turns out that MSIE has a TCP receive timeout set in the registry:
This ReceiveTimeout can be found at HKEY_CURRENT_USER/SOFTWARE/MICROSOFT/WINDOWS/CURRENTVERSION/INTERNET SETTINGS If it is set to 6000 the the client (browser) will timeout waiting for the reply from the AMF Gateway. This stumbled me as I was using a built in browser to eclipse through the myEclipse plugin, however I have since found out that this is actually just an embedded IE browser. I only found the resolution to the issue after testing with firefox and the problem disapeared. Weird but true, I'll just have to write off those four days pulling my hair out then! Cheers All. --- In flexcoders@yahoogroups.com, "Mika Kiljunen" <[EMAIL PROTECTED]> wrote: > > Yeah, well my guess is that it won't help if Array works under 60 > secs... it should work after 60 secs too :-) > > BTW, I have always used ArrayList instead of Array. > > > > -Mika > > > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of digital_eyezed > Sent: 11. elokuuta 2006 16:02 > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: Flex Timeout issue > > > > Hi, > > Yeah, I've tried to strip it down to the minimum (as you can see > from the extremely bare app below, but it is tied to the 1 minute > barrier as I have increased the t value by one day at a time until I > get to a second return time and it fails exactly at 60 seconds, > although the debuh shows the return being thrown back to the client. > > I'll try changing the return object from an Array of objects to an > ArrayList to see if that makes any difference. > > Cheers! > > Iain > > --- In flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > , "Mika Kiljunen" > <mika.kiljunen@> wrote: > > > > That's really weird. I would suggest to strip down the code to > minimum. > > Drop out the showBusyCursor (set it to false), try to call service > > several times with different params and see what happens. On > > faulthandler I believe you should have > > mx.core.Application.alert(event.fault) instead of event.result. > > > > > > > > If that does not help anything, then I would change the data > returned by > > the server to minimum (ie to just a String) to see if it's a data > > convert error (from Java to flex) and try to work from there up to > the > > problem. > > > > > > > > I have worked with remote objects for over a year now and only > problems > > that I've encountered have been some conversion errors (that > sometimes > > fail silently!) and some problems with responder objects that were > > actually a bug in my code. And we do run long methods too, some > may take > > as much as 5 minutes and they do return results and come back > alive. > > > > > > > > -Mika > > > > > > > > > > > > ________________________________ > > > > From: flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > > [mailto:flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > ] On > > Behalf Of digital_eyezed > > Sent: 11. elokuuta 2006 14:18 > > To: flexcoders@yahoogroups.com <mailto:flexcoders% 40yahoogroups.com> > > Subject: [flexcoders] Flex Timeout issue > > > > > > > > Hi, > > > > I've been working on this issue now for 3 days and I am at a > > complete loss. > > > > I have a simple request which uses a remoteObject, this works fine > > if the result is returned in under 1 minute, however if the result > > takes longer than 1 miinute to return the client doesn't recive > the > > result and the busy cusror just keeps on showing. > > > > Here is the page (stripped down to focus on the problem): > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml > <http://www.macromedia.com/2003/mxml> > > <http://www.macromedia.com/2003/mxml > <http://www.macromedia.com/2003/mxml> > " > > width="100%" height="100%"> > > <mx:Script> > > <![CDATA[ > > var f = "02/Aug/2005"; > > var t = "03/Aug/2006"; > > var g = "100641,100643,100645,100647,100649,100651,100653,100656"; > > function hello(event){ > > mx.core.Application.alert("I'm Back!"); > > } > > function onRemObjError(event){ > > mx.core.Application.alert(event.result); > > } > > ]]> > > </mx:Script> > > <mx:RemoteObject id="getItOOS" source="com.vianet.Test" > result="hello > > (event)" fault="onRemObjError(event)" showBusyCursor="true"/> > > <mx:Button label="Get Report" click="getItOOS.getIt > (f,t,g,'1','1')"/> > > </mx:Application> > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/