servletConfig.setServletContext(servletContent);
ServletConfigFactoryBean.setServletConfig(servletConfig);
JetspeedBeanDefinitionFilter filter = new JetspeedBeanDefinitionFilter("file:"+appRoot+"/WEB-INF/conf/spring-filter.properties", "portal");
SpringComponentManager scm = new SpringComponentManager(filter, new String[] {"/WEB-INF/assembly/boot/datasource.xml"}, new String[] {"/WEB-INF/assembly/*.xml"}, servletContent, appRoot );
engine = new JetspeedEngine(config, appRoot, servletConfig, scm );
Jetspeed.setEngine(engine);
engine.start();
getContext().put(ENGINE_ATTR, engine );
}