Bug 182670 ScriptedDataSet does not use the same classloader when ran for Parameters than when ran for the report
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
ReportEngineService.class.getClassLoader( ) );
		
		context.put( EngineConstants.APPCONTEXT_CHART_RESOLUTION,
				ParameterAccessor.getDpi( request ) );
		
		ParameterAccessor.pushAppContext( context, request );
		runAndRenderTask.setAppContext( context );
		
		if ( renderOption == null )
		{
			if ( IBirtConstants.PDF_RENDER_FORMAT.equalsIgnoreCase( format )
					|| IBirtConstants.POSTSCRIPT_RENDER_FORMAT
							.equalsIgnoreCase( format ) )
			{
				renderOption = createPDFRenderOption( servletPath, request,
						isDesigner.booleanValue( ) );
			}
			else
			{
				renderOption = createHTMLRenderOption( svgFlag, servletPath,
						request );
			}
		}
		renderOption.setOutputStream( outputStream );
		renderOption.setOutputFormat( format );
		renderOption.setOption( IHTMLRenderOption.MASTER_PAGE_CONTENT,
				new Boolean( masterPage ) );
		renderOption.setOption( IHTMLRenderOption.HTML_RTL_FLAG, new Boolean(
				rtl ) );
		ViewerHTMLActionHandler handler = new ViewerHTMLActionHandler( locale,