// init servlet
servlet.init(context);
}
defaultServlet.init(context);
} catch (ServletException e) {
throw new TestException("Servlet initialisation error ", e);
}
try {
NamingManager.setInitialContextFactoryBuilder(new StagingInitialContextFactoryBuilder());
} catch (NamingException e) {
log.warning("Error set initial context factory builder.");