Platform.startup( null );
Platform.startup( config );
	synchronized public void setEngineContext( ServletContext servletContext,			HttpServletRequest request )	{		if ( engine == null )		{			IPlatformContext platformContext = new PlatformServletContext(					servletContext );			config.setPlatformContext( platformContext );			try			{				Platform.startup( null );			}			catch ( BirtException e )			{				// TODO remove this output.				e.printStackTrace( );			}			IReportEngineFactory factory = ( IReportEngineFactory ) Platform					.createFactoryObject( IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );			engine = factory.createReportEngine( config );			contextPath = request.getContextPath( );		}	}