JBoss Fuse: after applying patch - Error in initialization script: Command not found: shell:if
Issue
- After applying the patch (jboss-fuse-6.1.0.redhat-379-r1.zip OR jboss-fuse-6.1.0.redhat-379-r2.zip) to Fuse Fabric 6.1.0 the following messages is seen on the karaf console
Error in initialization script: Command not found: shell:if
JBossFuse:karaf@redhat6> io.fabric8.fabric-agent[io.fabric8.agent.DeploymentAgent] : Unable to update agent
java.lang.IllegalStateException: Invalid BundleContext.
at org.apache.felix.framework.BundleContextImpl.checkValidity(BundleContextImpl.java:517)
at org.apache.felix.framework.BundleContextImpl.getServiceReference(BundleContextImpl.java:359)
at io.fabric8.agent.DeploymentAgent.installFeatureConfigs(DeploymentAgent.java:1192)
at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:538)
at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:262)
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:745)
Environment
- Red Hat JBoss Fuse
- 6.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.