Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-3422

Upgrade failure in OAuth2 Client Profiles

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.0.0
    • Fix Version/s: 10.0.2, 11.0.1, 12.0.0
    • Component/s: oauth2, upgrade
    • Labels:
    • Environment:
      11.0.0 Release upgrading to 12.0.0-SNAPSHOT_20131210
    • Rank:
      1|hzo6tj:

      Description

      When trying to upgrade my environment to the latest snapshot it returned an error message and the following error in the amUpgrade debug log. The error message points at the OAuth Client/Agent profiles.

      ERROR: An error occurred while trying to look for upgradable OAuth2 client profiles
      Message:Organization name subrealm is invalid
      
              at com.sun.identity.sm.ServiceInstanceImpl.constructServiceInstanceDN(ServiceInstanceImpl.java:273)
              at com.sun.identity.sm.ServiceInstanceImpl.checkAndUpdatePermission(ServiceInstanceImpl.java:238)
              at com.sun.identity.sm.ServiceInstanceImpl.getInstance(ServiceInstanceImpl.java:177)
              at com.sun.identity.sm.ServiceConfigManagerImpl.getOrganizationConfig(ServiceConfigManagerImpl.java:219)
              at com.sun.identity.sm.ServiceConfigManager.getOrganizationConfig(ServiceConfigManager.java:277)
              at org.forgerock.openam.upgrade.steps.UpgradeOAuth2ClientStep.findUpgradableConfigs(UpgradeOAuth2ClientStep.java:83)
              at org.forgerock.openam.upgrade.steps.UpgradeOAuth2ClientStep.initialize(UpgradeOAuth2ClientStep.java:71)
              at org.forgerock.openam.upgrade.UpgradeServices.<init>(UpgradeServices.java:82)
              at org.forgerock.openam.upgrade.UpgradeServices.getInstance(UpgradeServices.java:104)
              at com.sun.identity.config.upgrade.Upgrade.<init>(Upgrade.java:55)
      ...

      Full amUpgrade debug log showing full stack traces attached.

        Attachments

          Activity

            People

            Assignee:
            sachiko Sachiko Wallace
            Reporter:
            samdrew Sam Drew
            QA Assignee:
            Sam Drew Sam Drew
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: