When a 'new' user is added to an existing AD group or we create a new AD 'group' we have to wait too long for the cache in P8 to be updated. If I transfer any workflow into the region it will update the cache immediately.
Our java program is creating these new users and groups in the AD. We need a solution when creating a new user or group via a java program that we can call 'something' to refresh the cache in p8 / update the tables in Oracle.
Any ideas would be appreciated. Thanks.
Hi Rick,
you have asked me to comment on your question. Unfortunately, I do not have experience with the Filenet P8 server itself. I just have worked on some issues where the BPM server acts as CMIS client of the Filenet server.
Kind regards, Henning
Answer by hamgem (952) | Oct 14, 2016 at 12:04 PM
The cache that I believe you are talking about is the Client Metadata Cache (CMC). I don't believe you can "refresh" the cache, but you can set the Time To Live to a value that is shorter than the default 10 hours.
For example, you can change the cache to 5 minutes by adding the following argument when starting your Java client application. The value is in milliseconds
FileNet.CMC.TimeToLive=300000 (ie. -DFileNet.CMC.TimeToLive=300000)