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
rtl, masterPage, format );
		String resourceFolder = ParameterAccessor.getParameter( request,
				ParameterAccessor.PARAM_RESOURCE_FOLDER );
		handler.setResourceFolder( resourceFolder );
		renderOption.setActionHandler( handler );
		if ( reportTitle != null )
			renderOption.setOption( IHTMLRenderOption.HTML_TITLE, reportTitle );
		if ( renderOption instanceof IHTMLRenderOption )
		{
			boolean isEmbeddable = false;
			if ( embeddable != null )
				isEmbeddable = embeddable.booleanValue( );
			if ( IBirtConstants.SERVLET_PATH_RUN.equalsIgnoreCase( servletPath ) )
				isEmbeddable = true;
			( (IHTMLRenderOption) renderOption ).setEmbeddable( isEmbeddable );
		}
		renderOption.setOption( IHTMLRenderOption.INSTANCE_ID_LIST, activeIds );
		
		initializeEmitterConfigs( request, renderOption.getOptions( ) );
		runAndRenderTask.setRenderOption( renderOption );
		
		BirtUtility.addTask( request, runAndRenderTask );
		try
		{
			runAndRenderTask.run( );
		}
		catch ( BirtException e )
		{
			AxisFault fault = new AxisFault( e.getLocalizedMessage( ), e
					.getCause( ) );