This site now powered by Java 8, Tomcat 7 and Wufoo Forms
I recently upgraded this site to use the latest version of Apache Roller. It was a minor release (5.0.3), but I figured I'd document the steps in case "early onset" comes soon. First of all, to download raibledesigns.com and get it running locally, I perform the following steps:
- Backup everything using ~/bin/backup.sh on raibledesigns.com
- scp backup file to local hard drive and expand
- Copy ROOT, skins and repository directories to local webapps
- Make sure activation, mail, mysql and jta JARs are in $CATALINA_HOME/lib
- Copy roller-custom.properties from raibledesigns.com's $CATALINA_HOME/lib
- Copy context files from hosted $CATALINA_HOME/conf/Catalina to local directory
- Import database and change roller-custom.properties to match local credentials
Next, to upgrade to the latest Roller release, I do the following:
- Download latest Roller release and expand
- Copy JARs (from WEB-INF/lib) to existing install (to upgrade dependencies)
- Delete any lower-versioned JARS from WEB-INF/lib directory
- Copy JSPs (from WEB-INF/jsps) to existing install
- Run database migration scripts from WEB-INF/classes/dbscripts
- Use a diff tool (like SmartSynchronize) to compare new vs. existing
- Test and troubleshoot (if there's startup errors)
This process has worked well for the last 10 years, and it's been in my head the whole time. It's bound to escape someday.
Contact Form Enhancements
In addition to upgrading Roller, I also upgraded Tomcat 6 to Tomcat 7.0.52. In doing so, I found Jakarta's Mailer Taglib doesn't work with Tomcat 7. As you can tell from the aforementioned thread, I've known this for several years. That's the only thing that's stopped me from upgrading Tomcat the past couple years.