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

How to cleanup invalid consumer keys

My JFS diagnostics pages is showing this problem for the JFS Storage section.

WARNINGS:
The consumer key 64ff6ecf3a7e4c808577f2cea786b196 used by the storage area com.ibm.team.lpa.408a3a4e-ebcb-4536-a279-8c5561102de0 does not exist.
The consumer key 64ff6ecf3a7e4c808577f2cea786b196 used by the storage area com.ibm.team.lpa.408a3a4e-ebcb-4536-a279-8c5561102de0.configs does not exist.
The consumer key 64ff6ecf3a7e4c808577f2cea786b196 used by the storage area com.ibm.team.lpa.408a3a4e-ebcb-4536-a279-8c5561102de0.index does not exist.
The consumer key 64ff6ecf3a7e4c808577f2cea786b196 used by the storage area com.ibm.team.lpa.408a3a4e-ebcb-4536-a279-8c5561102de0.projects does not exist.
The consumer key 64ff6ecf3a7e4c808577f2cea786b196 used by the storage area com.ibm.team.lpa.408a3a4e-ebcb-4536-a279-8c5561102de0.templates does not exist.


There was a problem with the /admin app registration so I un-registered it but these key references are still hanging around, how can I clean them up?

I am in WAS 7 here and I tried stopping and clearing wstemp & wscache as well, TIA.

-Sean

0 votes


Accepted answer

Permanent link
Hi Sean,

to clean unused keys, try updating the storage area with the repotools-jts command:

1- shut down your application server
2- open a command prompt and cd to <install>\JazzTeamServer\server directory
3- retrieve all current keys from the storage area with this command:
repotools-jts -listStorageAreaKeys toFile=storageAreaKeys.txt
4- open the storageAreaKeys.txt file, remove all unused key entries, save the file
5- update the storage area keys with this command:
repotools-jts -setStorageAreaKeys fromFile=storageAreaKeys.txt
6- restart your application server and run a diagnostic to check that no unused storage key remains.

I hope this helps.
FYI, the repotools command reference is published on ibm.com at http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.jazz.install.doc/topics/c_repotools_overview.html

Regards,

-Nicolas
Sean G Wilbur selected this answer as the correct answer

-1 votes


5 other answers

Permanent link
I wish I had seen this before, but as the owner of this command I can assure you that simply removing the unused keys from the file and running "repotools-jts -setStorageAreaKeys fromFile=storageAreaKeys.txt" will not remove the keys from the storage areas.

What you need to do is go to the Consumers (Inbound) page (<your>/jts/admin#action=com.ibm.team.repository.admin.configureOAuth) and copy the consumer key for the "/admin" consumer.
In the storageAreaKeys.txt file, replace the consumer key for com.ibm.team.lpa.408a3a4e-ebcb-4536-a279-8c5561102de0 with the one you just copied, save, and run "repotools-jts -setStorageAreaKeys fromFile=storageAreaKeys.txt"

2 votes

Comments

I did the additional steps as Jerome suggested and it worked fine for me. Thanks.


Permanent link
Hi Nicolas,

I have the same issue and followed your steps to clean unused keys. I opened the storageAreaKeys.txt file, removed all unused key entries, saved the file, and updated the storage area keys with "repotools-jts -setStorageAreaKeys fromFile=storageAreaKeys.txt" command. However when I run JFS storage diagnostics, still the unused keys are shown.

Is there any other steps are required?

Thank you for in advance.
John.


Hi Sean,

to clean unused keys, try updating the storage area with the repotools-jts command:

1- shut down your application server
2- open a command prompt and cd to <install>\JazzTeamServer\server directory
3- retrieve all current keys from the storage area with this command:
repotools-jts -listStorageAreaKeys toFile=storageAreaKeys.txt
4- open the storageAreaKeys.txt file, remove all unused key entries, save the file
5- update the storage area keys with this command:
repotools-jts -setStorageAreaKeys fromFile=storageAreaKeys.txt
6- restart your application server and run a diagnostic to check that no unused storage key remains.

I hope this helps.
FYI, the repotools command reference is published on ibm.com at http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.jazz.install.doc/topics/c_repotools_overview.html

Regards,

-Nicolas

0 votes


Permanent link
Hi Nicolas,

I have the same issue and followed your steps to clean unused keys. I opened the storageAreaKeys.txt file, removed all unused key entries, saved the file, and updated the storage area keys with "repotools-jts -setStorageAreaKeys fromFile=storageAreaKeys.txt" command. However when I run JFS storage diagnostics, still the unused keys are shown.

Is there any other steps are required?

Thank you for in advance.
John.


I have the same issue. If you run list, then delete, then put the keys back, then list again, they are still there.
Is it maybe a bug in the repotools?

0 votes


Permanent link
The solution suggested my Nicolas does not alone solve this problem. 

I had the same issue as several of the people posting above after a migration to a new server hardware. To resolve this I followed the additional steps as suggested by Jerome. This worked fine for me after a server restart.

0 votes


Permanent link
Jerome,

I seem to have a similar problem with consumer keys. I am trying to find these keys on the Consumer Inbound page, but cannot find anything.

   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.annotations does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.comments does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.explorerfilters does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.explorersettings does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.explorerstate does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.folders does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.groups does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.hashes does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.importdefs does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.importer does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.importschedules does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.index does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.links does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.linktypes does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.models does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.reporting does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.reviews does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.service does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.status does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.subscriptions does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.textIndex does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.tracker does not exist.
   The consumer key 2625ac5709364f1dac90f418da40ec9a used by the storage area com.ibm.xtools.rmps.validation does not exist.

From the names, I assume that these are some cross-server classes. Any suggestions?

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

Question asked: Jun 22 '11, 4:27 p.m.

Question was seen: 8,828 times

Last updated: Oct 19 '12, 1:52 a.m.

Confirmation Cancel Confirm