I wonder if this has something to some buffered flag. Did you try to send some small text file attachment? If it works, then it could be the size of the file you send (Tomcat could limit the size that you can post to it, I think you can change this limit somewhere in the configuration). Don't jump into conclusion yet. Use TcpMon, and send a small text attachment, and see what's going through the wire. I am not sure if this has anything to do with it or not, but try change the URL parameter into a FileDataSource and pass that into the DataHandler instead.
I wonder if this has something to some buffered flag. Did you try to send some small text file attachment? If it works, then it could be the size of the file you send (Tomcat could limit the size that you can post to it, I think you can change this limit somewhere in the configuration). Don't jump into conclusion yet. Use TcpMon, and send a small text attachment, and see what's going through the wire. I am not sure if this has anything to do with it or not, but try change the URL parameter into a FileDataSource and pass that into the DataHandler instead.