Hi Daniel,
Easier and quicker way I can think of is scripting using karaf shell or
simply by karaf client/ssh commands.
You can make a list of features you want to uninstall and just create a
simple script that invokes karaf client or normal ssh client command to
remove them one by one.
e.g.
Karaf Client
bin/client -a <port Number> -u karaf-user -p password -h host
features:uninstall <feature Name>
SSH client
ssh -l username -p <port> hostname "features:uninstall <feature Name>"
you can replicate the command once per feature in a shell/batch script.
There is also a built in support to run such karaf command scripts in
Karaf but as far as I can remember it had a big limitation that it will
stop execution of script on first failed command. (this may not be
desirable in some cases where single command failure can be tolerated
like in features:uninstall on non-existent feature). if you wish to
explore that you can look into shell:exec and other shell commands in
karaf console.
Regards,
Ulhas Bhole
On 12/03/14 19:04, Wilkerson, Daniel wrote:
Hello all. First time poster and new Servicemix user.
I've installed Servicemix 4.5.3 and am trying to uninstall the Camel 2.10
components and am trying to upgrade to the Camel 2.12 components. I can
uninstall one at a time with features:uninstall and have set features:chooseurl
to the 2.12 components. My question is whether there's a method for bulk
removing all the 2.10 based Camel components and bulk adding all the Camel 2.12?
Also, I looked through the documentation and haven't been able to find a system
administrator's guide. Does such a document exist?
Thanks for any help you all can provide. I sincerely appreciate it.
dw