How to cleanup invalid consumer keys
Sean G Wilbur (872●2●24●21)
| 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.
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
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
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. |
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, |
Hi Nicolas, 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? |
The solution suggested my Nicolas does not alone solve this problem. |
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
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.