While there is still an annoying bug in the eXist trunk (no <exist:match>
tags when running a query through the XQuery Generator in Cocoon, while we do get them when running the same query through the admin client), the ongoing disaster that is now the main eXist 1.1.1 install on the production Tomcat is now so flaky that I absolutely must move forward with a deployment of Mariage to a new stack. I noticed that there's a limited amount of space on the tomcat-dev file space, so I now have to trim down Cocoon as far as I can. I've started by trying to build a really lean Cocoon, by working through my local.blocks.properties and disabling as many blocks as I think I can get away with.
This is rather a trial-and-error thing, because although the file does provide some documentation on what blocks are dependent on others, the comments say explicitly that it's partial and you can't rely on it. My first attempt failed to build. Judging by the error messages, there may be a requirement for the forms block, so I've now gone back and enabled the ajax, forms and template blocks (which are interdependent). That didn't work, so I went back again and decided I needed to enable javaflow and ojb. Tried again.
That got me a complete, working Cocoon, with a working eXist, to which I restored the Mariage project -- but the site failed to come up because of a missing text generator! I figure this might be in the chaperon block, so I tried enabling that and...
SUCCESS! A working stack, into which I was able to restore the Mariage site and confirm all is working well. This stack comes in at only 495MB, compared with the 1.2GB we had before, so it's a huge step forward. It might still be possible to remove a lot of cruft and get the size of the thing down a bit, but 356MB of that is the Mariage site itself, which is heavy on hi-res images. So the Cocoon/eXist block comes in at about 140MB, which is not a great deal. Now it becomes practical to deploy leaner projects. We're go for tomorrow on the dev Tomcat, I think...