Unable to create a "Guided Rule Template" in default package and import a class in B*MS 6

Solution Verified - Updated -

Environment

  • Red Hat JBoss Business Process Management Suite (BPMS) 6.0.x
  • Red Hat JBoss Enterprise Business Rule Management System (BRMS) 6.0.x

Issue

Unable to import a java class to a rule template placed in the default package in B*MS 6.

Resolution

This is a known issue in BRMS/BPM Suite 6.0.x that is already fixed in BRMS/BPM Suite 6.1.

A workaround is to not create Guided Rule Templates in the default package and import a type (i.e. either have the classes and templates in default package or have the classes and templates in packages), note that it doesn't need to be the same package.

Diagnostic Steps

Steps to Reproduce:

  1. create a new Guided Rule Template in business-central under default package;
  2. create and upload java classes to business-central via Artifact Repository;
  3. add the uploaded jar as dependency from a project;
  4. go to Config tab in the Guided Rule Template, select one of the imported classes and then save;
  5. you got a pop up with the following error message:
`Unable to complete your request. The following exception occurred: value import xxx.yyy.ZZZZ; is not a valid column definition`.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

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