cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto Brosich <bros...@univ.trieste.it>
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?

regards 

Alberto Brosich


Follow two slices of sitemap

...
     <map:match pattern="data.zip">
        <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"
src="resources/parameters_data.xsp"/>
        <map:serialize type="xml"/>
      </map:match>
    </map:pipeline>
...


where extract_params_zip.xml is the following file

<zip-archive:archive
xmlns:zip-archive="http://apache.org/cocoon/zip-archive/1.0">
  <zip-archive:entry name="data.txt" src="cocoon:/data-parameters"/>
</zip-archive:archive>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message