Thanks Alex. I had a peek at your blog and followed the link for localhost but they say it doesn't work at for the local ip address of 127.0.0.1 - on Windows. All the same, thank you for telling me about it, it sounds really good. I shall give it a go for other purposes. I wonder if Charles will capture localhost traffic?
John oneworld95 wrote: > John -- WireShark (free download from http://www.wireshark.org/) is my > current favorite. It shows all the network traffic and can be filtered > based on IP, etc. I've blogged about it here with instructions on > using it: > http://devharbor.blogspot.com/2009/02/using-wireshark-to-sniff-http-packets.html > > > - Alex C > > --- In flexcoders@yahoogroups.com, "oneworld95" <oneworl...@...> wrote: > >> Thanks, Alex. It's not hanging on the Flex side -- the server response >> is never received. Using WireShark (http://www.wireshark.org/), I was >> able to see it's not hanging at all, but continually sending messages >> to the Java servlet but getting nothing back in reply. >> >> That's what led me to investigate the Java code more closely. The >> BufferedImage object was receiving some JPG images that it couldn't >> handle; so it spun away for a while before throwing an exception. For >> whatever reason, the exception never made it back to the Flex side. >> >> All is well now: I took out the BufferedImage object and am passing >> the InputStream directly to the Java Advanced Imaging API code, which >> resizes the image and writes it to disk. One issue: JPG images with >> CMYK color spaces come out with their colors mangled; but that's a >> limitation of the server code and has nothing to do with Flex. >> >> - Alex >> >> --- In flexcoders@yahoogroups.com, Alex Harui <aharui@> wrote: >> >>> It would be unusual for Flex to hang waiting for the server. Use a >>> >> network monitor to see what's going on. Is Flex really hung? You >> can't hit a button or anything? >> >>> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] >>> >> On Behalf Of oneworld95 >> >>> Sent: Tuesday, February 03, 2009 7:25 AM >>> To: flexcoders@yahoogroups.com >>> Subject: [flexcoders] Detect exeptions - help!! >>> >>> >>> I've run into a very frustrating situation and need your help: >>> >>> - Flex uploads a file to the server >>> - The server reads it into a Java BufferedImage object. >>> - However, Java sometimes takes 40 seconds or longer to reply >>> - In some cases it has difficulty reading the file. >>> >>> In the cases of problems, Flex just hangs. It doesn't reply with >>> anything. Is it timing out? Any help appreciated. >>> >>> > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links > > > > > >