It's all about the answers!

Ask a question

How to cleanup invalid consumer keys


Sean G Wilbur (87222421) | asked Jun 22 '11, 4:27 p.m.
JAZZ DEVELOPER
edited Jun 06 '12, 6:30 p.m.
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

Accepted answer


permanent link
Nicolas Constans (22723) | answered Jun 23 '11, 2:40 a.m.
JAZZ DEVELOPER
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

5 other answers



permanent link
Jerome Lanneluc (21015) | answered May 04 '12, 10:55 a.m.
JAZZ DEVELOPER
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"

Comments
Fredrik Jägare Lilja commented Jun 28 '12, 4:36 a.m.

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


permanent link
John Smith (3858) | answered Jul 20 '11, 4:22 a.m.
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

permanent link
Sofus Albertsen (471014) | answered Feb 20 '12, 3:03 a.m.
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?

permanent link
Fredrik Jägare Lilja (6135) | answered Jun 28 '12, 4:40 a.m.
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.


permanent link
Johan Grobler (121) | answered Oct 19 '12, 1:52 a.m.
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?

Your answer


Register or 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.