System.exit(1);
}
private ClassPathXmlApplicationContext getApplicationContext(final String ctxName) {
if (ctx == null) {
OMContextListener omcl = new OMContextListener();
omcl.contextInitialized(new ServletContextEvent(new DummyServletContext(ctxName)));
try {
ctx = new ClassPathXmlApplicationContext("openmeetings-applicationContext.xml");
} catch (Exception e) {
handleError("Unable to obtain application context", e);
}