Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Generating BIRT PDF reports with a scheduler/cron job
Migrateduser
Hello,<br />
I need to automate the BIRT report generation via a cron job to generate PDFs. <br />
I've been looking at 2 possibilities:<br />
1) runReport batch file:<br />
I can generate the sample report but when I want to generate a Jazz (RTC-based) report I get the error:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
Mar 15, 2013 4:28:28 PM org.eclipse.birt.report.data.adapter.impl.ModelAdapter adaptDataSet
WARNING: handle type: org.eclipse.birt.report.model.api.OdaDataSetHandle
Mar 15, 2013 4:28:28 PM org.eclipse.birt.report.data.adapter.impl.ModelAdapter adaptDataSet
WARNING: handle type: org.eclipse.birt.report.model.api.OdaDataSetHandle
Mar 15, 2013 4:28:28 PM org.eclipse.birt.report.data.adapter.impl.ModelAdapter adaptDataSet
WARNING: handle type: org.eclipse.birt.report.model.api.OdaDataSetHandle
Mar 15, 2013 4:28:28 PM org.eclipse.birt.data.engine.odaconsumer.Driver doGetDriverManifest
SEVERE: Cannot find or process the ODA data source extension configuration.java.lang.IllegalArgumentException: Cannot find the ODA dataSource extension (com.ibm.team.reports.generic.dataSource).
Check the workspace log file for any problems with loading the extension bundleand its dependencies.
at org.eclipse.datatools.connectivity.oda.util.manifest.ManifestExplorer.getExtensionManifest(ManifestExplorer.java:200)
at org.eclipse.birt.data.engine.odaconsumer.Driver.doGetDriverManifest(Driver.java:147)
at org.eclipse.birt.data.engine.odaconsumer.Driver.findDataSourceExtensionConfig(Driver.java:123)
at org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverExtensionConfig(Driver.java:78)
at org.eclipse.birt.data.engine.odaconsumer.Driver.getExtensionConfig(Driver.java:60)
at org.eclipse.birt.data.engine.odaconsumer.Driver.getDriverHelper(Driver.java:93)
at org.eclipse.birt.data.engine.odaconsumer.DriverManager.getDriverHelper(DriverManager.java:98)
at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.openConnection(ConnectionManager.java:151)
at org.eclipse.birt.data.engine.executor.DataSource.newConnection(DataSource.java:190)
at org.eclipse.birt.data.engine.executor.DataSource.open(DataSource.java:178))
</pre>
<br />
What am i doing wrong? I check the ODA jar is part of the BIRT runtime plugins directory...<br />
<br />
2) Use the IReportViewerService from RTC:<br />
I call com.ibm.team.reports.service.internal.IReportViewerService with the parameters:<br />
__format=pdf<br />
.__projectAreaUUID=****<br />
__ownerUUID=****<br />
<br />
However how to a create a script to specify the output file name and to handle the authentication?<br />
<br />
Has anyone done that? Is it possible?<br />
Any pointers would be greatly appreciated.<br />
<br />
Thanks in advance
Find more posts tagged with
Comments
There are no comments yet