How to disable cache refreshes while server is down.
book
Article ID: KB0078120
calendar_today
Updated On:
Products
Versions
TIBCO Data Virtualization
v7.0.x and later
Description
Scenario: Your TDV server is taking abnormally long to startup (ie; hours instead of a minute or two.
You suspect it might be related to some issue with external resources (data sources) that are validated during steps in the server initialization such as automatic cache refreshes. One way to verify this hypothesis would be to disable all cache refreshes and then attempt to start TDV again in this more streamlined mode.
Resolution
The global server config item "Disable Cache Refreshes" is normally available in the Studio's config UI while the server is running. But if you haven't enabled this setting before, this config item will not be present in your /conf/server/server_values.xml file for you to search and modify.
You can insert this block of XML in between the other attributes in the server_values.xml file to make the server ignore cache refreshes upon the next startup.
Should you start your TDV server in this manner, be sure to remove this XML from server_values.xml afterwards and check the Studio's config UI for "Disable Cache Refreshes" to turn it off when you are ready for cache refreshes to resume.