Increase xCP Application timeout

Summary

In Documentum xCP, the standard application timeout value is 30 seconds. It is efficient for most user activities but in some cases it needs to be extended, for example to avoid timeout errors when running large Full Text searches or slow Real Time Queries. How do you increase the xCP Application timeout?

This issue was reported in (but may not be limited to):

  • Documentum xCP 16.4
  • Documentum xCP 16.4.1
  • Documentum xCP 16.7
  • Documentum xCP 16.7.1

Resolution

Override the standard ExtJS timeout with the desired value expressed in milliseconds. The override syntax is different in newer xCP versions, please see the examples below:

// Timeout Overrides - xCP 16.4
Ext.define('IncreaseTimeout.data.proxy.Ajax', { 
        override: 'Ext.data.proxy.Ajax', 
        timeout: 300000 
});
// Timeout Overrides - xCP 16.4.1/16.7/16.7.1
Ext.define('IncreaseTimeout.data.proxy.Ajax', {
        override: 'Ext.data.proxy.Ajax',
        config: {
                timeout: 300000
        }
});

You will find the sample ovr.OverrideTimeout-16.4.jar and ovr.OverrideTimeout-16.7.jar files attached to this Article, where the timeout can be configured in OverrideTimeout.js. You can import the JAR file as a Library into your xCP Application, and the timeout value will take effect after the next application deployment.

Legacy Article ID

KB12906871

Additional Information

In Documentum xCP 2.3, the standard UI timeout was increased from 30 seconds to 2 minutes on Patch 17 and later.

Leave a Reply

Your email address will not be published. Required fields are marked *