Bug 143890 [Smoke]Chart cann't preview as web view
Details: [Smoke]Chart cann't preview as web view Setp: 1.Add a chart on report design. 2.Preview as web view. Actual result: The chart can't be preview on web view.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
{
			IPlatformContext platformContext = new PlatformServletContext(
					servletContext );
			config.setPlatformContext( platformContext );
			try
			{
				Platform.startup( config );
			}
			catch ( BirtException e )
			{
				
				e.printStackTrace( );
			}
			IReportEngineFactory factory = (IReportEngineFactory) Platform
					.createFactoryObject( IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY );
			engine = factory.createReportEngine( config );
			contextPath = request.getContextPath( );
		}
	}
	/**
	 * Open report design.
	 * 
	 * @param report
	 * @return
	 */
	synchronized public IReportRunnable openReportDesign( String report )
			throws EngineException
	{
		return engine.openReportDesign( report );
	}