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
HashMap context = new HashMap( );
		
		
		Boolean isDesigner = Boolean.valueOf( ParameterAccessor
				.isDesigner( request ) );
		context
				.put(
						"org.eclipse.birt.data.engine.dataset.cache.option", isDesigner ); 
		context.put( EngineConstants.APPCONTEXT_BIRT_VIEWER_HTTPSERVET_REQUEST,
				request );
		context.put( EngineConstants.APPCONTEXT_CLASSLOADER_KEY,
				ReportEngineService.class.getClassLoader( ) );
		
		ParameterAccessor.pushAppContext( context, request );
		runTask.setAppContext( context );
		
		try
		{
			runTask.run( documentName );
		}
		catch ( BirtException e )
		{
			
			File doc = new File( documentName );
			if ( doc != null )
				doc.delete( );
			
			AxisFault fault = new AxisFault( e.getLocalizedMessage( ), e
					.getCause( ) );
			fault