1 Reply Latest reply on Dec 6, 2012 10:23 AM by stlewis

    Error status after applying profile

    kenlanderson

      I am just getting started with FMC and trying out a very simple use case. A camel blueprint with CXF endpoint simply writing to a log.

       

      My fmc profile has the following features installed and extends the karaf profile:

       

      camel-core

      camel-cxf

      camel-jetty

      camel-blueprint

       

      I have a camel blueprint deployed as a FAB.

       

      The full stack trace from the console is copied below. The exchange is actually working but the container is showing error state with Error - Org.fusesource.fabric.agent.utils.multiexception: Error Updating Agent as its provision status.

       

      Provision Exception Trace: org.fusesource.fabric.agent.utils.MultiException: Error updating agent

          at org.fusesource.fabric.agent.DeploymentAgent.updateDeployment(DeploymentAgent.java:782)

          at org.fusesource.fabric.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:415)

          at org.fusesource.fabric.agent.DeploymentAgent$1.run(DeploymentAgent.java:225)

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

          at java.util.concurrent.FutureTask.run(FutureTask.java:166)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

          at java.lang.Thread.run(Thread.java:722)

      org.osgi.framework.BundleException: Activator start error in bundle org.eclipse.osgi .

          at org.apache.felix.framework.Felix.doActivateBundle(Felix.java:2264)

          at org.apache.felix.framework.Felix$7.call(Felix.java:2152)

          at org.apache.felix.framework.Felix$6.call(Felix.java:2098)

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

          at java.util.concurrent.FutureTask.run(FutureTask.java:166)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

          at java.lang.Thread.run(Thread.java:722)

      Caused by: java.lang.ClassCastException: org.eclipse.osgi.framework.internal.core.SystemBundleActivator cannot be cast to org.osgi.framework.BundleActivator

          at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4426)

          at org.apache.felix.framework.Felix.doActivateBundle(Felix.java:2209)

          ... 7 more

        • 1. Re: Error status after applying profile
          stlewis

          Looks like the FAB runtime has brought in some eclipse bundle when figuring out dependencies for your project.  I'd make sure you don't have any framework specific jars listed as dependencies in your project to avoid this kind of thing.  Also, does this FAB install alright in a standalone ESB?