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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content