IBM Support

PM23624: NULLPOINTEREXCEPTION WHEN COMPENSATION SERVICE(CS) IS DISABLED. BBOO0220E: CSCP0007E:

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the Compensation Service is not enabled on the
    WebSphere Application Server,  the server does not create a new
    instance for it. This means that a later check on whether the
    instance is started results in a NullPointerException.
    
    
    When disabled Compensation Scope (CS) service on the Websphere
    Application Server, using the below
    Server --> Container Settings  --> Compensation Service
    Explained in InfoCenter:
    
    http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/topic/com.
    ibm.webphere.zseries.doc/info/zseries/webui_pme/ui/ueac_cmpsetti
    ngs.html
    
    The server took the below exception.
    
    Trace: 2010/05/31 10:41:32.918 01 t=7C7B58 c=UNK key=P8
    (13007002)
       ThreadId: 0000008b
       FunctionName: com.ibm.ws.cscope.CScopeXAResourceFactory
       SourceId: com.ibm.ws.cscope.CScopeXAResourceFactory
       Category: SEVERE
       ExtendedMessage: BBOO0220E: CSCP0007E: An unexpected error
    occurred in method getXAResource in class
    CScopeXAResourceFactory; exception stack trace follows:
    java.lang.NullPointerException at
    com.ibm.ws.cscope.CScopeXAResourceFactory.getXAResource(CScopeXA
    com.ibm.ws.Transaction.JTA.XARecoveryData.getXARminst(XARecovery
    com.ibm.ws.Transaction.JTA.XARecoveryData.recover(XARecoveryData
    com.ibm.ws390.tx.XARecoveryAgentImpl.rollbackUnknownTransactions
    com.ibm.ws390.tx.XARecoveryAgentImpl$XARecoveryAgentThread.run(X
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of IBM WebSphere Application       *
    *                 Server V7.0                                  *
    *                                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException when               *
    *                      Compensation Service(CS) is Disabled.   *
    *                      BBOO0220E: CSCP0007E:                   *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When the Compensation Service is not enabled on the WebSphere
    Application Server,  the server does not create a new instance
    for it. This means that a later check on whether the instance
    is started results in a NullPointerException.
    

Problem conclusion

  • A Null check has been added to prevent the
    NullPointerException. The correct
    XAResourceNotAvailableException is then thrown and the error
    is logged.
    
    APAR PM23624 is currently targeted for inclusion in Service
    Level (Fix Pack) 7.0.0.13 of WebSphere Application Server V7.0.
    
    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

    PM23624

  • 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-09-30

  • Closed date

    2010-10-06

  • Last modified date

    2010-11-03

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

    PM15644

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

Modules/Macros

  • BBGUBINF BBOUBINF
    

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R700 PSY UK61146

       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.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7K4U","label":"WebSphere Application Server for z\/OS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
10 February 2022