Viewpoint has extended the BIRT Reporting Framework for report viewing and there are several standard reports that are available when Moab is configured to use the MySQL database.
![]() |
Due to the memory intensive nature of reporting, Tomcat's permanent generation (PermGen) memory should be increased. Add the following configuration setting to your other JAVA_OPTS settings in your Tomcat init script: JAVA_OPTS="$JAVA_OPTS -XX:MaxPermSize=256m" Specifying more heap space is ineffective in handling the memory intensive nature of reporting; more PermGen improves performance. |
Once Moab is configured to use MySQL for statistics, configure Viewpoint to view standard reports by following these steps:
<permission name="report.read" />
<menu label="Reporting"> <link href="page://Reporting" label="Reporting"> <permission name="report.read" /> </link> </menu>
<reporting xsi:schemaLocation="http://www.adaptivecomputing.com reporting.xsd"> <reports> <report> <display-name>Test</display-name> <name>test.rptdesign</name> <display-category>Adaptive</display-category> <category>adaptive</category> <description>desc for test</description> </report> <report> <displayName>Jobs Submitted</displayName> <name>jobs_submitted.rptdesign</name> <display-category>Adaptive</display-category> <category>adaptive</category> <description>Report for viewing submitted jobs by user, group, qos and account</description> </report> </reports> <database-connection type="mysql-jdbc"> <url>jdbc:mysql://localhost/Moab</url> <username>root</username> <password>root</password> <driver>com.mysql.jdbc.Driver</driver> </database-connection> </reporting>
<database-connection type="mysql-jdbc"> <url>jdbc:mysql://localhost/Moab</url> <username>root</username> <password>root</password> <driver>com.mysql.jdbc.Driver</driver> </database-connection>
type
of connection is mysql-jdbc
.url
> element contains a JDBC database connection URL to either your own database or Moab's ODBC database.username
> and <password
> elements are for the Moab ODBC database.driver
> element is the MySQL JDBC driver that you're using. Note that you must include the JDBC driver in the Viewpoint application WEB-INF/lib directory.