Sakai and MariaDB via Vagrant

Sakai has recently switched over to using the MariaDB connector for MySQL databases, and a number of institutions are running MariaDB in production, so I thought I might as well change my dev machine over to MariaDB.

To ease the transition, I whipped up a Vagrant box so I could run this in a VM and spin it up whenever I needed it.

Clone this:
https://github.com/steveswinsburg/mariadb-vagrant

Run this: vagrant up

Done.

Advertisements

Sakai, ditch the custom classloaders

A few years ago I added support to the Sakai Maven Plugin to deploy everything that normally goes into /shared/lib and common/lib into just /lib, as per the standard Tomcat classloader layout.

To use, add -Dsakai.app.server=tomcat7 to the build command. Everything gets deployed to /lib and Sakai starts up without any modifications (except the standard connector modification in server.xml and the optional performance improvements in catalina.properties).

Enjoy the future!