Run BIRT raport using Jazz Data Source - exception
Hello
Few facts :
1. I created rptdesign file using BIRT Designer plugin in Eclipse IDE.
2. When I preview report in Eclipse everything is OK.
3. I have written Java code to run the same report file in standalone application.
4. I suppose that RTC Eclipse establish RTC connections internal.
5. We are using BIRT to get data form WAREHOUSE ( e.g. WORKITEMS_SNAPSHOT )
Now my exception ( pasted from generated raport ( contain only error messages as html )) :
Any help will be appreciated.
Arek
Few facts :
1. I created rptdesign file using BIRT Designer plugin in Eclipse IDE.
2. When I preview report in Eclipse everything is OK.
3. I have written Java code to run the same report file in standalone application.
4. I suppose that RTC Eclipse establish RTC connections internal.
5. We are using BIRT to get data form WAREHOUSE ( e.g. WORKITEMS_SNAPSHOT )
Now my exception ( pasted from generated raport ( contain only error messages as html )) :
Text (id = 168):
- An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: com.ibm.team.reports.generic.dataSource.
Data warehouse service must be specified
exception.error ( 1 time(s) )
detail : org.eclipse.birt.report.engine.api.EngineException: An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: com.ibm.team.reports.generic.dataSource.
Data warehouse service must be specified
at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1215)
at org.eclipse.birt.report.engine.executor.ExecutionContext.addException(ExecutionContext.java:1179)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:96)
at org.eclipse.birt.report.engine.executor.TextItemExecutor.executePlainText(TextItemExecutor.java:152)
at org.eclipse.birt.report.engine.executor.TextItemExecutor.execute(TextItemExecutor.java:74)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:90)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:99)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:170)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:75)
at com.intel.itp.integration.warehouse.agilityindex.internal.StandaloneReportExecutor.runReport(StandaloneReportExecutor.java:99)
at com.intel.itp.integration.warehouse.agilityindex.internal.StandaloneReportExecutor.main(StandaloneReportExecutor.java:55)
Caused by: org.eclipse.birt.report.data.adapter.api.AdapterException: An exception occurred during processing. Please see the following message for details:
Cannot open the connection for the driver: com.ibm.team.reports.generic.dataSource.
Data warehouse service must be specified
at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:580)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:265)
at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1875)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
... 12 more
Caused by: org.eclipse.birt.data.engine.core.DataException: Cannot open the connection for the driver: com.ibm.team.reports.generic.dataSource.
Data warehouse service must be specified
at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.openConnection(ConnectionManager.java:177)
at org.eclipse.birt.data.engine.executor.DataSource.newConnection(DataSource.java:190)
at org.eclipse.birt.data.engine.executor.DataSource.open(DataSource.java:178)
at org.eclipse.birt.data.engine.impl.DataSourceRuntime.openOdiDataSource(DataSourceRuntime.java:208)
at org.eclipse.birt.data.engine.impl.QueryExecutor.openDataSource(QueryExecutor.java:405)
at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:315)
at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:448)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178)
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:145)
at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:560)
... 16 more
Caused by: org.eclipse.datatools.connectivity.oda.OdaException: Data warehouse service must be specified
at com.ibm.team.reports.service.oda.internal.ServiceConnection.setAppContext(ServiceConnection.java:79)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.setAppContext(OdaConnection.java:292)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:218)
at org.eclipse.birt.data.engine.odaconsumer.ConnectionManager.openConnection(ConnectionManager.java:165)
... 26 more
Any help will be appreciated.
Arek
Comments
Krzysztof Kaźmierczyk
May 15 '13, 6:14 a.m.Hello Arek,
Did you have a chance to fix it? What was the resolution?
1 vote