[flexcoders] Re: Detect exeptions - help!!

2009-02-03 Thread oneworld95
Found out a solution: The problem was in the BufferedImage object in the Java code. Java's BufferedImage couldn't handle some of the JPG's and was choking. Once I passed the InputStream directly to a method that uses the Java Advanced Imaging API, the problem went away. Using WireShark, I noticed

[flexcoders] Re: Detect exeptions - help!!

2009-02-04 Thread oneworld95
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 investiga

[flexcoders] Re: Detect exeptions - help!!

2009-02-04 Thread oneworld95
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

[flexcoders] Re: Detect exeptions - help!!

2009-02-04 Thread valdhor
My favorite (The one I own) is Charles (http://www.charlesproxy.com). The two things that made it my pick is that it is cross platform and that it understands AMF (ie. it will show you the returned objects and what they contain - invaluable for debugging remote objects) --- In flexcoders@yahoogr

[flexcoders] Re: Detect exeptions - help!!

2009-02-05 Thread valdhor
John Yes it does. It acts as a proxy between whatever application you are using and whatever you are trying to contact. It automagically sets up Firefox and Internet Exploiter. For other apps you may need to manually set the proxy to the local machine and port. BTW. My name is Steve - Valdhor was

Re: [flexcoders] Re: Detect exeptions - help!!

2009-02-05 Thread John McCormack
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 wi

Re: [flexcoders] Re: Detect exeptions - help!!

2009-02-05 Thread John McCormack
Thanks valdhor, Does Charles manage to capture the local host traffic? I want to capture the messages between an exe and an Adobe swf file. John valdhor wrote: > My favorite (The one I own) is Charles (http://www.charlesproxy.com). > > The two things that made it my pick is that it is cross plat

Re: [flexcoders] Re: Detect exeptions - help!!

2009-02-06 Thread John McCormack
Thanks Steve, I will give it a go. My problem with the communication was that I didn't know the order of messages between exe and swf and so couldn't fix it. Perhaps I can now. John valdhor wrote: > John > > Yes it does. It acts as a proxy between whatever application you are > using and what