We are migrating from Websphere to Tomcat with the same Database.
We have to switch between these environments for testing as the migration is still in progress.We make sure either WebSphere or Tomcat is up , but not both.
We are facing cache issues after we switch from WebSphere to Tomcat and vice versa. The application works fine only after following the below steps
For Websphere to Tomcat :
1. Shutdown WebSphere
2.Clear the server cache
3. Clear the DB cache
4. Start Tomcat
Is there a way to manage the cache so that we don't have to clear the cache every time we switch the servers.We are migrating to Tomcat in Production soon and it will be really painful to clear the cache on many nodes, DB and restart them.
***Edited by Moderator Marissa to update platform capability tags****
what kind of caching issue you are facing? Clearing cache (file and DB) is only the last option under special circumstances (e.g., env cannot startup, etc). Suggest report those issues to Pega GCS if so desired.
Does it work after cache cleaning.I think you need to clear cache every time you switch servers.The cache information from one environment is not valid in new environment. Hence truncating these tables help in improving performance.
It works after clearing the server and DB cache. We are using the same queries already to delete the DB cache. We want to avoid cache clear on many nodes and server restarts in Prod . Hence, trying to figure out a way to sync the cache between WAS and Tomcat or invalidate the WAS cache on Tomcat and vice versa using any pega configuration around cache.