RTC report with data from external source
![]()
Hello,
we have been creating a BIRT report that get cross information of RTC repostiory info and an external DB repository info. It works OK in BIRT but when we try to upload the template and create a report with it we get an error that it can't connect to the DB:
Has anybody knows how to make BIRT embeded engine locate the DB2 driver files? Thanks! Regards, Jorge. |
3 answers
![]()
You need to add your JDBC drivers to the drivers/ folder in the org.eclipse.birt.report.data.oda.jdbc plug-in directory on the server. This may exist in multiple locations, so be sure to add it to all of them for completeness. Also if you're using tomcat you'll probably need to delete the work directory before starting the server again.
james RTC Reports Team Lead Hello, |
![]()
Is this supported in RTC 2? Where should the drivers be added (I don't see the BIRT plugin folder under eclipse/plugins)?
Many thanks. regards, ben You need to add your JDBC drivers to the drivers/ folder in the org.eclipse.birt.report.data.oda.jdbc plug-in directory on the server. This may exist in multiple locations, so be sure to add it to all of them for completeness. Also if you're using tomcat you'll probably need to delete the work directory before starting the server again. |
![]()
I got this to work by copying the BIRT plugin folder from my team concert (eclipse) client. Note that I had to manually edit the eclipse config.ini to add the bundle, and delete the cached bundles from the Websphere temp directory.
Feels like a particularly hacky approach to add the functionality, but I haven't seen any instructions as to a better way.. Is this supported in RTC 2? Where should the drivers be added (I don't see the BIRT plugin folder under eclipse/plugins)? You need to add your JDBC drivers to the drivers/ folder in the org.eclipse.birt.report.data.oda.jdbc plug-in directory on the server. This may exist in multiple locations, so be sure to add it to all of them for completeness. Also if you're using tomcat you'll probably need to delete the work directory before starting the server again. |