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

repotools-ccm compacttdb error

Hi all, I need to run repotools-ccm and repotools-jts with compacttdb option to compact indexes.
It is failling with some errors, sugestions are welcome. Thanks!

The command line shows:
[root@hostname ~]# ./repotools-jts.sh -compacttdb srcdir=./conf/jts/indices tempdir=/U01/tmp > /U01/tmp/compacttdb_jts.log

        at com.ibm.team.social.common.HttpsSocketFactoryHelper.registerHttpsSocketFactory(HttpsSocketFactoryHelper.java:54)
        at com.ibm.team.social.common.HttpsSocketFactoryHelper.registerHttpsSocketFactory(HttpsSocketFactoryHelper.java:46)
        at com.ibm.team.social.service.internal.Activator.start(Activator.java:40)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
        at java.security.AccessController.doPrivileged(AccessController.java:327)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
...

And the log created shows:

Repo Tools
Provisioning using "./conf/ccm/provision_profiles".
  Jazz Foundation - Core Libraries, Version 5.0.2 (RJF-I20141028-1603)
  Change and Configuration Management - Core Libraries, Version 5.0.2 (RTC-I20141031-0926)


 To submit questions about issues, go to the Jazz.net forum at https://jazz.net/forum.
 To find more information about a message, see the online product documentation.
CRJAZ1363I Loading the configuration from "file:conf/ccm/teamserver.properties".
The class "com.ibm.team.apt.internal.service.progress.IPlanProgressService" failed to load. The bundle "com.ibm.team.qp.transport" could not find the class.
The class "com.ibm.team.apt.internal.service.progress.IPlanProgressService" failed to load. The bundle "com.ibm.team.qp.transport" could not find the class.
CRJAZ1778I This server is configured as an application.
Plug-in "com.ibm.team.repository.jdbcdriver.db2" was unable to instantiate class "com.ibm.team.repository.jdbcdriver.internal.db2.Db2Provider".
CRJAZ1093E The "com.ibm.team.repository.jdbcdriver.internal.db2.Db2Provider" feature could not start.





0 votes



One answer

Permanent link
You may just need to use the "-clean" option to reset the repotools configuration. The below post shows the same issue with the solution.
https://jazz.net/forum/questions/214098/plug-in-comibmteamrepositoryjdbcdriverdb2-was-unable-to-instantiate-class-comibmteamrepositoryjdbcdriverinternaldb2db2provider-running-repotools-qm-reindex

0 votes

Comments

Thanks , in my case repotools-ccm.sh -clean only gives me the help, the same for repotools-jts.sh -clean. No errors, only the help is displayed.
Any special options to use "-clean"?

It doesn't show any successful message as far as I can see. You can judge by the time it takes to execute the command. In my case, the "-clean" option takes nearly a minute, while "-help" only a couple of seconds. Both options display the help content.

thanks! Now I can run it with -compacttdb option. How do I know the run completes with success?

For jts
repotools-jts -compacttdb srcdir=./conf/jts/indices tempdir=/U01/tmp
the log created ends like this:
...
2016-11-24 11:54:24,425 CRJZS6132I 4 RDF index directories were compacted in 3 seconds

For ccm
repotools-ccm -compacttdb srcdir=./conf/ccm/indices tempdir=/U01/tmp
the log ends:
...
2016-11-24 12:24:52,568 CRJZS6132I 2 RDF index directories were compacted in 1464 seconds

They appear as successful to me, as it says the directories were compacted. I suppose you don't see any errors or warnings in between, right?

They appear as successful to me, as it says the directories were compacted. I suppose you don't see any errors or warnings in between, right?

Thanks, I was expecting to see a message saying "complete" or "xxx bytes compacted" :) Again thanks for you answers.

showing 5 of 6 show 1 more comments

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
× 7,495

Question asked: Nov 21 '16, 12:00 p.m.

Question was seen: 2,668 times

Last updated: Nov 28 '16, 9:53 a.m.

Confirmation Cancel Confirm