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
scriptlibClassPath += EngineConstants.PROPERTYSEPARATOR
					+ ( (File) jarFileList.get( i ) ).getAbsolutePath( );
		if ( scriptlibClassPath.startsWith( EngineConstants.PROPERTYSEPARATOR ) )
			scriptlibClassPath = scriptlibClassPath
					.substring( EngineConstants.PROPERTYSEPARATOR.length( ) );
		System.setProperty( EngineConstants.WEBAPP_CLASSPATH_KEY,
				scriptlibClassPath );
		config.setEngineHome( "" ); 
	}
	/**
	 * Get engine instance.
	 * 
	 * @return
	 */
	public static ReportEngineService getInstance( )
	{
		return instance;
	}
	/**
	 * Get engine instance.
	 * 
	 * @return engine instance
	 */
	public static void initEngineInstance( ServletConfig servletConfig )
			throws BirtException
	{
		if ( ReportEngineService.instance != null )
		{
			return;
		}