11.3. Installing and Updating Core Integration Features
This section refers to features in the drools-karaf-features-VERSION-features.xml file. For additional integration features, see Section 11.4, “Installing Additional Integration Features”.
If you have already installed an older version of the core Red Hat JBoss BPM Suite and Red Hat 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: Removing Existing drools-karaf-features Installation
Start the Red Hat JBoss Fuse console using:
$ ./INSTALLATION_DIRECTORY/bin/fuseUnistall old features or applications that used the previous
features.xmlfile. For example:JBossFuse:karaf@root> features:uninstall drools-module JBossFuse:karaf@root> features:uninstall jbpm JBossFuse:karaf@root> features:uninstall kie-ciSearch for references of bundles using
drools,kie, orjbpm, and remove them:karaf@root> list -t 0 -s | grep drools karaf@root> list -t 0 -s | grep kie karaf@root> list -t 0 -s | grep jbpmTo remove the bundles:
karaf@root> osgi:uninstall BUNDLE_IDRemove the old
drools-karaf-featuresURL:karaf@root> features:removeurl mvn:org.drools/drools-karaf-features/6.2.0.Final-redhat-VERSION/xml/features- Restart Red Hat JBoss Fuse.
To install the drools-karaf-features:
Procedure: Installing Core Red Hat JBoss BPM Suite and Red Hat JBoss BRMS Features
Configure required repositories:
Edit the
INSTALLATION_DIRECTORY/etc/org.ops4j.pax.url.mvn.cfgfile in your Red Hat JBoss Fuse installation and add the following entry to theorg.ops4j.pax.url.mvn.repositoriesvariable (note that entries are separated by, \):
Start Red Hat JBoss Fuse:
$ ./INSTALLATION_DIRECTORY/bin/fuseAdd a reference to the core features file by running the following console command:
For Red Hat JBoss Fuse 6.2.1, use:
JBossFuse:karaf@root> features:addurl mvn:org.drools/drools-karaf-features/VERSION/xml/featuresFor Red Hat JBoss Fuse 6.3.0, use:
JBossFuse:karaf@root> features:addurl mvn:org.drools/drools-karaf-features/VERSION/xml/features-fuse-6_3For example:
features:addurl mvn:org.drools/drools-karaf-features/6.4.0.Final-redhat-10/xml/features-fuse-6_3To see the current
drools-karaf-featuresversion, see Supported Component Versions of the Red Hat JBoss BPM Suite Installation Guide.You can now install the features provided by this file by running, for example, the following console command:
JBossFuse:karaf@root> features:install jbpm