7.3. Install/Update Core Integration Features

Note

This section refers to features in the drools-karaf-features-<version>-features.xml file. For additional integration features, refer to Section 7.4, “Install Additional Integration Features”.
If you have already installed an older version of the core JBoss BPM Suite and JBoss BRMS features (for example, drools-karaf-features-6.2.0.Final-redhat-6-features.xml), you need to remove them and all associated files before installing the most recent features.xml file.

Procedure 7.1. Removing an Existing drools-karaf-features Installation

  1. Start the Fuse console using:
    $ ./installDir/bin/fuse
  2. Unistall old features/apps that used the previous features.xml file. For example:
    JBossFuse:karaf@root> features:uninstall drools-module
    JBossFuse:karaf@root> features:uninstall jbpm
    JBossFuse:karaf@root> features:uninstall kie-ci
    
  3. Search for references of bundles using drools/kie/jbpm and remove them:
    JBossFuse:karaf@root> list -t 0 -s | grep drools
    JBossFuse:karaf@root> list -t 0 -s | grep kie
    JBossFuse:karaf@root> list -t 0 -s | grep jbpm
    To remove the bundles:
    karaf@root> osgi:uninstall <BUNDLE_ID>
  4. Remove the old drools-karaf-features url:
    karaf@root> features:removeurl mvn:org.drools/drools-karaf-features/6.2.0.Final-redhat-<version>/xml/features
  5. Restart Fuse.
To install the drools-karaf-features:

Procedure 7.2.  Install core JBoss BPM Suite and JBoss BRMS features

  1. Configure required repositories
    1. Edit the installDir/etc/org.ops4j.pax.url.mvn.cfg file in your JBoss Fuse installation and add the following entry to the org.ops4j.pax.url.mvn.repositories variable, noting that entries are separated by ‘, \’:
      • http://maven.repository.redhat.com/product-ga/@id=bxms-product-repo
  2. Start JBoss Fuse:
    $ ./installDir/bin/fuse
  3. Add a reference to the core features file by running the following console command:
    JBossFuse:karaf@root> features:addurl mvn:org.drools/drools-karaf-features/<version>/xml/features
    For example:
    features:addurl mvn:org.drools/drools-karaf-features/6.3.0.Final-redhat-7/xml/features
  4. You can now install the features provided by this file by running, for example, the following console command:
    JBossFuse:karaf@root> features:install drools-module