Move lots of jar dependencies into Maven. Switch to log4j. Update all config files.