It's all about the answers!

Ask a question

Jazz DW Data Source


Xiang Dong Hu (762) | asked Aug 17 '07, 10:13 p.m.
JAZZ DEVELOPER
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!

4 answers



permanent link
James Moody (3.3k24) | answered Aug 21 '07, 9:28 a.m.
JAZZ DEVELOPER
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:

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!

permanent link
Xiang Dong Hu (762) | answered Aug 21 '07, 2:02 a.m.
JAZZ DEVELOPER
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!

permanent link
Xiang Dong Hu (762) | answered Aug 20 '07, 4:25 p.m.
JAZZ DEVELOPER
Hi James,

Yes the snapshot combo is populated with a list of snapshots.
I'm using local server in the same machine with the client. Is there any
setting needed in server or client?

I can't connect to jazzdev, the snapshot combo is empty if I input the
jazzdev url as repository.

permanent link
James Moody (3.3k24) | answered Aug 20 '07, 9:20 a.m.
JAZZ DEVELOPER
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:

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!

Your answer


Register or to post your answer.