Legacy Cocoon projects now running on Pear
Posted by mholmes on 27 Oct 2010 in Servers, Activity log, Activity log
As long planned, we've now ported all the legacy Cocoon projects from the main "stable" Lettuce Cocoon over to Pear. This was the process:
- Brought down Tomcat Stable on Lettuce, so that eXist would shut down neatly and clean up after itself.
- Made a copy of the entire Cocoon directory.
- Restarted Tomcat on Lettuce and checked the projects were running OK.
- Renamed the
cocoon
folder to<cocoon-legacy>
. - Removed the folders
collections
,journals
andprojects
from thecocoon-legacy
. These were pointers to thewebapps
directories in individual project directories inhome1t
, but we're now relocating the projects directly into thecocoon-legacy
directory. - For each of the four live projects (
devshire
,emls
,katakana
andscancan
), created a local project directory insidecocoon-legacy
, and copied down the contents of their/home1t/[project]/webapps/
directory into that directory. - In the root
sitemap.xmap
(incocoon-legacy
), changed two instances of hard-coded paths toxep.xml
to point to the new location on Pear. These have to be full local paths, so they need to be configured for the specific location of the Cocoon. - Copied the whole
cocoon-legacy
directory into/usr/local/webapps-stable/
. - Shut down and restarted Tomcat stable on Pear, and confirmed that the projects came back up. All are working.
- Put in a request to sysadmin to re-point the domains scancan.net and graves.uvic.ca (which should have been pointing at Pear, but was still pointing at Lettuce for some reason).
- Added little comments in each of the above projects (ScanCan About page, Graves any page) to the effect that they're running on Pear, so we can easily tell when the domains have been re-pointed.
- Informed the ETCL folks of the new locations for Devonshire and EMLS.