• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do I prevent WO5.4 from reading the whole request?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: How do I prevent WO5.4 from reading the whole request?
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: "server_port" header is always "0" - SOLVED
  • Next by Date: A TIMESTAMP problem with FrontBase and WebObjects 5.4 on MacOS X 10.5.1
  • Previous by thread: Re: Row Cache / Fault
  • Next by thread: Re: How do I prevent WO5.4 from reading the whole request?
  • Index(es):
    • Date
    • Thread