IBM Support

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

A fix is available

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    *
    *                 V7.0                                         *
    *                                                              *
    ****************************************************************
    * 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 PK90261 is currently targeted for inclusion in Service
    Level (Fix Pack) 7.0.0.5 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

    PK90261

  • 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

    2009-06-30

  • Closed date

    2009-07-08

  • Last modified date

    2009-08-03

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

    PK78101

  • 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 UK48201

       UP09/07/27 P F907

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