KieScanner is not dynamically updates the rules in BPMS 6.0.1

Solution Unverified - Updated -

Issue

We are trying to dynamically redeploy a kJAR as described in KCS article

kieServices = KieServices.Factory.get();
ReleaseId releaseId = kieServices.newReleaseId("com.redhat.sample", "DemoProject", "1.0.0");
kContainer = kieServices.newKieContainer(releaseId);
KieScanner kieScanner = kieServices.newKieScanner(kContainer);
kieScanner.start(10l * 1000l);
kieBase = kContainer.getKieBase("defaultKieBase");

When we update kjar and redeploy it to local maven repository, the processes and rules are not loaded. Even when I create a new Sessions on my kieBase

Environment

  • Red Hat JBoss BPM Suite
    • 6.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.