IBM Support

PI81328: RUNNING WASPOSTUPGRADE FAILS WITH ALLAUTHENTICATEDUSERSINTRUSTEDREAL

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • This error is seen in the WASPostUpgrade log:
    
    java.lang.Exception: java.lang.NoSuchMethodException:
    com.ibm.ws.migration.postupgrade.common.RoleBasedAuthzConfig.
    arePrimaryKeysEqual
    (com.ibm.websphere.models.config.rolebasedauthz.impl.
    AllAuthenticatedUsersInTrustedRealmsExtImpl,
    com.ibm.websphere.models.config.rolebasedauthz.impl.
    AllAuthenticatedUsersInTrustedRealmsExtImpl)
    com.ibm.ws.migration.utility.UpgradeException:
    java.lang.Exception: java.lang.NoSuchMethodException:
    com.ibm.ws.migration.postupgrade.common.RoleBasedAuthzConfig.
    arePrimaryKeysEqual
    (com.ibm.websphere.models.config.rolebasedauthz.impl.
    AllAuthenticatedUsersInTrustedRealmsExtImpl,
    com.ibm.websphere.models.config.rolebasedauthz.impl.
    AllAuthenticatedUsersInTrustedRealmsExtImpl)
     at com.ibm.ws.migration.postupgrade.Restore.<init>
       (Restore.java:571)
     at com.ibm.ws.migration.postupgrade.WASPostUpgrade.restore
      (WASPostUpgrade.java:285)
     at com.ibm.ws.migration.postupgrade.WASPostUpgrade.main
      (WASPostUpgrade.java:592)
       ....
    MIGR0286E: The migration failed to complete.
    

Local fix

  • Keywords: migrate iseries as/400 WAS websphere WASPreUpgrade
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Migration Tooling                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: WASPostUpgrade fails when               *
    *                      AllAuthenticatedUsersInTrustedRealmsExt *
    *                      is duplicated in the source config.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    There should be only one entry in the admin-authz.xml file for
    the AllAuthenticatedUsersInTrustedRealmsExt object.  When
    there are two entries it triggers a comparison for equality
    method in WASPostUpgrade.  Since it is not defined it throws a
    NoSuchMethodException and quits.
    

Problem conclusion

  • Although there is suppose to be only one entry for the
    AllAuthenticatedUsersInTrustedRealmsExt, somehow a second one
    was defined. This object is either there or it is not.  So the
    second is really just ignored in the runtime. But not by the
    migraiton code.  We added an ArePrimaryKeysEqual method to
    handle multiple entries.  It alway will return true, this will
    avoid the exception and failure during WASPostUpgrade.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.12 and 9.0.0.5.  Please refer to the Recommended
    Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI81328

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-05-09

  • Closed date

    2017-06-08

  • Last modified date

    2017-06-08

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R850 PSY

       UP

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
19 October 2021