The maxSubprocessWait Attribute
This attribute specifies the number of seconds that a thread will wait for allocation of an Sous-processus Arbortext PE. When a dynamic component calls com.arbortext.e3.E3RequestContext.allocateE3Subprocess, it will return immediately if it finds a free Sous-processus Arbortext PE in a pool that is configured to handle the HTTP request in progress. If no idle Sous-processus Arbortext PE can be found, allocateE3Subprocess will attempt to start a new Sous-processus Arbortext PE in the appropriate pool, provided the pool has fewer Sous-processus Arbortext PE running than allowed by the pool's maxSubprocesses attribute. If no Sous-processus Arbortext PE can be started, then allocateE3Subprocess will wait until either an Sous-processus Arbortext PE is idle and available from the Sous-processus Arbortext PE pool or until the number of seconds specified by the maxSubprocessWait attribute have elapsed.
If the maximum number of seconds have elapsed and no Sous-processus Arbortext PE is idle, allocateE3Subprocess will throw an exception that no Sous-processus Arbortext PE could be allocated to serve the request. Processing at this point depends upon the dynamic component, but the component should return an error message to the client indicating that the request failed because no Sous-processus Arbortext PE could be allocated.
The default value is 300 seconds. You can set the value to 0 to disable the thread. Refer to Sous-processus Arbortext PE Allocation for a description of the allocation process.
Est-ce que cela a été utile ?