How to stop Web services Spawn from starting automatically
book
Article ID: 405480
calendar_today
Updated On:
Products
Endevor
Issue/Introduction
Endevor Web Services Started Task is automatically started again after stopping Tomcat STC. You prefer the task to be spawn only when someone starts an action via the Web Service.
Environment
Endevor -All release
Resolution
This solution applies to the Web Services backend started task (STC) . The recommendation is to update the following parameter:
PoolInitSize="0" in the config file
Explanation
There are three settings related to STC pooling:
PoolInitSize="1" PoolIncrSize="1" PoolMaxSize="1"
The PoolInitSize determines how many STCs are started preemptively with EWS server - this is what you want to be zero
PoolMaxSize is the maximum pool size - as long as this is high enough to service all incoming requests without timeouts, all is well
Endevor Web Services will keep adding STCs until it reaches the max size once it starts receiving requests and removing them again once the traffic gets lower, possibly down to the init size.