IBM Support

PI18069: NULLPOINTEREXCEPTION WHEN GETTING SECOND CONNECTION TO CICS USING WOLA WITHIN SINGLE TRANSACTION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When making two calls to CICS using WOLA within the same WAS
    transaction, the second call to getConnection results in a
    NullPointerException with the following call stack:
    
    com.ibm.ws390.ola.jca.ConnectionRequestInfoImpl.equals
    (ConnectionRequestInfoImpl.java:259)
    com.ibm.ejs.j2c.SharedPool.getSharedConnection(SharedPool.java:
    293)
    com.ibm.ejs.j2c.PoolManager.reserve(PoolManager.java:
    2112)
    com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionMa
    nager.
    java:1061)
    com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionM
    anager.
    java:698)
    com.ibm.ws390.ola.jca.ConnectionFactoryImpl.getConnection
    (ConnectionFactoryImpl.java:121)
    

Local fix

  • Make sure the OLA resource adapter is defined in the web.xml as
    Unshareable, ie
    <res-sharing-scope>Unshareable</res-sharing-scope>
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V7.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException is thrown by     *
    *                      ConnectionRequestInfo.equals()          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A NullPointerException is thrown by the WebSphere Optimized
    Local Adapters function ConnectionRequestInfo.equals() method:
    com.ibm.ws390.ola.jca.ConnectionRequestInfoImpl.equals
    (ConnectionRequestInfoImpl.java:259)
    com.ibm.ejs.j2c.SharedPool.getSharedConnection
    (SharedPool.java:293)
    com.ibm.ejs.j2c.PoolManager.reserve
    (PoolManager.java:2112)
    com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper
    (ConnectionManager.java:1061)
    com.ibm.ejs.j2c.ConnectionManager.allocateConnection
    (ConnectionManager.java:698)
    com.ibm.ws390.ola.jca.ConnectionFactoryImpl.getConnection
    (ConnectionFactoryImpl.java:121)
    One of the ConnectionRequestInfo objects did not declare a
    registration name in its properties.  This is a supported
    configuration and the NullPointerException should not be
    thrown.
    

Problem conclusion

  • Code was added to prevent the NullPointerException when a
    registration name is not specified in the ConnectionRequestInfo
    properties.
    
    APAR PI18069 is currently targeted for inclusion in Fix Pack
    7.0.0.35 of WebSphere Application Server for z/OS.
    
    APAR PI18069 is currently targeted for inclusion in Fix Pack
    7.0.0.35 of WebSphere Application Server for z/OS.
    
    In addition, please refer to URL:
    http://www.ibm.com/support/docview.wss?rs=404&uid=swg27006970
    for Fix Pack PTF information.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI18069

  • 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

    2014-05-15

  • Closed date

    2014-07-28

  • Last modified date

    2014-11-04

  • 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 FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R700 PSY UI21695

       UP14/10/10 P F410

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 #: PI18069

Modified date: 04 November 2014