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
RenderOption renderOption = null;
		if ( format == null )
			format = ParameterAccessor.getFormat( request );
		if ( IBirtConstants.PDF_RENDER_FORMAT.equalsIgnoreCase( format )
				|| IBirtConstants.POSTSCRIPT_RENDER_FORMAT
						.equalsIgnoreCase( format ) )
		{
			renderOption = createPDFRenderOption( servletPath, request,
					ParameterAccessor.isDesigner( request ) );
		}
		else
		{
			renderOption = createHTMLRenderOption( svgFlag, servletPath,
					request );
		}
		renderOption.setOutputFormat( format );
		renderOption.setOutputStream( out );
		ViewerHTMLActionHandler handler = null;
		if ( IBirtConstants.PDF_RENDER_FORMAT.equalsIgnoreCase( format )
				|| IBirtConstants.POSTSCRIPT_RENDER_FORMAT
						.equalsIgnoreCase( format ) )
		{
			handler = new ViewerHTMLActionHandler( reportDocument, -1, locale,
					false, rtl, masterPage, format );
		}
		else
		{
			boolean isEmbeddable = false;
			if ( IBirtConstants.SERVLET_PATH_FRAMESET