how to set timeout period of service and what is the default service time out

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to set timeout period of service and what is the default service time out

Rajendra Upa
 We found in the doc : http://ofbiz.apache.org/dtds/services.xsd.    
        <xs:attribute type="xs:int" name="transaction-timeout" default="0"/>
    Here it mentioned : default is 0. I found in documentation that default means System default. How to know what is the system default timeout ?.

    I have run the following use case to figure out how this behaves :
    I have created a service and open a transaction and just below create one infinite loop.
    Run with three use cases to 15 minutes:
        1. use-transaction="true"
        2. use-transaction="false"
        3. default

    But in all three cases, I did not get any service timeout error.
If you have any idea the provide the answer.

Please any one can provide information on following :
(1) What is default OFBiz service timeout?
(2) Where service timeout is configured(in which config file) ?
(3) Can we set timeout period for each service separately ?
(4) Does ofbiz set default time period for database operation (if response from database takes more time) ?
(5) In which are scenarios , ofbiz throws service timeout error ?

Thanks in advance.