rule flow evaluation fails with an error Unsupported rule language 'Java' after upgrading to RHDM 7.0

Solution Unverified - Updated -

Issue

If Implementation is set to 'Java' in BusinessRuletask by JBDS/BPMN2 Modeler, rule flow validation fails like the following after upgrading to RHDM7.0.

05:33:59.750 [main] ERROR o.d.c.kie.builder.impl.KieProject - Unable to build KieBaseModel:process
[-1,-1]: Process 'Hello World' [com.sample.bpmn.hello]: Node 'Business Rule Task 1' [3] Unsupported rule language 'Java'

java.lang.RuntimeException: Error while creating KieBase[Message [id=1, kieBase=process, level=ERROR, path=/dev/workspace/RuleFlow test/target/classes/process/sample.bpmn, line=-1, column=0
text=Process 'Hello World' [com.sample.bpmn.hello]: Node 'Business Rule Task 1' [3] Unsupported rule language 'Java']]
at org.drools.compiler.kie.builder.impl.KieContainerImpl.getKieBase(KieContainerImpl.java:554)
at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:679)
at org.drools.compiler.kie.builder.impl.KieContainerImpl.newKieSession(KieContainerImpl.java:647)
at com.sample.ProcessTest.main(ProcessTest.java:17)

This rule flow worked with BRMS6.

Environment

  • Red Hat Decision Manager
    • 7.0
  • JBoss Developer Studio/BPMN2 Modeler

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