Menu
We are in the process of implementing PeopleSoft 7 using Tuxedo. Server), but will time out in 6 minutes while running in three tier. One may ask why.
Corporate Info | News | Solutions | Products | Partners | Services | Events | Download | How To Buy | |
http://www.oracle.com/technology/documentation/index.html|Site Map|Search|PDF Files|Contact|Glossary | |
Tuxedo Doc Home | Administration | Topic List | Previous | Next | Contents |
Setting Up a BEA Tuxedo Application
Designating How Much Time to Process a Request
Sometimes an unexpected system error occurs, freezing a service or causing it to run out of control while it is processing a request. Obviously, it is a good idea to remove these processes, but it is difficult to detect them or determine how they developed errors. The BEA Tuxedo system provides a mechanism for terminating such processes even when you cannot identify them. To use this mechanism, set the SVCTIMEOUT parameter.
The SVCTIMEOUT parameter allows you to designate an amount of time (in seconds) in which a service should be able to process a request. If the interval defined by this parameter elapses and a service has not finished processing a request, the process for that request is killed. In essence, the service timeout mechanism acts like a scavenger for frozen or out of control application servers. By default, the BEA Tuxedo system does not terminate any service process; you must set the SVCTIMEOUT parameter to activate this feature.
You can assign a value to the SVCTIMEOUT parameter in the UBBCONFIG file or by dynamically changing the TA_SVCTIMEOUT attribute in TM_MIB. We recommend that you set the value of SVCTIMEOUT or TA_SVCTIMEOUT to at least two to three times the number of seconds it takes for your longest running service to process a request. Setting the service timeout in this way guarantees that the BEA Tuxedo system removes only frozen processes.
This section describes the causes and results of service timeout errors, and explains how the BEA Tuxedo system reports such errors. Advice about how to handle errors is also provided.
What Happens When a Timeout Occurs
When a timeout occurs, the BEA Tuxedo system terminates the server process running the frozen service (but not its child processes, if any). It then returns a TPESVCERR error, indicating that an unknown problem occurred during processing. In a conversational service, the conversation event TPEV_SVCERR is returned.
How a Service Timeout Is Reported
The BEA Tuxedo system reports a service timeout through the following three mechanisms:

How to Control a Service Timeout
Copyright © 2000 BEA Systems, Inc. All rights reserved. Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher. |