Filenet user cache refresh

1.9k Views Asked by At

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.

1

There are 1 best solutions below

2
On

CE retrieves user and group objects from the Directory Server (DS) based on a particular interval. The User Token Cache Entry Time-To-Live (TTL) value (in seconds) determines the interval which the CE communicates to the configured the DS for user and group schema object updates.

While personally I have not seen such a function, however, theoretically it is possible to do this by setting value programmatically, apply it, and then roll it back (so that you wont suffer performance hit), in the end if the FEM can do it then you can.
Here are the steps to modify this value :

  1. Launch FileNet Enterprise Manager ( FEM ) and log on using a Directory Service account.
  2. In FEM, go to Domain properties-> Server Cache and Change the User Token Cache TTL (seconds) default of 3600s to the desired amount.
  3. Click OK

enter image description here

Note: This setting could have an negative impact on performance. If large numbers of DS schema objects are updated and the setting is set to a low interval (for example: 360 seconds), performance could be impacted on CE server.