Posted: 3 Feb 2018 23:42 EST Last activity: 30 Nov 2018 7:17 EST
Restart of server + Virtual Table Cache
Does restart of application server clear with clear cache , deletes records from Virtual Table Cache table? For every restart of application and then creating a case I see the rule assembly is happening , but if the rule is already assembled and stored in VT Table in data base , why the rule assembly is constructed again.
After the restart of the application, in-memory portion of the cache is lost and the compiled java class files are retained on the hard disk. When the server is restarted, it re-creates the cache entries that were not created before the restart by looking at the latest snapshot in Log-RuleUsage and rules which are updated after. This is enabled by default. If you would like to disable this, you can update prconfig file to include this entry and restart server. Hope this helps.
Thanks for the reply. But my question is about the virtual table cache which is constructed and stored in database table. This cache is not supposed to create again when the server is restarted. Please note the that the record ( activity) which is trying to get constructed again is not updated , so the RUA for this rules should not be constructed.
The point which is you said is about loading the records from virtual table to the nodes cache.
If you are facing issues for a very particular rule, would suggest reassembling the cache in VT table using Virtual Rule Cache Managment. I had a similar experience and addressed it using the approach.