if (log.isTraceEnabled()) {
log.trace("Had problems parsing configuration file.", e);
log.trace("Attempting to use a legacy parser.");
}
try {
XmlConfigurationParser2x oldParser = new XmlConfigurationParser2x();
c = oldParser.parseFile(configFileName);
} catch (Exception e2) {
throw e;
}
if (c != null && log.isInfoEnabled())
log.info("Detected legacy configuration file format when parsing configuration file. Migrating to the new (3.x) file format is recommended. See FAQs for details.");