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

About the TConnectionPoolManager

  • 1.  About the TConnectionPoolManager

    Posted Thu July 24, 2003 07:30 PM

    Hello everyone,

    When you add a connection in a connection pool, you have to precise a timeout parameter for this connection.

    Method:
    addConnectionPool(
    java.lang.String poolName,
    java.lang.String databaseURI,
    java.lang.String user,
    java.lang.String password,
    int maxConnections,
    int initConnections,
    int timeOut <— ?
    )

    What is the use of this parameter ?
    The API documentation is not quite clear about this “timeout” parameter.

    Regards

    Ludovic


    #webMethods
    #webMethods-Tamino-XML-Server-APIs
    #API-Management


  • 2.  RE: About the TConnectionPoolManager

    Posted Mon July 28, 2003 10:43 AM

    Sorry, this is true. The documentation has to be fixed there.
    The meaning of this parameter is:
    The connection pool manager waits timeOut seconds for a connection to be released when all connections of a pool are in use and the maximum limit of connections is already reached. If the timeOut is elapsed and no connection could be retrieved, an exception will be thrown.

    Stefan

    [This message was edited by Stefan Liebig on 28 Jul 2003 at 09:45.]


    #API-Management
    #webMethods-Tamino-XML-Server-APIs
    #webMethods


  • 3.  RE: About the TConnectionPoolManager

    Posted Mon July 28, 2003 11:04 AM

    Thank you Stefan for your answer :slight_smile:

    Ludovic


    #webMethods-Tamino-XML-Server-APIs
    #webMethods
    #API-Management