Jazz Library Workaround: Fixing “the theming storage area has the wrong OAuth key associated with it” issue
Author name

Workaround: Fixing “the theming storage area has the wrong OAuth key associated with it”

Summary

The theming storage area has the wrong OAuth key associated with it. To fix it an Administrator must bring the server down and use repotools to change the OAuth key associated with the theming storage area.

More Information

Symptoms

All of the following symptoms will be observed:

  • If there is an active theme, the changes will not appear in the web ui.
  • When accessing the theme admin page, the list of themes will not show up.
  • The error log will have an error stating that “the theming storage area has the wrong OAuth key associated with it.”

The Fix

  1. Get the correct OAuth key.
    • Login to Jazz as an Admin.
    • Navigate to the Communication/Consumers (Inbound)
    • In the section Authorized Keys, find the net.jazz.ajax.theme entry, and copy the Consumer Key for later reuse
  2. Shutdown the server
  3. Verify you have a bad OAuth key
    • Run the command: repotools-jts.sh -listStorageAreaKeys*
    • Find the entry for ‘net.jazz.ajax.theme’ and compare it to the value copied above.
  4. Fix the OAuth key by running the command repotools-jts.sh -setStorageAreaKeys list=net.jazz.ajax.theme,<correct consumer key>
  5. Restart the jazz server

Notes

* repotools will be application area specific and platform specific, e.g. repotools-ccm.bat, repotools-jts.sh, etc.


Fri, 10 Jun 2011