此内容没有您所选择的语言版本。
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/fuse
$ ./INSTALLATION_DIRECTORY/bin/fuse
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Unistall old features or applications 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
JBossFuse:karaf@root> features:uninstall drools-module JBossFuse:karaf@root> features:uninstall jbpm JBossFuse:karaf@root> features:uninstall kie-ci
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Search 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 jbpm
karaf@root> list -t 0 -s | grep drools karaf@root> list -t 0 -s | grep kie karaf@root> list -t 0 -s | grep jbpm
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To remove the bundles:
karaf@root> osgi:uninstall BUNDLE_ID
karaf@root> osgi:uninstall BUNDLE_ID
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
karaf@root> features:removeurl mvn:org.drools/drools-karaf-features/6.2.0.Final-redhat-VERSION/xml/features
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 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.cfg
file in your Red Hat JBoss Fuse installation and add the following entry to theorg.ops4j.pax.url.mvn.repositories
variable (note that entries are separated by, \
):
Start Red Hat JBoss Fuse:
./INSTALLATION_DIRECTORY/bin/fuse
$ ./INSTALLATION_DIRECTORY/bin/fuse
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add 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/features
JBossFuse:karaf@root> features:addurl mvn:org.drools/drools-karaf-features/VERSION/xml/features
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For Red Hat JBoss Fuse 6.3.0, use:
JBossFuse:karaf@root> features:addurl mvn:org.drools/drools-karaf-features/VERSION/xml/features-fuse-6_3
JBossFuse:karaf@root> features:addurl mvn:org.drools/drools-karaf-features/VERSION/xml/features-fuse-6_3
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For example:
features:addurl mvn:org.drools/drools-karaf-features/6.4.0.Final-redhat-10/xml/features-fuse-6_3
features:addurl mvn:org.drools/drools-karaf-features/6.4.0.Final-redhat-10/xml/features-fuse-6_3
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To see the current
drools-karaf-features
version, 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
JBossFuse:karaf@root> features:install jbpm
Copy to Clipboard Copied! Toggle word wrap Toggle overflow