cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto Brosich <>
Subject zip serializer gives zero lenght output with large file
Date Wed, 20 Jul 2005 10:58:52 GMT
I have some problems with zip serializer.

I use cocoon 2.1.7, tomcat 5.5.9, jdk 1.5.0_04-b05

With small files (1-10 MByte) works all fine. With ~18 Mbyte
the zip file has 0 length. 
Without zip serializer the browser reads correctly all megas (after some
minutes :-)).

Any suggest?


Alberto Brosich

Follow two slices of sitemap

     <map:match pattern="">
        <map:generate src="resources/extract_params_zip.xml"/>
     <map:serialize type="zip"/>
    <map:pipeline type="noncaching">
      <map:parameter name="outputBufferSize" value="8192"/>
      <map:match pattern="data-parameters">
        <map:generate type="serverpages"
        <map:serialize type="xml"/>

where extract_params_zip.xml is the following file

  <zip-archive:entry name="data.txt" src="cocoon:/data-parameters"/>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message