Fixing broken webapp
Posted by mholmes on 20 Dec 2012 in Activity log
Once in a while Moses loses its marbles when ingesting a large number of documents. A couple of suggestions:
- Delete everything in the main collection before attempting to upload.
- Upload in small batches.
When it does fall over, this is what seems to be necessary:
- Stop Tomcat on Pear (as yourself, cd /etc/init.d; sudo ./tomcat stop).
- Delete the moses webapp completely.
- Upload your local working copy (from ~/apps/apache-tomcat..).
- Overwrite the web.xml file from the local copy with the one from the SVN tree.
- Make sure everything is owned by hcmc.
- As hcmc, chmod -R g+w *
- Restart Tomcat (as yourself, cd /etc/init.d; sudo ./tomcat start).
- Confirm all projects are back up.