private void initializeAvalon(String roleFile, String componentFile) throws Exception {
// create a Avalon logger
final LogTarget logTarget = new LogKitTargetAdapter();
final Logger rootLogger = Hierarchy.getDefaultHierarchy().getLoggerFor("root");
rootLogger.unsetLogTargets();
rootLogger.setLogTargets(new LogTarget[]{logTarget});
rootLogger.setPriority(Priority.WARN);
final DefaultConfigurationBuilder builder = new DefaultConfigurationBuilder(true);
// create component configuration
final Configuration componentConfiguration = builder.buildFromFile(new File(componentFile));