IBM Support

PK78101: WHEN THE SCHEDULER TRIES TO COMMIT A TRANSACTION THAT DOES NOT EXIST RESULTS IN CWSIA0053E EXCEPTION AND A TRANSACTION ROLLBACK

Fixes are available

PK78101; 6.1.0.23: Local Transaction Within Global Transaction Causes Exception
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for AIX
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for IBM i
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Windows
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for HP-UX
7.0.0.5: Java SDK 1.6 SR5 Cumulative Fix for WebSphere Application Server
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Solaris
7.0.0.5: WebSphere Application Server V7.0 Fix Pack 5 for Linux
Java SDK 1.5 SR10 Cumulative Fix for WebSphere Application Server
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for IBM i
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for AIX
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Windows
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for HP-UX
7.0.0.7: Java SDK 1.6 SR6 Cumulative Fix for WebSphere Application Server
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Solaris
7.0.0.7: WebSphere Application Server V7.0 Fix Pack 7 for Linux
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for IBM i
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Windows
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for AIX
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for HP-UX
7.0.0.9: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Solaris
7.0.0.9: WebSphere Application Server V7.0 Fix Pack 9 for Linux
6.1.0.31: Java SDK 1.5 SR11 FP1 Cumulative Fix for WebSphere Application Server
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for IBM i
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Windows
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for HP-UX
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for AIX
7.0.0.11: Java SDK 1.6 SR7 Cumulative Fix for WebSphere Application Server
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Solaris
7.0.0.11: WebSphere Application Server V7.0 Fix Pack 11 for Linux
6.1.0.33: Java SDK 1.5 SR12 FP1 Cumulative Fix for WebSphere
6.1.0.29: Java SDK 1.5 SR11 Cumulative Fix for WebSphere Application Server
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
6.1.0.39: Java SDK 1.5 SR12 FP4 Cumulative Fix for WebSphere Application Server
7.0.0.19: WebSphere Application Server V7.0 Fix Pack 19
6.1.0.41: Java SDK 1.5 SR12 FP5 Cumulative Fix for WebSphere Application Server
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
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

  • A transaction rollback error can be seen in the Servant Region
    as such:
     Trace: 2008/12/18 21:20:43.662 01 t=8B4080 c=UNK key=P8
    (0000000A)
       Description: Log Boss/390 Error
       from filename: ./bborjtr.cpp
       at line: 934
       error message: BBOO0221W: WTRN0051E: An attempt by the
    transaction manager to call rollback on a transactional resource
    has resulted in an unexpected error.
       The XA error code was -6.
    
    
    The FFDC log can show the following:
    Exception = javax.jms.IllegalStateException
    Source =
    com.ibm.ws.scheduler.tasks.MessageTaskInfoWork.sendMessage
    probeid = 252
    Stack Dump = javax.jms.IllegalStateException: CWSIA0053E: An
    exception was received during the call to the method
    JmsSessionImpl.commitTransaction (#2):
    javax.resource.spi.LocalTransactionException: CWSJR1138E: An
    internal error has occurred. An unexpected exception has
    occurred.
    A call was made to commitLocalTransaction but there is no local
    transaction..
    at
    com.ibm.ws.sib.api.jms.impl.JmsSessionImpl.commitTransaction(Jms
    SessionImpl.java:2683)
    at
    com.ibm.ws.sib.api.jms.impl.JmsSessionImpl.commit(JmsSessionImpl
    .java:706)
    at
    com.ibm.ws.scheduler.tasks.MessageTaskInfoWork.sendMessage(Messa
    geTaskInfoWork.java:344)
    at
    com.ibm.ws.scheduler.tasks.MessageTaskInfoWork.doWork(MessageTas
    kInfoWork.java:252)
    at
    com.ibm.ws.scheduler.AlarmListener.executeTaskWithNotification(A
    larmListener.java:799)
    at
    com.ibm.ws.scheduler.AlarmListener.access$700(AlarmListener.java
    :119)
    at
    com.ibm.ws.scheduler.AlarmListener$TaskWork.doWork(AlarmListener
    .java:430)
    at
    com.ibm.ws.scheduler.AlarmListener$TaskWork.run(AlarmListener.ja
    va:216)
    at
    com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java
    :258)
    at java.security.AccessController.doPrivileged1(Native Method)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a(Compiled Code))
    at javax.security.auth.Subject.doAs(Subject.java:477)
    at
    com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:11
    8)
    at
    com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.jav
    a:325)
    at java.security.AccessController.doPrivileged1(Native Method)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a(Compiled Code))
    at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:709)
    at
    com.ibm.ws.asynchbeans.ExecutionContextImpl.go(ExecutionContextI
    mpl.java:85)
    at
    com.ibm.ws.scheduler.AlarmListener.fireTask(AlarmListener.java:1
    404)
    at
    com.ibm.ws.scheduler.AlarmListener.fired(AlarmListener.java:1322
    )
    at
    com.ibm.ws.asynchbeans.AlarmImpl.callListenerMethod(AlarmImpl.ja
    va:320)
    at
    com.ibm.ws.asynchbeans.timer.GenericTimer.run(GenericTimer.java:
    216)
    at
    com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java
    :254)
    at java.security.AccessController.doPrivileged1(Native Method)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a(Compiled Code))
    at javax.security.auth.Subject.doAs(Subject.java:477)
    at
    com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:11
    8)
    at
    com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.jav
    a:325)
    at java.security.AccessController.doPrivileged1(Native Method)
    at
    java.security.AccessController.doPrivileged(AccessController.jav
    a(Compiled Code))
    at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1027)
    at
    com.ibm.ws.asynchbeans.AlarmImpl.runListenerAsCJWork(AlarmImpl.j
    ava:170)
    at com.ibm.ws.asynchbeans.am._Alarm.fireAlarm(_Alarm.java:332)
    at com.ibm.ws.asynchbeans.am._Alarm.run(_Alarm.java:229)
    at
    com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(CompiledCo
    de))
    Caused by: javax.resource.spi.LocalTransactionException:
    CWSJR1138E: An internal error has occurred. An unexpected
    exception has occurred. A call was made to
    commitLocalTransaction
    but there is no local transaction.
    at
    com.ibm.ws.sib.api.jmsra.impl.JmsJcaSessionImpl.commitLocalTrans
    action(JmsJcaSessionImpl.java:440)
    at
    com.ibm.ws.sib.api.jms.impl.JmsSessionImpl.commitTransaction(Jms
    SessionImpl.java:2661)
    ... 34 more
    
    
    DUP: defect 507571.2
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of WebSphere Application Server   *
    *                  V6.0.1 for z/OS                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: Local transaction being committed       *
    *                      withing global transaction causes       *
    *                      javax.jms.IllegalStateException         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following rollback error shows periodically in the job log:
    
    Trace: 2008/12/18 21:20:43.662 01 t=8B4080 c=UNK key=P8
    (0000000A)
       Description: Log Boss/390 Error
       from filename: ./bborjtr.cpp
       at line: 934
       error message: BBOO0221W: WTRN0051E: An attempt by the
    transaction manager to call rollback on a transactional
    resource has resulted in an unexpected error.
       The XA error code was -6.
    
    FFDC file generated by the error shows the following data:
    
    Exception = javax.jms.IllegalStateException
    Source =
    com.ibm.ws.scheduler.tasks.MessageTaskInfoWork.sendMessage
    probeid = 252
    Stack Dump = javax.jms.IllegalStateException:
    CWSIA0053E: An exception was received during the call to the
    method JmsSessionImpl.commitTransaction (#2):
    javax.resource.spi.LocalTransactionException:
    CWSJR1138E: An internal error has occurred. An unexpected
    exception has occurred.
    A call was made to commitLocalTransaction but there is no
    local transaction..
    at com.ibm.ws.sib.api.jms.impl.JmsSessionImpl.commitTransaction
    (JmsSessionImpl.java:2683)
    at com.ibm.ws.sib.api.jms.impl.JmsSessionImpl.commit
    (JmsSessionImpl.java:706)
    at com.ibm.ws.scheduler.tasks.MessageTaskInfoWork.sendMessage
    (MessageTaskInfoWork.java:344)
    at com.ibm.ws.scheduler.tasks.MessageTaskInfoWork.doWork
    (MessageTaskInfoWork.java:252)
    at
    com.ibm.ws.scheduler.AlarmListener.executeTaskWithNotification
    (AlarmListener.java:799)
    at com.ibm.ws.scheduler.AlarmListener.access$700
    (AlarmListener.java:119)
    at com.ibm.ws.scheduler.AlarmListener$TaskWork.doWork
    (AlarmListener.java:430)
    at com.ibm.ws.scheduler.AlarmListener$TaskWork.run
    (AlarmListener.java:216)
    ...
    

Problem conclusion

  • Problem has been corrected -- only the local transactions is
    committed, not the global one, by
    MessageTaskInfoWork.sendMessage().
    
    APAR PK78101 is currently targeted for inclusion in Service
    Level (Fix Pack) 6.0.2.35 of WebSphereApplication 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

    PK78101

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    601

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-01-05

  • Closed date

    2009-03-04

  • Last modified date

    2009-06-30

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

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

    PK86985 PK90261

Fix information

  • Fixed component name

    WEBSPHERE FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R601 PSY UK46540

       UP09/05/30 P F905

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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 December 2021