ArrayIndexOutOfBoundsException in CachingOutputStream

2014-05-16 Thread Brecht Schoolmeesters
Hello all, recently our cocoon server is failing with the following stacktrace: Caused by: java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.apache.cocoon.caching.CachingOutputStream.write(CachingOutputStream.java:77) at java.io.BufferedOutputStream.write

Batik errors: Unable to set document base URI to null, will default to http://localhost/

2011-10-11 Thread Brecht Schoolmeesters
Hello, I'm using cocoon to generate images from SVG using batik's SVG engine. In the server logs, I get an error message for each image that is generated: WARN  btpool0-1 org.apache.cocoon.serialization.SVGSerializer - Unable to set document base URI to null, will default to http://localhost/

Re: Cocoon 2.2 production server configuration

2011-09-14 Thread Brecht Schoolmeesters
Hi Robby,  thanks for your reply. I think the memory leak is causing the high memory usage. I decompiled the class file we use in our cocoon server and it uses the unpatched PoolableProxyHandler. How can I apply the patch to the cocoon version we are using (stable 2.2.0 version from the site)? 

Re: Cocoon 2.2 production server configuration

2011-09-14 Thread Brecht Schoolmeesters
uld require > that much memory? If so it would be interesting to see if I can replicate > this in my setup depending on the complexity of course. > > ** ** > > Robby > > ** ** > > ** ** > > ** ** > > ** ** > > *From:* Brecht Schoolmeesters [mailt

Re: Cocoon 2.2 production server configuration

2011-09-14 Thread Brecht Schoolmeesters
Hello Jeroen, i've also commented inline: On Tue, Sep 13, 2011 at 10:59 AM, Jeroen Reijn wrote: > Hi, > > see my comments inline: > > On Fri, Sep 9, 2011 at 10:37 AM, Brecht Schoolmeesters > wrote: > > Hi, > > we are currently using cocoon for transforming

Re: map:serialize http 404 status code in map:handle-errors

2011-09-09 Thread Brecht Schoolmeesters
We are using cocoon 2.2 On Fri, Sep 9, 2011 at 10:34 AM, Thorsten Scherler wrote: > On Fri, 2011-09-09 at 10:20 +0200, Brecht Schoolmeesters wrote: > > Hi, > > > > > > I think there is a bug in cocoon. When I try the following, the cocoon > > server returns http

map:serialize http 404 status code in map:handle-errors

2011-09-09 Thread Brecht Schoolmeesters
Hi, I think there is a bug in cocoon. When I try the following, the cocoon server returns http status code 200. It should return http 404: This is very strange because when I set status codes 500, 400, 401, ... these all work. The only one that doesn't work is the 404 not fo

Cocoon 2.2 production server configuration

2011-09-09 Thread Brecht Schoolmeesters
Hi, we are currently using cocoon for transforming source xml files into xml files in a different format. The transformations are pretty heavy because data from other xml files is inserted and also transformed. When using cocoon on our test server, we saw that the memory usage was peaking at

map:serialize http 404 status code in map:handle-errors

2011-09-09 Thread Brecht Schoolmeesters
Hi, I think there is a bug in cocoon. When I try the following, the cocoon server returns http status code 200. It should return http 404:                   This is very strange because when I set status codes 500, 400, 401, ... these all work. The only one that doesn't work is the 404 no

Cocoon 2.2: configuring persistent store/cache

2011-08-28 Thread Brecht Schoolmeesters
Hello, can someone give a small example of how to configure cocoon to use the FileSystemStore? I cannot find any documentation for cocoon 2.2, only for older versions. I don't know in which files the configuration should be placed. What do I need to change in the sitemap to use the FileSystemS

Cocoon 2.2: configuring and using persistent store/cache

2011-08-24 Thread Brecht Schoolmeesters
Hello, can someone give a small example of how to configure cocoon to use the FileSystemStore? I cannot find any documentation for cocoon 2.2, only for older versions. I don't know in which files the configuration should be placed. What do I need to change in the sitemap to use the FileSystemS