Rendering my pages takes very long and an internal server error is shown – whats wrong?
(This answer will only help with avoiding the internal error, not speeding up the page.) This could be caused by a timeout problem with your servlet engine, if you are running the servlet engine attached to a webserver (not an independent, standalone servlet engine). For example, for JServ, add ApJServVMTimeout 60 to your jserv.conf file to set the response timeout to 60 seconds, or increase that number if your machine is very slow. Other servlet engines will have different ways of configuring the timeout. Please don’t ask about this on cocoon-users, it is offtopic. I think that using Processing Instructions to “chain” document layers somehow violates the context separation since I would like to be able to place style-related information in sessions or request parameters. What do you think about this? You are right, PI reaction breaks the context separation and it is, in the final analysis, the wrong approach. To follow a complete “model, view, controller” design pattern, one should be