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

100 seconds query timeout

  • 1.  100 seconds query timeout

    Posted Fri October 01, 2004 01:17 PM

    Hi,

    I’m testing some queries which take long time on Tamino 4.1.4 using both Interactive Interface and Tamino API .NET (in a Windows application). While all of them finish ok using Interactive Interface, I often get System.Net.WebException using Tamino API .NET. The reason shown is “The operation has timed-out”. I have measured how long the queries take until the exception is raised, and the average time is 100 seconds.
    All queries are executed in Autocommit mode and the database maximum transaction duration is set to 300 seconds.
    I have read some documents related to .NET Web Services and it seems that the default timeout for Web Service connections is 100 sec. It could it be related to this problem, but I’m not sure how. Can I configure this timeout anywhere? Is it a .NET or a Tamino issue?

    Thanks in advance,


    Enric


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


  • 2.  RE: 100 seconds query timeout

    Posted Fri October 01, 2004 01:39 PM

    I think there was a problem in the .NET API in Tamino 4.1 related to long running queries. This was related to a new HTTP timeout property only becoming available in .NET 1.1. This timeout is now used in .NET API for Tamino 4.2.

    In .NET API for Tamino 4.2 the user may specify the timeout for long running queries - I have gone upto about an hour.


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


  • 3.  RE: 100 seconds query timeout

    Posted Thu September 22, 2005 11:26 AM

    Hi, I have the same problem. My long running queries times out after 100 seconds. I searched thru the documentation, but I couldn’t find how to specify the timeout for long running queries in the .Net API

    Thanks,
    Simon


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


  • 4.  RE: 100 seconds query timeout

    Posted Thu September 22, 2005 11:58 AM

    Should be a property TaminoCommand.Timeout.


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


  • 5.  RE: 100 seconds query timeout

    Posted Thu September 22, 2005 12:25 PM

    thanks for the quick answer. In the .Net API I only have these properties for the TaminoCommand:

    Collection Collection with which this command is associated.
    Connection Connection with which this command is associated.
    IsolationLevel Set the Tamino IsolationLevel value for the next command execution. Only for connections in AutoCommit mode.
    LockMode Set the Tamino LockMode value for the next command execution.
    Lockwait Set the Tamino Lockwait value for the next command execution.

    I can’t find a TimeOut property


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


  • 6.  RE: 100 seconds query timeout

    Posted Thu September 22, 2005 02:19 PM

    thanks for the quick answer. In the .Net API I only have these properties for the TaminoCommand:

    Collection Collection with which this command is associated.
    Connection Connection with which this command is associated.
    IsolationLevel Set the Tamino IsolationLevel value for the next command execution. Only for connections in AutoCommit mode.
    LockMode Set the Tamino LockMode value for the next command execution.
    Lockwait Set the Tamino Lockwait value for the next command execution.

    I can’t find a TimeOut property


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


  • 7.  RE: 100 seconds query timeout

    Posted Thu September 22, 2005 03:27 PM

    Which version of Tamino are you using?


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


  • 8.  RE: 100 seconds query timeout

    Posted Thu September 22, 2005 03:38 PM


  • 9.  RE: 100 seconds query timeout

    Posted Thu September 22, 2005 03:42 PM

    And you are certain that the TaminoCommand does not have a Timeout property? It might not appear in the documentation but it should be in the class itself.


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


  • 10.  RE: 100 seconds query timeout

    Posted Thu September 22, 2005 03:59 PM

    At least I can’t access it in the Visual Studio. Please see attachment for the available properties.


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


  • 11.  RE: 100 seconds query timeout

    Posted Thu September 22, 2005 04:06 PM

    Are you certain the referenced TaminoAPI.dll is the most up to date?

    If you were accessing an earlier version you probably would not see the property.


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


  • 12.  RE: 100 seconds query timeout

    Posted Thu September 22, 2005 05:21 PM

    You are right. Visual Studio has been still referenced to the old version. Thanks a lot.


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