Configuring report libraries for viewing

When creating BIRT reports, you can define report libraries containing components for reuse in reports. You must take special steps to ensure that such libraries are available when you run reports in WSRR.

About this task

A report library enables you to reuse components, such as a data source definition, across multiple reports. This saves you from defining the same components repeatedly for different report designs. There are two ways to make a report library available when reports are viewed: you can store the library in WSRR along with the reports that uses it, or you can ensure that the WSRR Studio or BIRT Studio resource directory is available to WSRR when the report is run.
If you store a report library in WSRR, you must ensure that the configuration stores it under the library name as referenced by the reports that use it. For example, if a report design contains the following reference to the report library WSRRv7ReportLibrary.rptlibrary:
<list-property name="libraries">
    <structure>
       <property name="fileName">WSRRv7ReportLibrary.rptlibrary</property>
       <property name="namespace">WSRRv7ReportLibrary</property>
    </structure>
</list-property>
Then the report library must be stored in the BIRT Report Design configuration item with the name WSRRv7ReportLibrary.rptlibrary.

When creating BIRT reports, the library folders are generally placed in a resource directory. If you are designing reports on the same computer as the WSRR that is acting as your data source, you can place the resource directory where it can be accessed at both design time and run time. If you are designing reports on a computer that is remote from WSRR, you must copy the report library manually to the expected location. Similarly, if you have WSRR deployed on a cluster system, you must copy the report library to all the nodes in the cluster.

Procedure

To make a report library available, take one of the following steps: