IBM Support

PI88152: MESSAGE ENHANCEMENT FOR BLUEMIXUTILITY.LOGIN() COMMAND WITH A FEDERATED USER.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The BluemixUtility login failed with confusing error message
    when an user has a federated ID.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server who use the Bluemix utility          *
    ****************************************************************
    * PROBLEM DESCRIPTION: The BluemixUtility login failed with    *
    *                      confusing error message when an user    *
    *                      has a federated ID.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When an user attempt to login to Bluemix using wsadmin on tWAS
    using command BluemixUtility.login() and if the user has a
    federated ID, he/she will receive the following message:
    WASX7015E: Exception running command:
    "BluemixUtility.login("user="+"userName@any.com",
    "password=*****", ...)"; exception
    information:
    com.ibm.bsf.BSFException: exception from Jython:
    Traceback (most recent call last):
    File "<input>", line 1, in <module>
    File
    "/opt/RQMAuto/WAS/scriptLibraries/bluemixutility/BluemixUtility.
    py", line 228, in login
    raise Exception(val)
    Exception: <type 'java.lang.Exception'> java.lang.Exception:
    com.ibm.ws.bluemix.utility.cloudfoundry.CloudFoundryException:
    BMUX0012E: An unexpected error occurred when performing an IBM
    Bluemix operation. Error: BMXLS0202E: You are using a
    federated user ID, please use one time code to login with
    option --sso.
    The message is confusing as there is no "--sso" option with
    the BluemixUtility.login() command.
    

Problem conclusion

  • Enhanced the BluemixUtility login message for the case that an
    user logs into Bluemix with a federated user ID.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 9.0.0.6.  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

    PI88152

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-10-02

  • Closed date

    2017-10-10

  • Last modified date

    2017-11-03

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 May 2022