Bug 155178 [Deploy] Preview report failed on war deployed weblogic server
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
public void runReport( HttpServletRequest request,
			IReportRunnable runnable, String documentName, Locale locale,
			Map parameters, Map displayTexts ) throws RemoteException
	{
		assert runnable != null;
		
		IRunTask runTask = null;
		runTask = engine.createRunTask( runnable );
		runTask.setLocale( locale );
		runTask.setParameterValues( parameters );
		
		if ( displayTexts != null )
		{
			Iterator keys = displayTexts.keySet( ).iterator( );
			while ( keys.hasNext( ) )
			{
				String paramName = DataUtil.getString( keys.next( ) );
				String displayText = DataUtil.getString( displayTexts
						.get( paramName ) );
				runTask.setParameterDisplayText( paramName, displayText );
			}
		}
		HashMap context = new HashMap( );
		
		
		Boolean isDesigner = Boolean.valueOf( ParameterAccessor
				.isDesigner( request ) );
		context
				.put(
						"org.eclipse.birt.data.engine.dataset.cache.option", isDesigner );