-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.0
-
None
-
%
-
- Download patches R2 prerequisite, R2 and R2P7 and then try to upgrade a fabric comprising a single root container and it failed saying that it was unable to resolve dependencies.
Steps:
- 1) Download Red Hat JBoss Fuse 6.0.0 Full Install
- 2) Download Red Hat JBoss Fuse/A-MQ 6.0 Rollup 2, Prerequisites
- 3) Download Red Hat JBoss Fuse/A-MQ 6.0 Rollup 2
- 4) Download Red Hat JBoss Fuse/A-MQ 6.0 Rollup 2 Patch 7
- 5) Extract the main Fuse installation.
- 6) Edit users.properties to enable admin/admin
- 7) Start fuse bin/fuse
- 8) issue the console commands:
fabric:create --zookeeper-password admin profile-edit --features fabric-webui fabric
- 9) Logon to hawtio http://localhost:8181
- 10) goto the patches tab and upload the requesites patch
- 11) apply it to version 1.0
- 12) on the migration tab migrate the root container.
- 13) repeat 10-12 for rollup patch 2, creating version 1.2 from 1.1
- 14) repeat 10-12 for the r2p7 patch, creating version 1.3 from 1.2
The outcome is that on the containers tab after r2p7 has been applied users should see a 'unable to resolve.....' error as following:
Provision Exception Trace: java.lang.Exception: Can not resolve feature: Unsatisfied requirement(s): --------------------------- package:(&(package=org.fusesource.jansi)(version>=1.11.0)(!(version>=2.0.0))) Fuse Fabric :: Karaf Commands package:(&(package=jline.console)(version>=2.11.0)(!(version>=3.0.0))) Fuse Fabric :: Boot Commands package:(&(package=org.fusesource.jansi)(version>=1.11.0)(!(version>=2.0.0))) Fuse Application Bundles :: OSGi package:(&(package=jline)(version>=2.11.0)(!(version>=3.0.0))) Fuse Fabric :: Boot Commands package:(&(package=jline)(version>=2.11.0)(!(version>=3.0.0))) Fuse Application Bundles :: OSGi package:(&(package=jline)(version>=2.11.0)(!(version>=3.0.0))) Fuse Fabric :: Karaf Commands package:(&(package=jline.console)(version>=2.11.0)(!(version>=3.0.0))) Fuse Fabric :: Core Agent JClouds package:(&(package=jline)(version>=2.11.0)(!(version>=3.0.0))) Fuse Fabric :: Core Agent JClouds package:(&(package=jline.console)(version>=2.11.0)(!(version>=3.0.0))) Fuse Fabric :: Karaf Commands at org.fusesource.fabric.agent.ObrResolver.resolve(ObrResolver.java:220) at org.fusesource.fabric.agent.DeploymentAgent.updateDeployment(DeploymentAgent.java:566) at org.fusesource.fabric.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:432) at org.fusesource.fabric.agent.DeploymentAgent$1.run(DeploymentAgent.java:242) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)