On Wed, 2005-07-20 at 12:28 +0100, Rui Alberto wrote: > Hi, > try moving <map:match pattern="data.zip"> ... into a noncaching > pipeline type.
No changes. I tried with some values of outputBufferSize between 1024 and 65000. The behaviour remains the same. How can i do some debugging? Alberto > > HTH. > Rui > > On Wed, 2005-07-20 at 12:58 +0200, Alberto Brosich wrote: > > 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] > > > > > --------------------------------------------------------------------- > 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]
