resourceName = "impala.properties";
}
final PropertiesLoader propertiesLoader = new ServletContextPropertiesLoader(servletContext, resourceName);
final WebContextLocationResolver locationResolver = new WebContextLocationResolver();
final ServletContextLocationsRetriever resolver = new ServletContextLocationsRetriever(servletContext, locationResolver, propertiesLoader);
final String[] toReturn = resolver.getContextLocations().toArray(new String[0]);
if (logger.isInfoEnabled()) {
logger.info("Impala context locations: " + Arrays.toString(toReturn));
}