RTC BIRT Report throwing exception for flat file data source.
Hi,
A customer is facing the below problem. I request you to please help me with this. This is what he wrote to me. Thanks in advance.
Server Version: RTC V4.0.2
Customer Email:
I am creating a flat file data source with RTC , where I am connecting to a CSV file. I provide this CSV file under Files at the time of deployment on to the server.
This works file in the RTC report viewer but fails after the deployment on to the server. Below is the error that is displayed in the web browser.
Your support is highly appreciated.
Steps :
1. Develop the report with CSV file as flat file data source
2. Preview the report design in Eclipse Client -- Worked fine
3. Deploy the report on server with CSV file attached under Files Section
4. Run the Report in Web Broswer. - Failed
Error Message :
Data Set1::WI_ID
Data Set1::SUMMARY
Data Set::UniqueID
Data Set::Name
Data Set::Role
Jan 28, 2014 1:31 PM
The following items have errors:
Table (id = 12):
+ An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: org.eclipse.datatools.connectivity.oda.flatfile.
org.eclipse.datatools.connectivity.oda.OdaException: Cannot open flat file database under directory: C:\Users\IBM_ADMIN\workspace-4.0.2\XLSDataSourceProject
Note: My other BIRT Reports works fine with jazz Datasource...both in RTC Eclipse Client Viewer and Web Browser after the deployment.
|
One answer
Hi Chetna,
It seems that you have hardcoded path to csv files in data source. Please check whether you have any data in C:\Users\IBM_ADMIN\workspace-4.0.2\XLSDataSourceProject on your server. Also please check permissions to that directory on the server. Let us know if that helps. Comments Hi Krzysztof,
Krzysztof Kaźmierczyk
commented Jan 29 '14, 5:27 a.m.
Hi Chethna,
Tojan John
commented Sep 04 '14, 8:15 a.m.
Hi Krysztof,
Adding csv file to Files section during deploying the report is not enough? If not, is there any specific path where we need to store the csv file in server? After storing the file in server, where we need to add the path in report? Please help.
Regards,
Tojan.
|
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.