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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Local Resource Already In Use

    Posted 05/23/08 03:55 PM

    I have 1 wrapper service that calls three others. In each of the three others I have a start/commit/rollback transaction. I get the error “[FONT=Courier][SIZE=2]
    The resource is already being used in a parent transaction” when I get to the 2nd service. I get the concept of im guessing the Local adapter can only create 1 local transaction per service call, but is there any way for me to not put the startTransaction in the wrapper service and keep it in all 3 of the services?

    How come you cant explicitly close a transaction and create another in each service?
    [/size][/font]


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


  • 2.  RE: Local Resource Already In Use

    Posted 05/24/08 11:49 AM

    For each Insert or Update St., JDBC Adapter thinks as one Tx. so make sure if you start Tx. you have to close it…

    –shaik


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


  • 3.  RE: Local Resource Already In Use

    Posted 05/25/08 05:01 AM

    You can have more than one transaction per service call or thread. Just not concurrently.
    From what you describe, you don’t need transaction control around all the JDBC calls. It sounds like you need a “No Transaction” connection instead.


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