![]() | The commands in this guide are strongly biased towards UNIX type systems. |
After applying some changes to the KIM server like:
- modifications on the ontology
- modifications on the knowledge base
- modifications on the parameters of the IE resources
- other changes that affect the functionality of the server
We recommend you to clear the already generated indexes and all kinds of cache, as well as the logs, in order to be able to more easily diagnose if problems arise.
Stop KIM and Tomcat
Stop those applications in order to clear the caches.
For the Jetty based KIM 3.6 stopping only KIM is enough.
Clear KIM caches
Basically all the cache KIM generates lives in KIM_HOME>/context/default/populated folder. So in order to remove the cache, we should Remove the <KIM_HOME>/context/default/populated folder
Clear KIM logs
Remove the content of <KIM_HOME>/log folder
Clear Tomcat cache
Remove the deployed web archive
A recommended, although not mandatory, step would be to clear tomcat's generated cache
Clear Tomcat logs
Labels:
None