Re: Avoiding OutOfMemory Errors by limiting data in pipeline

2008-04-23 Thread Joerg Heinicke
On 23.04.2008 20:56, Bruce Atherton wrote: Here are some specifics, in case they are relevant. One heap analysis showed 1.5 Gigabytes of memory being held by the object at the end of this tree (package names suppressed to keep this readable): - ScriptableObject - FOM_Cocoon - FOM_Coc

[2.2] Accessing files relative to flowscript and logging

2008-04-23 Thread Kamal Bhatt
Hi, I have a flowscript file that sits outside of a block (yes, I know, this is bad form). When I do a relative path to get a file, like so: cocoon.log.error(new Packages.java.io.File("../xml/hibernate.cfg.xml").getAbsolutePath()) I get a location that is not relative to the Flow file. In

Avoiding OutOfMemory Errors by limiting data in pipeline

2008-04-23 Thread Bruce Atherton
I have been running into a real problem with OutOfMemory errors on Cocoon 2.1.9. The trouble seems to be that occasionally users request settings for some reports that end up killing the server with an OutOfMemory error. This also leaves us open to denial of service attacks. My question is whe

Is this out of date?

2008-04-23 Thread Kamal Bhatt
On this page: http://cocoon.apache.org/2.2/1362_1_1.html It says the following: You can mount your block at the root level in the application URI space, so that instead of using (for example) the URI http://localhost:/myBlock/foo/bar to request a page, you would request it at http://local

Re: How do I use multiple custom generators for a single page?

2008-04-23 Thread Joerg Heinicke
On 23.04.2008 18:49, James 7 wrote: The xml is not written to file so I cannot simply include them as parts of an aggregate, at least as far as I know. You can, using the cocoon:/ pseudo protocol in map:aggregate causing a sub request in the same sitemap: This

How do I use multiple custom generators for a single page?

2008-04-23 Thread James 7
Hi, I have two working pages that there is now a requirement to merge into a single page. The information in each is obtained through custom generators that use java code and xmlbeans to create the xml output. My problem is that I don't want to create a new xsd that combines them as they are unr

Re: [HELP] SitemapEvenListener

2008-04-23 Thread Patrick Heiden
Hello! Still no ideas/solutions to share (Jörg?). > I am still within this case ;) > A have read [1] and assume that one of your aforementioned colleagues is > Jörg Heinicke ( maybe you have a solution meanwhile, Jörg? Especially: How > are you able to use declarative transaction demarciation

Re: [2.2] CForms migration

2008-04-23 Thread Kamal Bhatt
Hi, I have been trying to find out what effect the different scopes have for beans specified in a Spring bean definition files. For example, if you specify that a bean is at the session level, what impact would that have for Flowscripts and (in particular) CForms. What should be the scope of b