Share all details related to your problem, including any error messages you may have received.
When changing rules via debug or import using VSCode IIQDA extension the old version of the rule is still used. It looks like the only way to use the new rule is by restarting the app server or adjusting it via the UI.
Is this new for IIQ8.3 and up or might I have accidentally changed a setting? As I have not noticed this behaviour before.
Is there a way to manually ‘refresh’ the Beanshell Rule cache?
Hi Remold,
It’s known issue for very long time - sometime IIQ has problems with synchronisation of Beanshell changes between nodes. That generally means that if you modify the rule via debug - the change is available on the server where you were connected at the time of modification.
I solve it but writing small rule to clear caches and sync all nodes again
Important is that you have to execute it on all remaining nodes of your cluster. So in practice I usually create and instance of this rule for each host I have in the cluster and than via Sequence launcher execute it everywhere.
The VSCode workflow is pretty simple (same as IIQDA) and I’ve modified the import method to do additional things like insert audit entries and do cache clearing. This would remove a manual step in your testing.