Jazz DW Data Source
Is there any necessary setting before I can use the "Jazz DW Data Source"
in my report?
I just created a sample report, and created a new "Jazz DW Data Source",
point to my local server and any snapshot. When I clicked the "Test
Connection" button, there was always a "Ping failed", the detail is:
org.eclipse.datatools.connectivity.oda.OdaException ;
com.ibm.team.repository.common.TeamRepositoryException: need to pass
service app context to data source
at
com.ibm.team.reports.common.oda.generic.GenericConnection.open(GenericConnection.java:45)
at
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:235)
at
org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.open(OdaConnectionWrapper.java:209)
at
org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.<init>(OdaConnectionWrapper.java:59)
at
org.eclipse.datatools.connectivity.oda.profile.OdaConnectionFactory.createConnection(OdaConnectionFactory.java:26)
at
org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:77)
at
org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:354)
at
org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:57)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.ibm.team.repository.common.TeamRepositoryException: need to
pass service app context to data source
at
com.ibm.team.reports.service.internal.ServiceConnection.getSnapshotDescriptor(ServiceConnection.java:35)
at
com.ibm.team.reports.common.oda.generic.GenericConnection.open(GenericConnection.java:43)
... 8 more
I tried both 0.6M1U1 and 0.6M2.
Any help/suggestions will be appreciated!
in my report?
I just created a sample report, and created a new "Jazz DW Data Source",
point to my local server and any snapshot. When I clicked the "Test
Connection" button, there was always a "Ping failed", the detail is:
org.eclipse.datatools.connectivity.oda.OdaException ;
com.ibm.team.repository.common.TeamRepositoryException: need to pass
service app context to data source
at
com.ibm.team.reports.common.oda.generic.GenericConnection.open(GenericConnection.java:45)
at
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:235)
at
org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.open(OdaConnectionWrapper.java:209)
at
org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.<init>(OdaConnectionWrapper.java:59)
at
org.eclipse.datatools.connectivity.oda.profile.OdaConnectionFactory.createConnection(OdaConnectionFactory.java:26)
at
org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:77)
at
org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:354)
at
org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:57)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.ibm.team.repository.common.TeamRepositoryException: need to
pass service app context to data source
at
com.ibm.team.reports.service.internal.ServiceConnection.getSnapshotDescriptor(ServiceConnection.java:35)
at
com.ibm.team.reports.common.oda.generic.GenericConnection.open(GenericConnection.java:43)
... 8 more
I tried both 0.6M1U1 and 0.6M2.
Any help/suggestions will be appreciated!
4 answers
Hi,
Does the snapshot combo get populated with a list of snapshots? If so
that's good, because it means communication with the server is working.
Are you trying to talk to a localhost server or jazzdev? I just tried it
with both and the ping succeeded for me.
james
huxd@cn.ibm.com wrote:
Does the snapshot combo get populated with a list of snapshots? If so
that's good, because it means communication with the server is working.
Are you trying to talk to a localhost server or jazzdev? I just tried it
with both and the ping succeeded for me.
james
huxd@cn.ibm.com wrote:
Is there any necessary setting before I can use the "Jazz DW Data
Source" in my report?
I just created a sample report, and created a new "Jazz DW Data Source",
point to my local server and any snapshot. When I clicked the "Test
Connection" button, there was always a "Ping failed", the detail is:
org.eclipse.datatools.connectivity.oda.OdaException ;
com.ibm.team.repository.common.TeamRepositoryException: need to pass
service app context to data source
at
com.ibm.team.reports.common.oda.generic.GenericConnection.open(GenericConnection.java:45)
at
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaConnection.open(OdaConnection.java:235)
at
org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.open(OdaConnectionWrapper.java:209)
at
org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.<init>(OdaConnectionWrapper.java:59)
at
org.eclipse.datatools.connectivity.oda.profile.OdaConnectionFactory.createConnection(OdaConnectionFactory.java:26)
at
org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:77)
at
org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:354)
at
org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:57)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.ibm.team.repository.common.TeamRepositoryException: need
to pass service app context to data source
at
com.ibm.team.reports.service.internal.ServiceConnection.getSnapshotDescriptor(ServiceConnection.java:35)
at
com.ibm.team.reports.common.oda.generic.GenericConnection.open(GenericConnection.java:43)
... 8 more
I tried both 0.6M1U1 and 0.6M2.
Any help/suggestions will be appreciated!
Some new findings:
I tried reports in com.ibm.team.examples.reports.client.
If I deploy them in my local Jazz server and run reports from Jazz clients
(Eclipse or Web), reports will be run correctly.
Checking codes can see that Jazz services (like ReportViewerService) will
set the app context (containing IDataWarehouseService instance) to
ServiceConnection correctly.
But if I open those report designs in "Report Design" perspective
directly, and try to preview, there will be errors (Cannot open the
connection for the driver: com.ibm.team.reports.generic.dataSource).
The ServiceConnection.setAppContext method never invoked in this scenario,
so the ServiceConnection can't get IDataWarehouseService instance.
Sorry I'm a newbie to the team reports. Now the problem is, how can I
design and preview reports using Jazz DW data source in "Report Design"?
Any ideas/suggestions will be appreciated!
I tried reports in com.ibm.team.examples.reports.client.
If I deploy them in my local Jazz server and run reports from Jazz clients
(Eclipse or Web), reports will be run correctly.
Checking codes can see that Jazz services (like ReportViewerService) will
set the app context (containing IDataWarehouseService instance) to
ServiceConnection correctly.
But if I open those report designs in "Report Design" perspective
directly, and try to preview, there will be errors (Cannot open the
connection for the driver: com.ibm.team.reports.generic.dataSource).
The ServiceConnection.setAppContext method never invoked in this scenario,
so the ServiceConnection can't get IDataWarehouseService instance.
Sorry I'm a newbie to the team reports. Now the problem is, how can I
design and preview reports using Jazz DW data source in "Report Design"?
Any ideas/suggestions will be appreciated!
This is something we would like to improve, but we don't use the
"Preview" tab in the BIRT report design editor, so I'm not sure what's
wrong... our workflow usually consists of re-deploying the report in the
Team Artifacts view and viewing it in either the rich client or web ui.
Not quite as convenient as the preview tab but it works.
james
huxd@cn.ibm.com wrote:
"Preview" tab in the BIRT report design editor, so I'm not sure what's
wrong... our workflow usually consists of re-deploying the report in the
Team Artifacts view and viewing it in either the rich client or web ui.
Not quite as convenient as the preview tab but it works.
james
huxd@cn.ibm.com wrote:
Some new findings:
I tried reports in com.ibm.team.examples.reports.client.
If I deploy them in my local Jazz server and run reports from Jazz
clients (Eclipse or Web), reports will be run correctly.
Checking codes can see that Jazz services (like ReportViewerService)
will set the app context (containing IDataWarehouseService instance) to
ServiceConnection correctly.
But if I open those report designs in "Report Design" perspective
directly, and try to preview, there will be errors (Cannot open the
connection for the driver: com.ibm.team.reports.generic.dataSource).
The ServiceConnection.setAppContext method never invoked in this
scenario, so the ServiceConnection can't get IDataWarehouseService
instance.
Sorry I'm a newbie to the team reports. Now the problem is, how can I
design and preview reports using Jazz DW data source in "Report Design"?
Any ideas/suggestions will be appreciated!