IBM Support

JR52209: WEBSPHERE JVM CRASHES AND THE JAVA CORE FILE SHOWS A GPF WITH WASJ2EEDIRECTORYIMPL.GETGROUPSFORUSER IN THE STACK TRACE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Description
    The WebSphere JVM for an IBM InfoSphere Information Server
    configured with an external user registry crashes and produces
    a Java core file.
    
    The Java core indicates that the failure was caused by a gpf.
    The current thead info contains a stack trace similar to:
    
    1XMCURTHDINFO  Current thread
    NULL           ----------------------
    3XMTHREADINFO      "WebContainer : 17"
    J9VMThread:0x00000000C3FACB00, j9thread_t:0x000001001D0C6700,
    java/lang/Thread:0x0000000065927E20, state:R, prio=5
    3XMTHREADINFO1            (native thread ID:0x6300167, native
    priority:0x5, native policy:UNKNOWN)
    3XMTHREADINFO3           Java callstack:
    4XESTACKTRACE                at
    com/ibm/ws/security/registry/unix/UnixRegistryImpl.ntv_getGroups
    ForUser(Native Method)
    4XESTACKTRACE                at
    com/ibm/ws/security/registry/unix/UnixRegistryImpl.getGroupsForU
    ser(UnixRegistryImpl.java:354(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/ws/security/registry/UserRegistryImpl.getGroupsForUser(U
    serRegistryImpl.java:783(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/websphere/security/_UserRegistry_Stub.getGroupsForUser(_
    UserRegistry_Stub.java:842(Compiled Code))
    4XESTACKTRACE                at
    com/ibm/is/isf/j2ee/impl/was/security/WASJ2EEDirectoryImpl.getGr
    oupsForUser(WASJ2EEDirectoryImpl.java:840(Compiled Code))
    4XESTACKTRACE                at
    com/ascential/acs/security/directory/provider/impl/J2EEProvider.
    getUserGroups(J2EEProvider.java:282(Compiled Code))
    .....
    
    Prior to this error, the code did a query to retrieve a list of
    all users matching a particular pattern.  That query returned
    at least one user.  The code then requested the first user on
    that list and either a null or a zero length list was returned
    which resulted in a null value being passed to the
    getGroupsForUser and that null value resulted in the gpf.  IBM
    has not determined how to reproduce this condition, but we will
    add code to detect it and to return an exception instead of
    passing the null user to the getGroupsForUser query.  The
    request will get a user not found error, but the JVM will not
    crash.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    InfoSphere Information Server installations configured with an
    external user registry.
    ****************************************************************
    PROBLEM DESCRIPTION:
    The WebSphere JVM for an IBM InfoSphere Information Server
    configured with an external user registry crashes and produces a
    Java core file. The Java core indicates that the failure was
    caused by a gpf.  The current thead info contains a stack trace
    similar to:
    1XMCURTHDINFO  Current thread NULL
    ----------------------3XMTHREADINFO      "WebContainer : 17"
    J9VMThread:0x00000000C3FACB00, j9thread_t:0x000001001D0C6700,
    java/lang/Thread:0x0000000065927E20, state:R,
    prio=53XMTHREADINFO1            (native thread ID:0x6300167,
    native priority:0x5, native policy:UNKNOWN)3XMTHREADINFO3
        Java callstack:4XESTACKTRACE                at
    com/ibm/ws/security/registry/unix/UnixRegistryImpl.ntv_getGroups
    ForUser(Native Method)4XESTACKTRACE                at
    com/ibm/ws/security/registry/unix/UnixRegistryImpl.getGroupsForU
    ser(UnixRegistryImpl.java:354(Compiled Code))4XESTACKTRACE
              at
    com/ibm/ws/security/registry/UserRegistryImpl.getGroupsForUser(U
    serRegistryImpl.java:783(Compiled Code))4XESTACKTRACE
         at
    com/ibm/websphere/security/_UserRegistry_Stub.getGroupsForUser(_
    UserRegistry_Stub.java:842(Compiled Code))4XESTACKTRACE
           at
    com/ibm/is/isf/j2ee/impl/was/security/WASJ2EEDirectoryImpl.getGr
    oupsForUser(WASJ2EEDirectoryImpl.java:840(Compiled
    Code))4XESTACKTRACE                at
    com/ascential/acs/security/directory/provider/impl/J2EEProvider.
    getUserGroups(J2EEProvider.java:282(Compiled Code))
    
    Prior to this error, the code did a query to retrieve a list of
    all users matching a particular pattern.  That query returned at
    least one user.  The code then requested the first user on that
    list and either a null or a zero length list was returned
    which resulted in a null value being passed to the
    getGroupsForUser and that null value resulted in the gpf.
    ****************************************************************
    RECOMMENDATION:
    Apply the 9.1.2 ISF rollup fix pack RU6 or higher
    ****************************************************************
    

Problem conclusion

  • IBM has not determined  how to reproduce this condition, but
    the fix adds code to detect it and to return an exception
    instead of passing the null user to the getGroupsForUser query.
    The request will get a user not found error, but the JVM will
    not crash.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR52209

  • Reported component name

    IS DATAQUALITYC

  • Reported component ID

    5724Q36DQ

  • Reported release

    912

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-01-07

  • Closed date

    2015-04-08

  • Last modified date

    2015-04-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

    INFO SRVR PLATF

  • Fixed component ID

    5724Q3612

Applicable component levels

  • R912 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSZJPZ","label":"InfoSphere Information Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"912","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
13 October 2021