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.  Database Connection Hanging frequently

    Posted Wed February 11, 2004 03:38 PM

    Hi All,

    We have been facing this Database connection hanging problem in our wM Integration Server.

    Once we see this problem we can’t do any manipulation on this database. After restart the Integration Server (v 4.6 sp2) then we are able to access this database again with out any changes in Database side.

    Currently we enabled database connection pooling with following params in server.cnf.

    1. watt.server.db.connectionCache=server
      2.watt.net.timeout=300
      3.watt.server.db.testSQL=select 1 from dual

    Also we created each database alias with
    minimum connecitons = 2 and maximum connections = 10 with timeout 60000 ms.

    Database: Oracle 9.2
    jdbcdrivers:oracle.jdbc.driver.OracleDrive

    We have taken care of closing the db connections while processing the request in our code. (both try and catch blocks).

    Once we see this problem, if we try to run any db command(say exec sql) it is not throwing any error or even not timing out. I think timeout (300 sec - 5 mins in server.cnf) is not working.

    Any body see this problem?.

    Thanks


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: Database Connection Hanging frequently

    Posted Tue February 17, 2004 04:43 PM

    Hi,
    Did u use explicit connect calls before execSQLs?
    I think just closing the connection without explicit connect call would not help in properly releasing connections when we are using connection pooling.

    Thanks,
    Hari.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 3.  RE: Database Connection Hanging frequently

    Posted Tue October 19, 2004 12:19 PM

    Hi Kumar,

    I am also facing similar kind of problem. Can you please let me know if you find the solution to your problem.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: Database Connection Hanging frequently

    Posted Tue October 19, 2004 11:01 PM

    Are you using oracle 9i database. If it is, make minimum connections as “0”
    Make sure IS server http connection timeout set to some interval.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services