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 that Flex kept calling the server and getting back a 404 error (therefore it seemed to be hanging, even though it was working behind the scenes). That convinced me it was a problem on the server with Java. - Alex --- In flexcoders@yahoogroups.com, "oneworld95" <oneworl...@...> wrote: > > 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. >