More progress with the port
Got the permissions issue sorted out -- it was one directory which didn't have the group write bit set, so maybe the sticky bit isn't working.
Ported the stuff into the webapps folder, and began testing. All output which depends on XSLT 1.0 is working (the main site, contents, etc.). However, XSLT 2.0 transforms died because the saxon transformer wasn't set up and named consistently. With Greg, went back to the main Cocoon sitemap and another conf file (Greg, which one?) to make sure that the Saxon 8 transformer is consistently referred to (name and role) as "saxon".
Following this, transforms would run OK, but fail because of ambiguous matching in the teiGeneral.xsl file. Found some almost-duplicate templates and eliminated them. Now the transform runs, but there is no result. I've stopped at that point for today: no errors, but empty documents.
Then I tested the text-analysis output, and found that both XML and text were being served with the wrong encoding. Worked with Greg to make the default encoding for text and XML serializers UTF-8 in the main Cocoon sitemap. With this, I was able to comment out my extra serializers from the Mariage sitemap.
That's it on this problem for today; tomorrow we get stuck back into the XSLT for the documents.