Uploaded image for project: 'ZZZ-WSO2 Data Services Server'
  1. ZZZ-WSO2 Data Services Server
  2. DS-1200

Error in committing XA connection with AtomikosDataSourceBean

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.1-Beta, 3.5.1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Major
    • Estimated Complexity:
      Moderate
    • Test cases added:
      Yes

      Description

      When using Atomikos with Distributed Transactions following exception occurred.

      TID: [-1234] [] [2016-05-17 16:01:14,646] INFO

      {it.csi.wso2.dss.tx.orchestratore.DssXaSupport} - init 1000 {it.csi.wso2.dss.tx.orchestratore.DssXaSupport}

      TID: [-1234] [] [2016-05-17 16:01:14,647] WARN

      {org.wso2.carbon.dataservices.core.TLConnectionStore} - Error in committing non-XA connection: DS Code: UNKNOWN_ERROR_Nested Exception:-com.atomikos.jdbc.AtomikosSQLException: Cannot call method 'commit' while a global transaction is running (Sanitized) {org.wso2.carbon.dataservices.core.TLConnectionStore}

      DS Code: UNKNOWN_ERROR
      Nested Exception:-
      com.atomikos.jdbc.AtomikosSQLException: Cannot call method 'commit' while a global transaction is running

      at org.wso2.carbon.dataservices.core.description.query.SQLDataServicesConnection.commit(SQLDataServicesConnection.java:48)
      at org.wso2.carbon.dataservices.core.TLConnectionStore.commitNonXAConns(TLConnectionStore.java:77)
      at org.wso2.carbon.dataservices.core.description.query.Query.finalizeTx(Query.java:331)
      at org.wso2.carbon.dataservices.core.description.query.Query.execute(Query.java:301)
      at org.wso2.carbon.dataservices.core.engine.CallQuery.executeElement(CallQuery.java:286)
      at org.wso2.carbon.dataservices.core.engine.OutputElement.execute(OutputElement.java:89)
      at org.wso2.carbon.dataservices.core.description.operation.Operation.execute(Operation.java:61)
      at org.wso2.carbon.dataservices.core.engine.DataService.invoke(DataService.java:583)
      at org.wso2.carbon.dataservices.core.engine.DSOMDataSource.execute(DSOMDataSource.java:96)

        Attachments

          Activity

            People

            • Assignee:
              anupama@wso2.com Anupama Pathirage
              Reporter:
              anupama@wso2.com Anupama Pathirage
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: