Bug 155786 [Deploy] Total page number is wrong when render a multipage report design
When render a multipage report on BIRT deployed on web servers, total page number is not correct. It show only 1 page in all, which actually should be 123 pages. When I refresh the web pages manually, the total page number became 50, but still not the correct count. And refreshing again, it becomes 123, the correct one.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/context/ViewerAttributeBean.java
else
			{
				try
				{
					
					File file = new File( this.reportDesignName );
					if ( file.exists( ) )
					{
						reportRunnable = ReportEngineService.getInstance( )
								.openReportDesign( this.reportDesignName,
										this.getModuleOptions( request ) );
					}
					else if ( !ParameterAccessor.isWorkingFolderAccessOnly( ) )
					{
						
						
						this.reportDesignName = ParameterAccessor.getParameter(
								request, ParameterAccessor.PARAM_REPORT );
						InputStream is = null;
						URL url = null;
						try
						{
							String reportPath = this.reportDesignName;
							if ( !reportPath.startsWith( "/" ) ) 
								reportPath = "/" + reportPath; 
							url = request.getSession( ).getServletContext( )
									.getResource( reportPath );
							if ( url != null )
								is = url.openStream( );
							if ( is != null )