// need to flag internal JNDI on...
System.setProperty(AbstractEngine.JNDI_SUPPORT_FLAG_KEY, "true");
// create Engine
PropertiesConfiguration config = new PropertiesConfiguration();
config.load(new FileInputStream("./src/webapp/WEB-INF/conf/jetspeed.properties"));
Mock servletConfigMock = new Mock(ServletConfig.class);
MockServletConfig msc = new MockServletConfig();
msc.setServletContext(new MockServletContext());
Engine engine = Jetspeed.createEngine(config, "./src/webapp", msc, SpringEngine.class);