How do I prevent WO5.4 from reading the whole request?
How do I prevent WO5.4 from reading the whole request?
- Subject: How do I prevent WO5.4 from reading the whole request?
- From: Bogdan Zlatanov <email@hidden>
- Date: Thu, 17 Jan 2008 16:11:19 +0200
Hi all,
I'm trying to send a large file, say 200mb+ over HTTP to a DA of a
WOApp. The problem is it blows with OutOfMemoryException, because the
receiving app is trying to consume the whole request at once. I tried
calling request().contentInputStream() and ended up with a null return
value.
After googling around I could find this:
http://www.omnigroup.com/mailman/archive/webobjects-dev/2006-May/002268.html
Basically it says contentInputStream() does not work with java 1.5,
only on 1.4.2_xx. So the question is how do I get my hands on the raw
input stream? Should I write my own WOAdaptor or there is better and/or
easier ways deal with the problem?
Regards,
Bogdan Zlatanov
P.S. I'm working on MacOS X Leopard
10.5.1, Eclipse 3.3.1.1(patched), WOLips 3.3.4763, Default MacOS JDK 1.5
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden