Can we increase the timeout on REST calls in SOI?

Document ID : KB000075072
Last Modified Date : 30/03/2018
Show Technical Document Details
Introduction:
How to increase the timeout on REST calls in SOI?  
At times when trying to run a repositoryCI or classtype query it always fails.
Question:
How to increase the timeout on REST calls in SOI?  
At times when trying to run a repositoryCI or classtype query it always fails.
Environment:
SOI 4.2
Windows
Answer:
  1. For rest the timeout setting would be in <SOI_HOME>\SAMUI\conf\server.xml and restart UI services
  2. repositoryCI call fetches data from cache, cache is always synced up between UI and Manager 
  3. Timeout setting can be changed as per tomcat documentation: 
https://tomcat.apache.org/tomcat-7.0-doc/config/http.html
 
 
connectionTimeout

The number of milliseconds this Connector will wait, after accepting a connection, for the request URI line to be presented. Use a value of -1 to indicate no (i.e. infinite) timeout. The default value is 60000 (i.e. 60 seconds) but note that the standard server.xml that ships with Tomcat sets this to 20000 (i.e. 20 seconds). Unless disableUploadTimeout is set to false, this timeout will also be used when reading the request body (if any).