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.  Could not get connection for pool SQLConnection

    Posted Thu December 05, 2019 10:50 AM

    Hello All,

    I am constantly seeing below error on IS server logs:
    wm.art.ns:executeNotification - Could not get connection for pool SQLConnection

    I am not able to find which adapter connection is causing this issue.
    We are having adapter connections for different databases (SQL and Sybase)

    Kindly assist.

    Thanks & Regards,
    Khushaboo Shandilya


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Could not get connection for pool SQLConnection

    Posted Thu December 05, 2019 11:13 AM

    Hi Khushaboo,

    did you try to disable and reenable the notifications one by one to see when the messages disappears?

    Are there any further messages in the logs which might indicate which connection is affected?

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Could not get connection for pool SQLConnection

    Posted Wed December 11, 2019 07:52 AM

    Hello Holger,

    Thank you for your message.

    I do not see any futher messages on the logs except for below:
    wm.art.ns:executeNotification - Could not get connection for pool SQLConnection

    Regards,
    Khushaboo Shandilya


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Could not get connection for pool SQLConnection

    Posted Wed December 11, 2019 02:34 PM

    Hi Khushaboo,

    Can you share the pool settings for this connection (min, max etc.)

    When min is set to 1 you might encounter a stale connection remaining in the pool which is not useable, but IS is not able to create new connections as there is still the stale one available.
    Try to set min to 0 in this case and reenable the connection.
    IS will destroy the stale connection in this case and then create a new one.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Could not get connection for pool SQLConnection

    Posted Wed December 11, 2019 05:17 PM

    Hi Khushaboo,

    I agree with Holger and suggest the same it would resolve the current issue

    Try to set minimum to 0 in this case and re-enable the JDBC connection should fix this issue (When DB is offline or goes to any unstable state)

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Could not get connection for pool SQLConnection

    Posted Fri December 13, 2019 02:53 PM

    Thank you rmg and Holger and sincere apologies for delay in responding.

    Both of you are right!
    Min Pool Size was indeed set to 1.
    I will change it to 0 and re-enable the connection!

    Many thanks for the help and guidance.


    #webMethods
    #Integration-Server-and-ESB


  • 7.  RE: Could not get connection for pool SQLConnection

    Posted Mon December 16, 2019 12:55 PM

    Sounds good!


    #webMethods
    #Integration-Server-and-ESB