Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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!

0 votes



4 answers

Permanent link
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!

0 votes


Permanent link
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.

0 votes


Permanent link
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!

0 votes


Permanent link
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!

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,937

Question asked: Aug 17 '07, 10:13 p.m.

Question was seen: 10,123 times

Last updated: Aug 17 '07, 10:13 p.m.

Confirmation Cancel Confirm