Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Generating BIRT reports with a scheduler

Hello,
I need to automate the BIRT report generation via a scheduler to generate PDFs. I think I have 2 possibilities:
1) Using the runReport batch file:
I can generate the sample report but when I want to generate a Jazz (RTC-based) report I get the error:

  Mar 15, 2013 1:58:12 PM org.eclipse.birt.data.engine.odaconsumer.Driver doGetDri verManifest SEVERE: Cannot find or process the ODA data source extension configuration. java.lang.IllegalArgumentException: Cannot find the ODA dataSource extension (co m.ibm.team.reports.generic.dataSource). Check the workspace log file for any problems with loading the extension bundle and its dependencies. at org.eclipse.datatools.connectivity.oda.util.manifest.ManifestExplorer .getExtensionManifest(ManifestExplorer.java:200)

What am i doing wrong? I check the ODA jar is part of the BIRT runtime...

2) Do the export to PDF from the Web UI:
I call com.ibm.team.reports.service.internal.IReportViewerService with the parameters:
 __format=pdf
.__projectAreaUUID=xxx (pass in the UUID of the project area containing the report)
__ownerUUID=xxx (pass in the UUID of the contributor who is making the request)

However how to a create a script to specify the output file name and to handle the authentication?

Has anyone done that? Is it possible?
Anything pointers are greatly appreciated.

Thanks in advance

0 votes



3 answers

Permanent link
Solution 1 is impossible. The RTC Birt reports depend heavily on a custom RTC ODA Driver. The driver it self has extensive dependencies on the RTC server runtime.

1 vote


Permanent link

The reporting team is not familiar with the runReport batch file. Can you please elaborate? Currently we only support reports being rendered using the out of the box RTC user interface.

Solution 2 will require the use of some command line based HTTP client. we will need time to envitigate this as an enhancement request.

0 votes


Permanent link
Sorry, I should have said genReport script file and not runReport. That's the script that comes with the BIRT runtime.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 324
× 112

Question asked: Mar 15 '13, 2:49 p.m.

Question was seen: 7,801 times

Last updated: Mar 18 '13, 3:01 p.m.

Confirmation Cancel Confirm