IBM Support

PI65205: FFDC for TransactionRolledbackException when using UserTransacti on in stateful bean ejbRemove method

Fixes are available

9.0.0.1: WebSphere Application Server traditional V9.0 Fix Pack 1
9.0.0.2: WebSphere Application Server traditional V9.0 Fix Pack 2
16.0.0.3: WebSphere Application Server Liberty 16.0.0.3
16.0.0.4: WebSphere Application Server Liberty 16.0.0.4
9.0.0.3: WebSphere Application Server traditional V9.0 Fix Pack 3
9.0.0.4: WebSphere Application Server traditional V9.0 Fix Pack 4
9.0.0.5: WebSphere Application Server traditional V9.0 Fix Pack 5
9.0.0.6: WebSphere Application Server traditional V9.0 Fix Pack 6
9.0.0.7: WebSphere Application Server traditional V9.0 Fix Pack 7
17.0.0.1: WebSphere Application Server Liberty 17.0.0.1
17.0.0.2: WebSphere Application Server Liberty 17.0.0.2
17.0.0.3: WebSphere Application Server Liberty 17.0.0.3
17.0.0.4: WebSphere Application Server Liberty 17.0.0.4
18.0.0.1: WebSphere Application Server Liberty 18.0.0.1
18.0.0.2: WebSphere Application Server Liberty 18.0.0.2
9.0.0.8: WebSphere Application Server traditional V9.0 Fix Pack 8
9.0.0.9: WebSphere Application Server traditional V9.0 Fix Pack 9
18.0.0.3: WebSphere Application Server Liberty 18.0.0.3
9.0.0.10: WebSphere Application Server traditional V9.0 Fix Pack 10
18.0.0.4: WebSphere Application Server Liberty 18.0.0.4
19.0.0.1: WebSphere Application Server Liberty 19.0.0.1
19.0.0.2: WebSphere Application Server Liberty 19.0.0.2
19.0.0.3: WebSphere Application Server Liberty 19.0.0.3
9.0.0.11: WebSphere Application Server traditional V9.0 Fix Pack 11
19.0.0.4: WebSphere Application Server Liberty 19.0.0.4
19.0.0.5: WebSphere Application Server Liberty 19.0.0.5
9.0.5.0: WebSphere Application Server traditional Version 9.0.5 Refresh Pack
19.0.0.6: WebSphere Application Server Liberty 19.0.0.6
19.0.0.7: WebSphere Application Server Liberty 19.0.0.7
19.0.0.8: WebSphere Application Server Liberty 19.0.0.8
9.0.5.1: WebSphere Application Server traditional Version 9.0.5 Fix Pack 1
19.0.0.9: WebSphere Application Server Liberty 19.0.0.9
19.0.0.10: WebSphere Application Server Liberty 19.0.0.10
19.0.0.11: WebSphere Application Server Liberty 19.0.0.11
9.0.5.2: WebSphere Application Server traditional Version 9.0.5 Fix Pack 2
19.0.0.12: WebSphere Application Server Liberty 19.0.0.12
20.0.0.1: WebSphere Application Server Liberty 20.0.0.1
20.0.0.2: WebSphere Application Server Liberty 20.0.0.2
9.0.5.3: WebSphere Application Server traditional Version 9.0.5 Fix Pack 3
20.0.0.3: WebSphere Application Server Liberty 20.0.0.3
20.0.0.4: WebSphere Application Server Liberty 20.0.0.4
20.0.0.5: WebSphere Application Server Liberty 20.0.0.5
20.0.0.6: WebSphere Application Server Liberty 20.0.0.6
9.0.5.4: WebSphere Application Server traditional Version 9.0.5 Fix Pack 4
20.0.0.7: WebSphere Application Server Liberty 20.0.0.7
20.0.0.8: WebSphere Application Server Liberty 20.0.0.8
9.0.5.5: WebSphere Application Server traditional Version 9.0.5 Fix Pack 5
20.0.0.9: WebSphere Application Server Liberty 20.0.0.9
20.0.0.10: WebSphere Application Server Liberty 20.0.0.10
20.0.0.11: WebSphere Application Server Liberty 20.0.0.11
20.0.0.12: WebSphere Application Server Liberty 20.0.0.12
WebSphere Application Server traditional 9.0.5.6
21.0.0.3: WebSphere Application Server Liberty 21.0.0.3
9.0.5.7: WebSphere Application Server traditional Version 9.0.5 Fix Pack 7
21.0.0.4: WebSphere Application Server Liberty 21.0.0.4
21.0.0.5: WebSphere Application Server Liberty 21.0.0.5
21.0.0.6: WebSphere Application Server Liberty 21.0.0.6
9.0.5.8: WebSphere Application Server traditional Version 9.0.5.8
21.0.0.7: WebSphere Application Server Liberty 21.0.0.7
21.0.0.1: WebSphere Application Server Liberty 21.0.0.1
21.0.0.2: WebSphere Application Server Liberty 21.0.0.2
21.0.0.8: WebSphere Application Server Liberty 21.0.0.8
21.0.0.9: WebSphere Application Server Liberty 21.0.0.9
9.0.5.9: WebSphere Application Server traditional Version 9.0.5.9
21.0.0.10: WebSphere Application Server Liberty 21.0.0.10
21.0.0.11: WebSphere Application Server Liberty 21.0.0.11
21.0.0.12: WebSphere Application Server Liberty 21.0.0.12
9.0.5.10: WebSphere Application Server traditional Version 9.0.5.10
22.0.0.1: WebSphere Application Server Liberty 22.0.0.1
22.0.0.2: WebSphere Application Server Liberty 22.0.0.2
22.0.0.3: WebSphere Application Server Liberty 22.0.0.3
9.0.5.11: WebSphere Application Server traditional Version 9.0.5.11
22.0.0.4: WebSphere Application Server Liberty 22.0.0.4

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When a bean managed transaction stateful bean performs a
    UserTransaction.begin() in an ejbRemove() method, the
    ejbRemove() method will complete successfully, but an FFDC
    for a TransactionRolledbackException will be logged, similar
    to the following:
    
    ------Start of DE processing------ = [10/2/15 15:59:42:820
    CDT]
    Exception = javax.transaction.TransactionRolledbackException
    Source =
    com.ibm.ejs.container.activator.StatefulSessionActivationStr
    ategy.atPostInvoke
    probeid = 261
    Stack Dump =
    javax.transaction.TransactionRolledbackException
    at
    com.ibm.ejs.container.ContainerTx.ensureActive(ContainerTx.j
    ava:356)
    at
    com.ibm.ejs.container.ContainerTx.delist(ContainerTx.java:13
    17)
    at
    com.ibm.ejs.container.activator.StatefulSessionActivationStr
    ategy.atPostInvoke(StatefulSessionActivationStrategy.java:60
    1)
    at
    com.ibm.ejs.container.activator.Activator.postInvoke(Activat
    or.java:315)
    at
    com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.j
    ava:3971)
    at
    com.ibm.ejs.container.EJSContainer.removeBean(EJSContainer.j
    ava:2074)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - Enterprise Java Beans      *
    *                  (EJB)                                       *
    ****************************************************************
    * PROBLEM DESCRIPTION: FFDC for TransactionRolledbackException *
    *                      when using UserTransaction in stateful  *
    *                      bean ejbRemove method                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When a bean managed transaction stateful bean performs a
    UserTransaction.begin() in an ejbRemove() method, the
    ejbRemove() method will complete successfully, but an FFDC for a
    TransactionRolledbackException will be logged, similar to the
    following:
    
    ------Start of DE processing------ = [10/2/15 15:59:42:820 CDT]
    Exception = javax.transaction.TransactionRolledbackException
    Source =
    com.ibm.ejs.container.activator.StatefulSessionActivationStrateg
    y.atPostInvoke
    probeid = 261
    Stack Dump = javax.transaction.TransactionRolledbackException
        at
    com.ibm.ejs.container.ContainerTx.ensureActive(ContainerTx.java:
    356)
        at
    com.ibm.ejs.container.ContainerTx.delist(ContainerTx.java:1317)
        at
    com.ibm.ejs.container.activator.StatefulSessionActivationStrateg
    y.atPostInvoke(StatefulSessionActivationStrategy.java:601)
        at
    com.ibm.ejs.container.activator.Activator.postInvoke(Activator.j
    ava:315)
        at
    com.ibm.ejs.container.EJSContainer.postInvoke(EJSContainer.java:
    3971)
        at
    com.ibm.ejs.container.EJSContainer.removeBean(EJSContainer.java:
    2074)
    

Problem conclusion

  • The EJB container has been updated to properly manage bean state
    and transaction state for methods that will remove beans and
    allow access to javax.transaction.UserTransation methods duirng
    pre-destroy (ejbRemove) processing, as required by the EJB
    specification.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 9.0.0.1 for WebSphere Application Server and 16.0.0.3
    for WebSphere Application Server Liberty.  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

    PI65205

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-30

  • Closed date

    2016-08-11

  • Last modified date

    2016-08-11

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 May 2022