createAndDeployJar(kieServices,
newReleaseId,
drls);
if (kieContainer == null) {
kieContainer = kieServices.newKieContainer(newReleaseId);
final KieSession session = kieContainer.newKieSession();
this.session.set(session);
session.setGlobal("log", LOG);
}
kieContainer.updateToVersion(newReleaseId);
return true;
} catch (RulesCompilationException e) {
LOG.warn("Unable to add rules due to compilation errors.", e);