Caching extension point classes

You can upload Java™ classes individually to the document store or make them available with the custom or user JARs mechanism. For some extension points, the compiled scripts are cached, which means that if you change a file and load it to the document store, you must clear the cache to see the changes.

The cache is cleared when the system is restarted, but you can clear the script cache without restarting the system. To clear the script cache, go to System Administrator > Performance Info > Caches, select script, and click Flush Cache. After you clear the cache, the new code is picked up when the extension point is started.

If the docstore is mounted on the file system, following steps can be used to clear the cache.
  • Remove old class file from docstore and file system.
  • Flush Script cache from System Administrator > Performance Info > Caches.
  • Copy the new class file to file system and test this class file after it shows from docstore.
When you load Java classes with the custom or user JAR mechanism, you must restart the IBM® Product Master instances to see the changes to the extension point code.