DefaultConfigurationBuilder builder = new DefaultConfigurationBuilder();
Configuration sysConfig = builder.buildFromFile(sysConfigFilename);
Configuration roleConfig = builder.buildFromFile(roleConfigFilename);
// Create the LoggerManager for Log4J
LoggerManager lm = new Log4JLoggerManager();
// Setup the RoleManager
DefaultRoleManager roles = new DefaultRoleManager();
Logger logger = lm.getLoggerForCategory(AVALON_LOG_CATEGORY);
roles.enableLogging(logger);
roles.configure(roleConfig);
// Setup ECM