webMethods

webMethods

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
Expand all | Collapse all

Adapter notification error: "The connection is closed"

  • 1.  Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 05:19 AM

    We have an adapter notification that polls very frequently (approximately 3 times a minute). This morning we noticed the integration was not running (this is a critical part of the business infrastructure and gets a lot of attention) and got an error in the IS logs saying “The connection is closed”.

    What causes this? If the connection times out for a network reason, does it self-heal or do we have to manually go and re-enable the connection?

    Thanks

    Rob


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 05:23 AM

    Do you mean that server was shutdown and when you started it you saw this (“The connection is closed”.
    ) error?


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 05:25 AM

    No sorry, I mean the integration that depends on the adapter was not running. Integration Server was up the whole time.


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 05:31 AM

    this looks like a stale connection problem. happened with me in all the connections which have frequent/too many db interactions.
    change ‘Minimum Pool Size’ to 0 in your connection properties. hope this works.
    Let me know if it still has issues.


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 06:01 AM

    Thanks Anjni. Are you saying this would give a “This connection is closed” error? I’m not aware of a stale connection causing this?

    Either way, the pool size is already 0.

    What I’m thinking is that a network outage caused the connection to disable itself, and it doesn’t re-enable, which is why I’m asking whether connections can self-heal.


    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 06:20 AM

    Yes I used to get these errors in my production envmnt and after changing the value to 0 it has stopped.
    Usually the behavior with network outages what I have seen is it connects again when the network is back. As my envmnt is on latest fixes so this might also be a bug. :roll:


    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 07:22 AM

    Can you share the complete server.log or error log… Might be the issue with DB down?


    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 07:47 AM

    Hi Rob,

    I suspect the high volume of transaction caused this issue. Please try to adjust watt.art.tmgr.timeout in extended setting. It signifies seconds before transaction timeout.

    More available at page 243 of http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/adapters_estandards/Adapters/JDBC/JDBC_6-5/6-5_JDBC_Adapter_Install_and_Users_Guide.pdf

    HTH.

    Thanks,
    Rankesh


    #webMethods
    #Integration-Server-and-ESB


  • 9.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 08:55 AM

    Hi Grant,
    Is it a one time issue or keep repeating. If it one time, then kindly don’t do any changes in Prod. In case,if it is repeating kindly share more details to better suggest.


    #webMethods
    #Integration-Server-and-ESB


  • 10.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 11:27 AM

    Yes please let us elaborate more on the behaviour and what is the db you have the triggers created on and notification interval set to 60 seconds?

    At what situation does exact timeout errors occurring?

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB


  • 11.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 11:50 AM

    Hi guys

    The network going down is the reason the connection timed out; what I didn’t understand was why the connection didn’t re-establish correctly upon the return of the network connectivity.


    #Integration-Server-and-ESB
    #webMethods


  • 12.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 11:53 AM

    The DB is very quick, so there won’t be problems there, and we throttle the select to be at most 200 rows at a time. Notification interval is set to provide a 10s gap between processing runs.


    #Integration-Server-and-ESB
    #webMethods


  • 13.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 03, 2014 01:34 PM

    What is the minimum connection pool set on the JDBC connectin properties 0 or some thing else?

    Some times even though the DB comes back there might be stale connections not released from the pool or network latency issue and this would cause mess up especially JDBC notifications and also what JDBC Adapter6.5 fix level are you on latest I assume?

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB


  • 14.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 10, 2014 08:59 AM

    Yes, the connection pool size is 0. Adapter version is JDBC_6.5_Fix39.


    #Integration-Server-and-ESB
    #webMethods


  • 15.  RE: Adapter notification error: "The connection is closed"

    Posted Tue June 10, 2014 11:34 AM

    Most likely this could be either network tunnel issue reaching DB or connection pool is not working as expected for the respective DB.

    What is your IS version and core fixes level?

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB