IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Deadlocked Error

    Posted Thu January 23, 2014 02:27 AM

    Hi All,

    We are randomly getting the “Deadlock error” while invoking the JDBC adapter service. Below are the detailed error logs. Could anyone please help to resolve this.

    (40001/1205) [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Transaction (Process ID 195) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction." [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Transaction (Process ID 165) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

    Thanks,
    Mohit K


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Deadlocked Error

    Posted Thu January 23, 2014 11:43 AM

    Hi Mohit,

    Are you using two transactions in one commit? Is your table used by other service/process/DML query?

    Can you share your code algorithm?

    Thanks,
    Rankesh


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 3.  RE: Deadlocked Error

    Posted Thu January 30, 2014 02:53 AM

    Hi Rankesh,

    Thanks for the quick response.

    Logic is nearly like:

    1. In flow service - we have multiple child services which later on performing the actions on dB based on the branch conditions.
    2. All these child services are calling one Java service which in turn invokes the JDBC adapter services (Insert/select/update/delete).
    3. Transaction type is defined as “No Transaction” in JDBC connection

    Thanks
    Mohit K


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 4.  RE: Deadlocked Error

    Posted Thu January 30, 2014 04:37 AM

    Hi Mohit,

    I hope it is clear after our discussion.

    Thanks,
    Rankesh


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB