Bug 139343 [regression]Can not use __document to preview report document when deploy birt.
Summary: [regression]Can not use __document to preview report document when deploy birt. Steps to reproduce: 1. Deploy birt 2. Render a report document 3. Preview the report document by using __document Result: The design file C:\apps\jakarta-tomcat-5.5.7\webapps\birt060428\ has error and can not be run.
viewer/org.eclipse.birt.report.viewer/birt/WEB-INF/classes/org/eclipse/birt/report/service/BirtViewerReportService.java
throw new ReportServiceException( e.getLocalizedMessage( ) );
		}
	}
	public List getResultSetsMetadata( String docName, InputOptions options )
			throws ReportServiceException
	{
		IReportDocument doc = ReportEngineService.getInstance( )
				.openReportDocument( getReportDesignName( options ), docName );
		ResultSet[] resultSetArray;
		try
		{
			resultSetArray = ReportEngineService.getInstance( ).getResultSets(
					doc );
			doc.close( );
		}
		catch ( RemoteException e )
		{
			e.printStackTrace( );
			throw new ReportServiceException( e.getLocalizedMessage( ) );
		}
		if ( resultSetArray == null || resultSetArray.length <= 0 )
		{
			throw new ReportServiceException(
					"There is no result set available for extracting the data." ); 
		}
		return transformResultSetArray( resultSetArray );
	}
	public List getResultSetsMetadata( String docName, String instanceId,
			InputOptions options ) throws ReportServiceException
	{