try {
// tobago-config.xml
TobagoConfig tobagoConfig
= new TobagoConfigParser().parse(servletContext);
servletContext.setAttribute(TobagoConfig.TOBAGO_CONFIG, tobagoConfig);
// todo: cleanup, use one central TobagoConfig, no singleton ResourceManager
// resources
ResourceManagerFactory.init(servletContext, tobagoConfig);