IBM Support

PH08025: J2CA0045E ON WAS V9 WHEN A WEBSERVICE USES A CONNECTION FACTORY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After upgrading from WAS v8.5.5.x to WAS v9.0.x, the connection
    pool for a connection factory will become exhausted, resulting
    in the J2CA0045E error...
    
    J2CA0045E: Connection not available while invoking method
    createOrWaitForConnection for resource jms/myTest.QCF
    
    This problem does not occur on WAS v8.5.5.x.
    
    The same application and the same connection pool settings are
    used on both versions of WAS.
    

Local fix

  • Increase the maximum size value on the connection pool.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server users of   *
    *                  Java Messaging Service feature              *
    ****************************************************************
    * PROBLEM DESCRIPTION: JMS Resource connection error           *
    *                      J2CA0045E occurs on WAS v9              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When JMS application was migrated from WAS v8 to WAS v9,
    applications connecting to JMS resource received the
    following error:
    J2CA0045E: Connection not available while invoking method
    createOrWaitForConnection for resource: jms/FH.LOCAL.QCF.
    

Problem conclusion

  • The J2CA0045E error occurred because the Web services code was
    creating two service instances for the same  Web services
    provider which prevented the connection from being released to
    the connection pool.
    The problem was fixed by creating only one insntance of the
    Web services implementation class.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 9.0.5.1.  Please refer to the Recommended Updates
    page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH08025

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-01-31

  • Closed date

    2019-08-21

  • Last modified date

    2019-08-21

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
14 October 2021