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.  Release JDBC connection immediately after use

    Posted 06/07/13 11:24 AM

    We have a situation where a flow which potentially takes a long time to run starts by looking up data from a db and then calles a webservice which can take a while to come back. In this situation we have observed that the connection pool associated with the db in question has a busy connection until the flow finishes.
    Is there a way in wm to explicitly release the connection after its use? I have made some tests and the only solution I have found so far is to use localTinvoke / joinT and executing the db lookup in a thread which seems to free up the DB connection as soon as the thread finishes exectuion.

    Any other alternatives?


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General
    #webMethods-Architecture


  • 2.  RE: Release JDBC connection immediately after use

    Posted 01/30/14 10:56 AM

    The answer to your question is NO[using flow service]. You can overcome the connection pool waiting by tweaking the connection pool setting, Minimum Pool Size.

    HTH.

    Thanks,
    Rankesh


    #webMethods
    #webMethods-Architecture
    #Integration-Server-and-ESB
    #webMethods-General


  • 3.  RE: Release JDBC connection immediately after use

    Posted 03/30/14 11:11 PM

    Yes it is possible. Invoke your ‘db call’ between ‘startTransaction’ & ‘commitTransaction’ services which will release the pool acquired from the connection pool immediately.

    -Senthil


    #webMethods-Architecture
    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 4.  RE: Release JDBC connection immediately after use

    Posted 04/02/14 04:32 AM

    Try to change these 2 values in JDBC connection
    Block Timeout (msec)
    Expire Timeout (msec

    Block Timeout
    Specifies the number of milliseconds that the Integration Server will wait to obtain a connection with the database before it times out and returns an error.

    Expire Timeout
    Specifies the number of milliseconds that an inactive connection can remain in the pool before it is closed and removed from the pool.


    #webMethods
    #webMethods-Architecture
    #webMethods-General
    #Integration-Server-and-ESB