IBM Support

PH47302: SECURITYOBJECTLOCATOR#GETSECURITYCONFIG() RETURNS NULL WHEN RUN IN LOCAL MODE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When calling to
    
    SecurityConfig sconfig =
    SecurityObjectLocator.getSecurityConfig();
    
    in the AppInstallNotify class, method addBeanRoleRefs.
    
    The SecurityObjectLocator#getSecurityConfig() issues CWSCF0002I
    in local mode and returns null. Because scm#isWASServer()
    returns false in local mode.
    
    sconfig.getAuthorizationConfig().getAuthorizationProvider().get
    Properties();then fails on NPE exception because sconfig is null
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    *                  who install application using wsadmin       *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException is thrown when     *
    *                      installing an ejb-related application   *
    *                      using wsadmin                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the application being deployed includes EJB with user role
    defined, if installed using wsadmin, NullPointerException
    may be thrown as null object is incorrectly accessed.
    

Problem conclusion

  • The bug has been fixed.
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.14 and 8.5.5.23. For more information, see 'Recommended
    Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH47302

  • 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

    2022-06-17

  • Closed date

    2022-08-05

  • Last modified date

    2022-08-05

  • 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

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

Document Information

Modified date:
06 August 2022