Drools 6.3.0: Old ZiPKieModules remain in the heap after upgrading (executing scanNow in kiescanner JMX bean)
问题 We are using drools 6.3.0 and implemented our kiemodule as a deployable maven artifact (kjar). Our application uses this kiemodule and runs in Wildfly-10. In production, newer version of the kiemodule are automatically detected and loaded in the application by a kieScanner that runs at regular intervals. If the scanner sees a new version of the kiemodule it will load it on-the-fly and at runtime. This is very cool functionality, but recently we discovered that every time a new ZipKieModule is