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

Problem whit Extending the Data Warehouse

Hi guy,
I have a problem:
-in this wiki page
https://jazz.net/wiki/bin/view/Main/DataWarehouseExtending?&cover=print

At some point be required some plug-ins but I don't found these two plug-ins:
-com.ibm.team.repository.service
-com.ibm.team.datawarehouse.service

Where to find them?
Any suggestions

Thanks

Andrea

0 votes



10 answers

Permanent link
Those are server plugins and my guess you are trying to find them in the client target. You need to download the Jazz SDK.

0 votes


Permanent link
Those are server plugins and my guess you are trying to find them in the client target. You need to download the Jazz SDK.


Thanks, now the dependencies works.

However I have another problem; when I try to export the plugin and deploy it into server (server\update-site\plugins folder) I have these errors:

1. ERROR in C:\Documents and Settings\Administrator\workspace\p\src\com\ibm\team\examples\datawarehouse\service\numbers\internal\NumbersSnapshotExtensionService.java (at line 14)
import com.ibm.team.repository.service.AbstractService;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import com.ibm.team.repository.service.AbstractService cannot be resolved
----------
2. ERROR in C:\Documents and Settings\Administrator\workspace\p\src\com\ibm\team\examples\datawarehouse\service\numbers\internal\NumbersSnapshotExtensionService.java (at line 16)
public class NumbersSnapshotExtensionService extends AbstractSnapshotService implements ISnapshotExtensionService {
^^^^^^^^^^^^^^^^^^^^^^^
AbstractSnapshotService cannot be resolved to a type
----------
3. ERROR in C:\Documents and Settings\Administrator\workspace\p\src\com\ibm\team\examples\datawarehouse\service\numbers\internal\NumbersSnapshotExtensionService.java (at line 19)
return getService(INumbersSnapshotService.class);
^^^^^^^^^^
The method getService(Class<INumbersSnapshotService>) is undefined for the type NumbersSnapshotExtensionService
----------
----------
4. ERROR in C:\Documents and Settings\Administrator\workspace\p\src\com\ibm\team\examples\datawarehouse\service\numbers\internal\NumbersSnapshotService.java (at line 20)
public class NumbersSnapshotService
^^^^^^^^^^^^^^^^^^^^^^
The hierarchy of the type NumbersSnapshotService is inconsistent
----------
5. ERROR in C:\Documents and Settings\Administrator\workspace\p\src\com\ibm\team\examples\datawarehouse\service\numbers\internal\NumbersSnapshotService.java (at line 21)
extends AbstractSnapshotService implements INumbersSnapshotService {
^^^^^^^^^^^^^^^^^^^^^^^
The type com.ibm.team.repository.service.AbstractService cannot be resolved. It is indirectly referenced from required .class files
----------
----------
6. ERROR in C:\Documents and Settings\Administrator\workspace\p\src\com\ibm\team\examples\datawarehouse\service\numbers\internal\NumbersSnapshotTask.java (at line 13)
import com.ibm.team.repository.service.async.AbstractAutoScheduledTask;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The import com.ibm.team.repository.service.async cannot be resolved
----------
7. ERROR in C:\Documents and Settings\Administrator\workspace\p\src\com\ibm\team\examples\datawarehouse\service\numbers\internal\NumbersSnapshotTask.java (at line 15)
public class NumbersSnapshotTask extends AbstractAutoScheduledTask {
^^^^^^^^^^^^^^^^^^^^^^^^^
AbstractAutoScheduledTask cannot be resolved to a type
----------
8. ERROR in C:\Documents and Settings\Administrator\workspace\p\src\com\ibm\team\examples\datawarehouse\service\numbers\internal\NumbersSnapshotTask.java (at line 20)
public String getTaskId() {
^^^^^^^^^^^
The method getTaskId() of type NumbersSnapshotTask must override a superclass method
----------
9. ERROR in C:\Documents and Settings\Administrator\workspace\p\src\com\ibm\team\examples\datawarehouse\service\numbers\internal\NumbersSnapshotTask.java (at line 25)
protected void runTask() throws TeamRepositoryException {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The method runTask() of type NumbersSnapshotTask must override a superclass method
----------
10. ERROR in C:\Documents and Settings\Administrator\workspace\p\src\com\ibm\team\examples\datawarehouse\service\numbers\internal\NumbersSnapshotTask.java (at line 26)
getService(INumbersSnapshotService.class).updateData();
^^^^^^^^^^
The method getService(Class<INumbersSnapshotService>) is undefined for the type NumbersSnapshotTask
----------
10 problems (10 errors)

Perhaps I mistake the deploy? I use the export wizard for deploy the plugin in the plugins folder while the Jazz server is stopped.

Any suggestions?

Thanks
Andrea

0 votes


Permanent link
Andrea, have you tried deploying any other kind of server plugin? Can you please try deploying a simple server service and let me know if that works. If it does not then, this is not a datawarehouse/reporting issue but rather a foundation issue and someone from the foundation team should help you.

One particular note about what you are doing. Did you deploy the plugin before or after creating the database. The datawarehouse plugin contributes new tables to the database so repotools (for creating the db) must run with the new plugin present.

0 votes


Permanent link

One particular note about what you are doing. Did you deploy the plugin before or after creating the database. The datawarehouse plugin contributes new tables to the database so repotools (for creating the db) must run with the new plugin present.


Now the deploy wizard works and insert the plugin into the jar\server\update-site\plugins .

Now I'm trying to create a plugin to add custom fields in the DW and to start I tried to run the code attached to the guide "Extending the Data Warehouse" https://jazz.net/wiki/bin/view/Main/DataWarehouseExtending.

After releasing the plugin, I:
-stop the server,
-delete the content of tomcat work folder,
-run this command repotools -addTables (because I have already the JAZZ db).

At this point I startup the Jazz server but in the JAZZ database but there aren't new tables. :(


Andrea, have you tried deploying any other kind of server plugin? Can you please try deploying a simple server service and let me know if that works. If it does not then, this is not a datawarehouse/reporting issue but rather a foundation issue and someone from the foundation team should help you.


Ok, I will try with other simple plugin.

Regards
Andrea

0 votes


Permanent link
Can someone from the foundation team answer this please? Does repotools -addTables add missing datawarehouse tables?

The datawarehouse tables are contributed using the schema extension point.

Andrea, can you please try recreating all the tables from scratch? I am not sure the -addTables option adds data warehouse tables. But I will confirm that.

0 votes


Permanent link
Hi,
I too have a problem with the guide "Extended Data Warehouse."
If I use Target Platform \server\update-site, I have an error in class NumbersSnapshotService.

The error is:
-The type com.ibm.team.repository.service.AbstractService cannot be resolved. It is indirectly referenced from required .class files

Any suggestions?

If I use the Jazz SDK folder in the Target Platform, the situation worsens.

I attached any pictures to illustrate my configuration.
http://img218.imageshack.us/img218/8306/31421103.jpg
http://img87.imageshack.us/img87/339/15156972.jpg
http://img359.imageshack.us/img359/3303/33308039.jpg
http://img359.imageshack.us/img359/9629/83201498.jpg

Thanks
Pupi


Those are server plugins and my guess you are trying to find them in the client target. You need to download the Jazz SDK.

0 votes


Permanent link
Your second attached screenshot shows the target platform - could you
scroll down in that dialog and see if "com.ibm.team.repository.service"
is in your target platform? That seems to be the one that's missing.

james
RTC Reports Team Lead

On 6/25/2009 5:38 AM, pupi wrote:
Hi,
I too have a problem with the guide "Extended Data
Warehouse."
If I use Target Platform
\server\update-site, I have an error in
classes NumbersSnapshotTask and NumbersSnapshotExtensionService.

In NumbersSnapshotTask:
-The import com.ibm.team.repository.service cannot be
resolved
-AbstractAutoScheduledTask cannot be resolved to a
type


In NumbersSnapshotExtensionService:
-import
com.ibm.team.repository.service.AbstractService

-AbstractService cannot be resolved to a
type


When can I get these libraries?

If I use the Jazz SDK folder in the Target Platform, the situation
worsens.

I attached any pictures to illustrate my configuration.

http://img87.imageshack.us/img87/3605/18134339.jpg
http://img87.imageshack.us/img87/339/15156972.jpg
http://img359.imageshack.us/img359/3303/33308039.jpg
http://img359.imageshack.us/img359/9629/83201498.jpg

Thanks
Pupi


rjaouaniwrote:
Those are server plugins and my guess you are trying to find them in
the client target. You need to download the Jazz SDK.

0 votes


Permanent link
Ok,
I solved the problem by adding an external library (repository_service.jar) in java build path.

Now I have another problem:
I have export the plugin in \server\update-site\plugin using the Export Wizard.
After this, I run repotools -addTables command but in my db there isn't a new table.
I don't see the entry "NUMBERS_SNAPSHOT" from the combo box.

There are some steps that I jump?
I forgot to export anything?
Any suggestion?

This is the output of repotools:
D:\Program Files\IBM\JazzTeamServer_1\server>repotools -addTables

Repo Tools, Version 1.0 - I20080618-1642
Provisioning using "D:\Program Files\IBM\JazzTeamServer_1\server\\provision_profiles".
Rational Jazz Team Server - Standard (60 day trial)
Loading configuration from "file:teamserver.properties".
Fulltext Index Location: workitemindex\fulltext_index\
Initial database connection successful
Db Product Name: DB2/NT
Db Product Version: SQL09050
Db Name/Location: //localhost:50000/JAZZ:fullyMaterializeLobData=false;user=xxxxxxxx;password=xxxxxxxx;
The user "ADMIN" has logged in to the database "//localhost:50000/JAZZ:fullyMaterializeLobData=false;user=xxxxxxxx;password=xxxxxxxx;".
Adding tables to the database "//localhost:50000/JAZZ:fullyMaterializeLobData=false;user=xxxxxxxx;password=xxxxxxxx;".
Database tables were added successfully.
The user "ADMIN" has logged out of the database "//localhost:50000/JAZZ:fullyMaterializeLobData=false;user=xxxxxxxx;password=xxxxxxxx;".


Thanks
Pupi


Hi,
I too have a problem with the guide "Extended Data Warehouse."
If I use Target Platform \server\update-site, I have an error in class NumbersSnapshotService.

The error is:
-The type com.ibm.team.repository.service.AbstractService cannot be resolved. It is indirectly referenced from required .class files

Any suggestions?

If I use the Jazz SDK folder in the Target Platform, the situation worsens.

I attached any pictures to illustrate my configuration.
http://img218.imageshack.us/img218/8306/31421103.jpg
http://img87.imageshack.us/img87/339/15156972.jpg
http://img359.imageshack.us/img359/3303/33308039.jpg
http://img359.imageshack.us/img359/9629/83201498.jpg

Thanks
Pupi


Those are server plugins and my guess you are trying to find them in the client target. You need to download the Jazz SDK.

0 votes


Permanent link
Hi Pupi,
I have resolved re-installing the server.

Andrea

0 votes


Permanent link
Hi Pupi,

I'm just returning to the office, sorry for the delay. Did you get this
working?

james

On 6/26/2009 11:38 AM, pupi wrote:
Ok,
I solved the problem by adding an external library
(repository_service.jar) in java build path.

Now I have another problem:
I have export the plugin in
\server\update-site\plugin using the Export
Wizard.
After this, I run repotools -addTables command but in my db there
isn't a new table.
I don't see the entry "NUMBERS_SNAPSHOT" from the combo
box.

There are some steps that I jump?
I forgot to export anything?
Any suggestion?

This is the output of repotools:
D:\Program
Files\IBM\JazzTeamServer_1\server>repotools -addTables
Repo Tools, Version 1.0 - I20080618-1642
Provisioning using "D:\Program
Files\IBM\JazzTeamServer_1\server\\provision_profiles".
Rational Jazz Team Server - Standard (60 day trial)
Loading configuration from
"file:teamserver.properties".
Fulltext Index Location: workitemindex\fulltext_index\
Initial database connection successful
Db Product Name: DB2/NT
Db Product Version: SQL09050
Db Name/Location:
//localhost:50000/JAZZ:fullyMaterializeLobData=false;user=xxxxxxxx;password=xxxxxxxx;
The user "ADMIN" has logged in to the database
"//localhost:50000/JAZZ:fullyMaterializeLobData=false;user=xxxxxxxx;password=xxxxxxxx;".
Adding tables to the database
"//localhost:50000/JAZZ:fullyMaterializeLobData=false;user=xxxxxxxx;password=xxxxxxxx;".
Database tables were added successfully.
The user "ADMIN" has logged out of the database
"//localhost:50000/JAZZ:fullyMaterializeLobData=false;user=xxxxxxxx;password=xxxxxxxx;".

Thanks
Pupi


pupiwrote:
Hi,
I too have a problem with the guide "Extended Data
Warehouse."
If I use Target Platform
\server\update-site, I have an error in
class NumbersSnapshotService.
The error is:
-The type
com.ibm.team.repository.service.AbstractService cannot be resolved.
It is indirectly referenced from required .class
files

Any suggestions?

If I use the Jazz SDK folder in the Target Platform, the situation
worsens.
I attached any pictures to illustrate my configuration.
http://img218.imageshack.us/img218/8306/31421103.jpg
http://img87.imageshack.us/img87/339/15156972.jpg
http://img359.imageshack.us/img359/3303/33308039.jpg
http://img359.imageshack.us/img359/9629/83201498.jpg

Thanks
Pupi


rjaouaniwrote:
Those are server plugins and my guess you are trying to find them in
the client target. You need to download the Jazz
SDK.

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: Apr 09 '09, 12:11 p.m.

Question was seen: 9,175 times

Last updated: Apr 09 '09, 12:11 p.m.

Confirmation Cancel Confirm