1 Reply Latest reply on Dec 13, 2013 3:40 AM by ffang

    Using JVM specific classes in bundle

    bertar

      Hi Guys,

       

      I am fairly new in fuse fabric. I would like to use certain JVM vendor specific classes (i.e. com.sun.management.GarbageCollectorMXBean) in my bundle. When the fuse fabric container starts up, I get the error below. Does anybody have a solution for this problem? I appreciate any reply!

       

       

      2013-12-10 15:26:27,204 | ERROR | agent-1-thread-1 | DeploymentAgent                  | e.fabric.agent.DeploymentAgent$1  245 | 67 - org.fusesource.fabric.fabric-agent - 7.2.0.redhat-024 | Unable to update agent

      java.lang.Exception: Can not resolve feature:

      Unsatisfied requirement(s):

      ---------------------------

         package:(&(package=com.sun.management))

            example.artifact.name

       

              at org.fusesource.fabric.agent.ObrResolver.resolve(ObrResolver.java:215)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-024]

              at org.fusesource.fabric.agent.DeploymentAgent.updateDeployment(DeploymentAgent.java:566)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-024]

              at org.fusesource.fabric.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:432)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-024]

              at org.fusesource.fabric.agent.DeploymentAgent$1.run(DeploymentAgent.java:242)[67:org.fusesource.fabric.fabric-agent:7.2.0.redhat-024]

              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_40]

              at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_40]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_40]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_40]

              at java.lang.Thread.run(Thread.java:724)[:1.7.0_40]

       

      Thanks,

      Rob