}
} catch (Exception e) {
getLogger().error("Could not configure Database mapping environment", e);
throw new ConfigurationException("Error trying to load configurations for resource: " + (resource == null ? "null" : resource.getSystemId()));
} finally {
if (resource != null) resource.recycle();
if (sourceHandler != null) this.manager.release((Component) sourceHandler);
}
} else {
getLogger().debug("Using fixed cached configuration for " + descriptor);
}