Bug 143068 Update the way that viewer sets the image cache folder.
Use this code segment below to set image cache folder. HTMLRenderContext ctx = new HTMLRenderContext(); ctx.setImageDirectory("images"); HashMap map = new HashMap(); map.put(EngineConstants.APPCONTEXT_HTML_RENDER_CONTEXT, ctx); task.setAppContext(map); The one related to 132063
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/ReportEngineService.java
}
	private void runAndRenderReport( HttpServletRequest request,
			IReportRunnable runnable, OutputStream outputStream, String format,
			Locale locale, boolean rtl, Map parameters, boolean masterPage,
			boolean svgFlag, Boolean embeddable, List activeIds,
			HTMLRenderContext htmlRenderContext ) throws RemoteException
	{
		assert runnable != null;
		
		HTMLRenderOption option = new HTMLRenderOption( );
		option.setOutputStream( outputStream );
		option.setOutputFormat( format );
		option.setMasterPageContent( masterPage );
		option.setHtmlRtLFlag( rtl );
		
		option.setHtmlTitle( BirtResources
				.getString( ResourceConstants.BIRT_VIEWER_TITLE ) );
		if ( embeddable != null )
		{
			option.setEmbeddable( embeddable.booleanValue( ) );
		}
		if ( activeIds != null )
		{
			option.setInstanceIDs( activeIds );
		}
		IRunAndRenderTask runAndRenderTask = null;
		synchronized ( this.getClass( ) )
		{
			runAndRenderTask = engine.createRunAndRenderTask( runnable );
		}