IBM Support

JR52835: Cannot log on when user exists on LDAP but not on the WebSphere Commerce database.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a user attempts to log on by using LDAP, if the user exists
    on LDAP but not on the database, WebSphere Commerce tries to
    create the user in the database. there are multiple attempts to
    create the user on the database.
    
    UserSyncBean.findByLogonId() creates the parent organization of
    the user in the WebSphere Commerce database, since that
    organization only exists in LDAP at the beginning. Later, when
    LDAPAuthenticationCmd calls UserSyncBean.findByLogonId() again,
    UserSyncBean.findByLogonId() tries to recreate the parent
    organization (using a different memberID), because it is looking
     up the organization based on DN, and not by OrgEntityName. This
     is where an exception is thrown and the transaction is rolled
    back.
    
    There is a limitation of EJBs that you can only find a newly
    created EJB/databaseEntry if you find it using the attributes
    that were passed in the original ejbCreate() method.
    

Local fix

Problem summary

  • USERS AFFECTED:
    Users on WebSphere Commerce v7 that is configured with LDAP.
    
    PROBLEM ABSTRACT:
    Cannot log on when user exists on LDAP but not on the WebSphere
    Commerce database.
    
    BUSINESS IMPACT:
    Shoppers whose registration data exists on LDAP but not on the
    WebSphere Commerce database cannot log on.
    
    RECOMMENDATION:
    

Problem conclusion

  • To solve the issue, add ServerJDBCHelperAccessBean.flush() to
    SyncBeanBase.create()
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR52835

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-16

  • Closed date

    2015-05-27

  • Last modified date

    2015-05-27

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB31","label":"WCE Watson Marketing and Commerce"}}]

Document Information

Modified date:
11 December 2021