IBM Support

PM07993: JAVA.LANG.NULLPOINTEREXCEPTION WHEN USING CTG LOGON MODULE.

Fixes are available

6.1.0.33: Java SDK 1.5 SR12 FP1 Cumulative Fix for WebSphere
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for AIX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for HP-UX
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for IBM i
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Linux
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Solaris
7.0.0.13: WebSphere Application Server V7.0 Fix Pack 13 for Windows
7.0.0.13: Java SDK 1.6 SR8FP1 Cumulative Fix for WebSphere Application Server
6.1.0.35: Java SDK 1.5 SR12 FP2 Cumulative Fix for WebSphere
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for AIX
7.0.0.15: Java SDK 1.6 SR9 Cumulative Fix for WebSphere Application Server
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for HP-UX
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for IBM i
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Linux
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Solaris
7.0.0.15: WebSphere Application Server V7.0 Fix Pack 15 for Windows
6.1.0.37: Java SDK 1.5 SR12 FP3 Cumulative Fix for WebSphere
7.0.0.17: WebSphere Application Server V7.0 Fix Pack 17
7.0.0.17: Java SDK 1.6 SR9 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.19: WebSphere Application Server V7.0 Fix Pack 19
7.0.0.21: WebSphere Application Server V7.0 Fix Pack 21
7.0.0.23: WebSphere Application Server V7.0 Fix Pack 23
7.0.0.25: WebSphere Application Server V7.0 Fix Pack 25
7.0.0.27: WebSphere Application Server V7.0 Fix Pack 27
7.0.0.29: WebSphere Application Server V7.0 Fix Pack 29
6.1.0.47: WebSphere Application Server V6.1 Fix Pack 47
7.0.0.31: WebSphere Application Server V7.0 Fix Pack 31
7.0.0.27: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.33: WebSphere Application Server V7.0 Fix Pack 33
7.0.0.35: WebSphere Application Server V7.0 Fix Pack 35
7.0.0.37: WebSphere Application Server V7.0 Fix Pack 37
7.0.0.39: WebSphere Application Server V7.0 Fix Pack 39
7.0.0.41: WebSphere Application Server V7.0 Fix Pack 41
7.0.0.43: WebSphere Application Server V7.0 Fix Pack 43
7.0.0.45: WebSphere Application Server V7.0 Fix Pack 45
6.1.0.39: Java SDK 1.5 SR12 FP4 Cumulative Fix for WebSphere Application Server
6.1.0.41: Java SDK 1.5 SR12 FP5 Cumulative Fix for WebSphere Application Server
6.1.0.43: Java SDK 1.5 SR13 Cumulative Fix for WebSphere Application Server
6.1.0.45: Java SDK 1.5 SR14 Cumulative Fix for WebSphere Application Server
6.1.0.47: Java SDK 1.5 SR16 Cumulative Fix for WebSphere Application Server
7.0.0.19: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.21: Java SDK 1.6 SR9 FP2 Cumulative Fix for WebSphere
7.0.0.23: Java SDK 1.6 SR10 FP1 Cumulative Fix for WebSphere
7.0.0.25: Java SDK 1.6 SR11 Cumulative Fix for WebSphere Application Server
7.0.0.27: Java SDK 1.6 SR12 Cumulative Fix for WebSphere Application Server
7.0.0.29: Java SDK 1.6 SR13 FP2 Cumulative Fix for WebSphere Application Server
7.0.0.45: Java SDK 1.6 SR16 FP60 Cumulative Fix for WebSphere Application Server
7.0.0.31: Java SDK 1.6 SR15 Cumulative Fix for WebSphere Application Server
7.0.0.35: Java SDK 1.6 SR16 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.37: Java SDK 1.6 SR16 FP3 Cumulative Fix for WebSphere Application Server
7.0.0.39: Java SDK 1.6 SR16 FP7 Cumulative Fix for WebSphere Application Server
7.0.0.41: Java SDK 1.6 SR16 FP20 Cumulative Fix for WebSphere Application Server
7.0.0.43: Java SDK 1.6 SR16 FP41 Cumulative Fix for WebSphere Application Server
Obtain the fix for this APAR.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • CTG Login module implementation which is used to pass
    credential information to CTG Resource adapter encounters
    problem on zOS when using LDAP as the user registry
    
    You may see the following exception with traces.
    Trace: 2009/10/28 12:27:22.836 01 t=9C5210 c=0.F key=P8 (1300700
    ThreadId: 00000017
    FunctionName: finalizeSubject
    SourceId: com.ibm.ejs.j2c.ThreadIdentitySecurityHelper
    Category: FINER
    ExtendedMessage: Entry; com.ibm.ejs.j2c.ThreadIdentitySecurity
    Principal: com.ibm.ctg.security.CICSPrincipal@71947194
    , com.ibm.connector2.cics.ECIConnectionRequestInfo@dbd15ffb
    java.lang.NullPointerException
    at com.ibm.ws.security.auth.PlatformCredential.getUnauthenticat
    at com.ibm.ws.security.auth.PlatformCredential.<init>(PlatformC
    at com.ibm.ws.security.zOS.PlatformCredentialManager.createDefa
    at com.ibm.ws.security.zOS.threadid.ThreadIdentityManager.getPl
    at com.ibm.ws.security.zOS.threadid.ThreadIdentityManager.extra
    at com.ibm.ws.security.zOS.threadid.ThreadIdentityManager.getLo
    at com.ibm.ejs.j2c.ThreadIdentitySecurityHelper.finalizeSubject
    at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(Connect
    at com.ibm.connector2.cics.ECIConnectionFactory.getConnection(U
    at ejbs.IDPropSessionBean.callIDProp(Unknown Source)
    at ejbs.IDPropSessionBean.executeTran(Unknown Source)
    at ejbs.IDPropSessionBean.executeTest(Unknown Source)
    at ejbs.EJSRemoteStatelessIDPropRunAsSession_799f77b6.executeTe
    at ejbs._EJSRemoteStatelessIDPropRunAsSession_799f77b6_Tie.exec
    at ejbs._EJSRemoteStatelessIDPropRunAsSession_799f77b6_Tie._inv
    at com.ibm.ws390.orb.CommonBridge.invoke(CommonBridge.java:1187
    at com.ibm.ws390.orb.ORBEJSBridge.invoke(ORBEJSBridge.java:270)
    at sun.reflect.GeneratedMethodAccessor32.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe
    at java.lang.reflect.Method.invoke(Method.java:600)
    at com.ibm.ws390.orb.parameters.ORBEJSBridgeInvoke.ORBEJSBridge
    at com.ibm.ws390.orb.CommonBridge.nativeRunApplicationThread(Na
    at com.ibm.ws390.orb.CommonBridge.runApplicationThread(CommonBr
    at com.ibm.ws.util.ThreadPool?ZOSWorker.run(ThreadPool.java:175
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: java.lang.NullPointerException when     *
    *                      using CTG logon module on z/OS          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    CICS Transaction Gateway, has implemented a login module on
    WAS  which is used to pass credential information
    through the CICS Transaction Gateway Resource Adapter to CICS.
    This works fine on distributed, but doesn't work on z/OS. The
    problem is that on z/OS, the j2c code is calling zOS-specific
    security API's that attempt to create a UTOKEN credential (RACF
    security token) to use as the J2C subject.  This fails because
    we don't have a PlatformCredential since they have
    configured LDAP as the user registry.
    

Problem conclusion

  • Code has been added to determine if SAF authorization
    is enabled and based on it appropriate security helper will
    be used to overcome the issue.
    
    APAR PM07993 is currently targeted for inclusion in
    Service Level (7.0.0.13)  of WebSphere Application Server
    
    Please refer to URL:
    //www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack availability.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM07993

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-18

  • Closed date

    2010-05-19

  • Last modified date

    2010-11-02

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

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

    PM20074

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R700 PSY UK61114

       UP10/10/21 P F010

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.



Document information

More support for: WebSphere Application Server for z/OS
General

Software version: 7.0

Reference #: PM07993

Modified date: 02 November 2010