Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1527

Missing Google Guava library guava-14*.jar in fabric8-karaf-1.0.0.redhat-379

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • M1
    • jboss-fuse-6.1
    • None
    • None
    • % %
    • Hide

      using JON 3.2.0 GA with the latest plugins (jon-plugin-pack-fuse-3.2.0.GA-update-01.zip) to monitor the Fuse6.1. Fuse 6.1 SSH container with "default" profile is not registering with JON, no stats - please refer to jon-fuse-ssh-missing screenshot.

      When I enabled debug mode for the jon agent I got this exception:

      2014-05-08 16:16:08,800 DEBUG [main] (rhq.core.pc.util.DiscoveryComponentProxyFactory)- Call to [org.jbosson.plugins.fuse.JBossFuseContainerDiscoveryComponent.getAdditionalClasspathUrls()] with args [[org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext@2ed26127, key=JBoss Fuse Container{/u00/tcs/6.1-amq/pdc-01s-amq/fabric8-karaf-1.0.0.redhat-379},name=JBoss Fuse Container [pdc-01s-amq]{/u00/tcs/6.1-amq/pdc-01s-amq/fabric8-karaf-1.0.0.redhat-379} JBoss Fuse Container [pdc-01s-amq],type=JBoss Fuse Container,version=1.0.0.redhat-379,description=JBoss Fuse Container Process, monitored via Sun JVM Attach API]] failed.
      java.util.concurrent.ExecutionException: java.lang.Exception: Discovery component invocation failed.
              at java.util.concurrent.FutureTask.report(FutureTask.java:122)
              at java.util.concurrent.FutureTask.get(FutureTask.java:202)
              at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ResourceDiscoveryComponentInvocationHandler.invokeInNewThread(DiscoveryComponentProxyFactory.java:231)
              at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ResourceDiscoveryComponentInvocationHandler.invoke(DiscoveryComponentProxyFactory.java:218)
              at com.sun.proxy.$Proxy43.getAdditionalClasspathUrls(Unknown Source)
              at org.rhq.core.pc.inventory.InventoryManager.invokeDiscoveryComponentClassLoaderFacet(InventoryManager.java:517)
              at org.rhq.core.pc.plugin.PluginComponentFactory.askDiscoveryComponentForAdditionalClasspathUrls(PluginComponentFactory.java:260)
              at org.rhq.core.pc.plugin.PluginComponentFactory.getResourceClassloader(PluginComponentFactory.java:219)
              at org.rhq.core.pc.inventory.InventoryManager.getResourceClassLoader(InventoryManager.java:1716)
              at org.rhq.core.pc.inventory.InventoryManager.initResourceContainer(InventoryManager.java:1705)
              at org.rhq.core.pc.inventory.InventoryManager.mergeResource(InventoryManager.java:3250)
              at org.rhq.core.pc.inventory.InventoryManager.mergeModifiedResources(InventoryManager.java:2964)
              at org.rhq.core.pc.inventory.InventoryManager.synchInventory(InventoryManager.java:1252)
              at org.rhq.core.pc.inventory.InventoryManager.synchInventory(InventoryManager.java:1211)
              at org.rhq.core.pc.inventory.InventoryManager.handleReport(InventoryManager.java:1193)
              at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResources(InventoryManager.java:3395)
              at org.rhq.core.pc.inventory.InventoryManager.initialize(InventoryManager.java:256)
              at org.rhq.core.pc.PluginContainer.startContainerService(PluginContainer.java:513)
              at org.rhq.core.pc.PluginContainer.initialize(PluginContainer.java:327)
              at org.rhq.enterprise.agent.AgentMain.startPluginContainer(AgentMain.java:1959)
              at org.rhq.enterprise.agent.AgentMain.start(AgentMain.java:688)
              at org.rhq.enterprise.agent.AgentMain.main(AgentMain.java:429)
      Caused by: java.lang.Exception: Discovery component invocation failed.
              at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:309)
              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)
      Caused by: org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Missing Google Guava library guava-14*.jar in /u00/tcs/6.1-amq/pdc-01s-amq/fabric8-karaf-1.0.0.redhat-379/system
              at org.jbosson.plugins.fuse.JBossFuseContainerDiscoveryComponent.getAdditionalClasspathUrls(JBossFuseContainerDiscoveryComponent.java:497)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:305)
              ... 4 more
      
      Show
      using JON 3.2.0 GA with the latest plugins (jon-plugin-pack-fuse-3.2.0.GA-update-01.zip) to monitor the Fuse6.1. Fuse 6.1 SSH container with "default" profile is not registering with JON, no stats - please refer to jon-fuse-ssh-missing screenshot. When I enabled debug mode for the jon agent I got this exception: 2014-05-08 16:16:08,800 DEBUG [main] (rhq.core.pc.util.DiscoveryComponentProxyFactory)- Call to [org.jbosson.plugins.fuse.JBossFuseContainerDiscoveryComponent.getAdditionalClasspathUrls()] with args [[org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext@2ed26127, key=JBoss Fuse Container{/u00/tcs/6.1-amq/pdc-01s-amq/fabric8-karaf-1.0.0.redhat-379},name=JBoss Fuse Container [pdc-01s-amq]{/u00/tcs/6.1-amq/pdc-01s-amq/fabric8-karaf-1.0.0.redhat-379} JBoss Fuse Container [pdc-01s-amq],type=JBoss Fuse Container,version=1.0.0.redhat-379,description=JBoss Fuse Container Process , monitored via Sun JVM Attach API]] failed. java.util.concurrent.ExecutionException: java.lang.Exception: Discovery component invocation failed. at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:202) at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ResourceDiscoveryComponentInvocationHandler.invokeInNewThread(DiscoveryComponentProxyFactory.java:231) at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ResourceDiscoveryComponentInvocationHandler.invoke(DiscoveryComponentProxyFactory.java:218) at com.sun.proxy.$Proxy43.getAdditionalClasspathUrls(Unknown Source) at org.rhq.core.pc.inventory.InventoryManager.invokeDiscoveryComponentClassLoaderFacet(InventoryManager.java:517) at org.rhq.core.pc.plugin.PluginComponentFactory.askDiscoveryComponentForAdditionalClasspathUrls(PluginComponentFactory.java:260) at org.rhq.core.pc.plugin.PluginComponentFactory.getResourceClassloader(PluginComponentFactory.java:219) at org.rhq.core.pc.inventory.InventoryManager.getResourceClassLoader(InventoryManager.java:1716) at org.rhq.core.pc.inventory.InventoryManager.initResourceContainer(InventoryManager.java:1705) at org.rhq.core.pc.inventory.InventoryManager.mergeResource(InventoryManager.java:3250) at org.rhq.core.pc.inventory.InventoryManager.mergeModifiedResources(InventoryManager.java:2964) at org.rhq.core.pc.inventory.InventoryManager.synchInventory(InventoryManager.java:1252) at org.rhq.core.pc.inventory.InventoryManager.synchInventory(InventoryManager.java:1211) at org.rhq.core.pc.inventory.InventoryManager.handleReport(InventoryManager.java:1193) at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResources(InventoryManager.java:3395) at org.rhq.core.pc.inventory.InventoryManager.initialize(InventoryManager.java:256) at org.rhq.core.pc.PluginContainer.startContainerService(PluginContainer.java:513) at org.rhq.core.pc.PluginContainer.initialize(PluginContainer.java:327) at org.rhq.enterprise.agent.AgentMain.startPluginContainer(AgentMain.java:1959) at org.rhq.enterprise.agent.AgentMain.start(AgentMain.java:688) at org.rhq.enterprise.agent.AgentMain.main(AgentMain.java:429) Caused by: java.lang.Exception: Discovery component invocation failed. at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:309) 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) Caused by: org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Missing Google Guava library guava-14*.jar in /u00/tcs/6.1-amq/pdc-01s-amq/fabric8-karaf-1.0.0.redhat-379/system at org.jbosson.plugins.fuse.JBossFuseContainerDiscoveryComponent.getAdditionalClasspathUrls(JBossFuseContainerDiscoveryComponent.java:497) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:305) ... 4 more

      JON agent fails to correctly register SSH created FUSE container, due to missing Google Guava library guava-14*.jar.

              Unassigned Unassigned
              rhn-support-xiwu Xiaohui Wu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: