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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to