Porting the project to Lettuce
The old location of the Moses project on the Mustard server is going obsolete, so we're moving all projects over to a newer Tomcat/Cocoon/eXist block on the Lettuce server. I got stuck into that process today. The new site is here, and the old site will be pointed at it soon.
I immediately faced a major problem. The AJAX code which retrieves entry information from the server sends the id attribute as a GET request to the server. In previous projects we've had some problems with this, using characters between 127 and 255, but worked around it by using the JavaScript escape() function. However, with these id attributes, there's no hope of that; they have all sorts of characters above 255 in them.
After several hours of hacking around with the JavaScript, I eventually found a solution that could be implemented through a change to the Cocoon web.xml
file. I'll document that in detail on the Maintenance blog, since it's really a server configuration issue.
The main thing is that the new site is now working, and it gives us a lot of new opportunities in terms of performance, indexing and stability that were not there on the old server. Next, I'll be able to look in detail at the questions in Ewa's post below.