I've seen this problem. You're probably getting an OutOfMemory error, as cocoon first tries to load the entire file to memory and then stream it over the network.

Have a look at this wiki:
http://wiki.apache.org/cocoon/ServingLargeFiles

G.

Rui Alberto L. Gonçalves wrote:

Hi Eugene,
upload-max-size has the default value 10Mb. The problem here is
downloading large files, not uploading. Anyway, I've changed the default value to 100Mb but the problem remais :|.


Thanks,

Rui

On Tue, 2004-12-21 at 19:17, [EMAIL PROTECTED] wrote:


Hi, Rui!

Check ....\tomcat\webapps\cocoon\WEB-INF\web.xml. What is your value
of <param-name>upload-max-size</param-name>?


Eugene









"Rui Alberto L."
Gonçalves
<[EMAIL PROTECTED]>

2004-12-21 18:02
Please respond to users
To: [EMAIL PROTECTED]
cc: (bcc: Eugene
Ivanov/EHV/RESEARCH/PHILIPS)
Subject: problem downloading
large text files


       Classification:



Hi all,
I'm having troubles trying to serve large text files. When
the file size grows up to 20Mb the downloaded has 0 bytes!
I cannot find any error message in cocoon or tomcat log files!

The file that I'm trying to download is in the correct location and
has the right permissions. Putting a file with 10Mb things work
fine.

Any idea why this is happening? Cache issue?

Thanks for any help.

Rui



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to