if (LOG.isInfoEnabled()) {
LOG.info("Loading XML bean definitions from " + actualLocation + "");
}
InputStream is = null;
TransformerFactory transformerFactory = null;
try {
is = actualLocation.getInputStream();
transformerFactory = new TransformerFactory(getServletContext(), is);
} catch (IllegalStateException ex) {
throw new BeanInitializationException(
"IllegalStateException parsing XML document from "