InputStream in = null;
try {
in = getClass().getResourceAsStream("/" + CONTENT_XML);
SAXParser parser = factory.newSAXParser();
parser.parse(in, new ContentLoaderHandler(dataSource, ROOT_ELEMENT));
LOG.debug("Default content successfully loaded");
} catch (Exception e) {
LOG.error("While loading default content", e);
} finally {
IOUtils.closeQuietly(in);