6 Replies Latest reply: Feb 3, 2012 8:50 AM by konrad biel RSS

I can't see packages I've deployed + muliple deploy

konrad biel Newbie

I use RHQ 4.2 and jboss 6.1. default. Sun OS 5.10.  I've deploy .war package in Inventory->create child. This package was deployed in that instance (I saw it in folder) but I can't see this package in RHQ GUI inventory. What is wrong?

 

I also want to manage jboss like in this wideo. http://rhq-project.org/display/JOPR2/Demo-GroupCluster

I've created group of jboss inctances where I can start and stop them. But! Is There a possibility to deploy one package to mulitple instances in RHQ 4.2?

  • 1. Re: I can't see packages I've deployed + muliple deploy
    Ian Springer Master

    konrad biel wrote:

     

    I use RHQ 4.2 and jboss 6.1. default. Sun OS 5.10.  I've deploy .war package in Inventory->create child. This package was deployed in that instance (I saw it in folder) but I can't see this package in RHQ GUI inventory. What is wrong?

     

    I would look for any relevant errors or warnings in the log file of the Agent running on the same machine as the AS 6.1 instance.

     

    I also want to manage jboss like in this wideo. http://rhq-project.org/display/JOPR2/Demo-GroupCluster

    I've created group of jboss inctances where I can start and stop them. But! Is There a possibility to deploy one package to mulitple instances in RHQ 4.2?

     

    It's currently not possible to deploy to a group via the GUI, but you can use a CLI script to do it - this wiki page describes how:

     

    https://community.jboss.org/wiki/JON23ScriptedGroupDeploymentsUsingTheCLIAPI

  • 2. Re: I can't see packages I've deployed + muliple deploy
    mazz Master

    or use bundles to deploy things - which you can do from the UI - but that works differently than package deployments.  http://rhq-project.org/display/JOPR2/Demo-Bundles  http://management-platform.blogspot.com/2011/06/deploying-rhq-bundles-to-non-platform.html

  • 3. Re: I can't see packages I've deployed + muliple deploy
    konrad biel Newbie

    Logs after deploy WAR package:

     

    2012-01-30 17:27:14,314 ERROR [ResourceContainer.invoker.daemon-2] (org.rhq.plugins.jbossas5.ApplicationServerComponent)- Failed to obtain metric 'MCBean|JTA|*|rollbackCount'.

    java.lang.IllegalStateException: Found more than one component of type ComponentType{type=MCBean, subtype=JTA}: [org.jboss.profileservice.management.client.ManagedComponentDelegate@fb3ad9, org.jboss.profileservice.management.client.ManagedComponentDelegate@15be0ab]

        at org.rhq.plugins.jbossas5.util.ManagedComponentUtils.getSingletonManagedComponent(ManagedComponentUtils.java:57)

        at org.rhq.plugins.jbossas5.ApplicationServerComponent.getMetric(ApplicationServerComponent.java:552)

        at org.rhq.plugins.jbossas5.ApplicationServerComponent.getValues(ApplicationServerComponent.java:240)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:552)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    2012-01-30 17:27:14,753 ERROR [ResourceContainer.invoker.daemon-2] (org.rhq.plugins.jbossas5.ApplicationServerComponent)- Failed to obtain metric 'MCBean|JTA|*|transactionCount'.

    java.lang.IllegalStateException: Found more than one component of type ComponentType{type=MCBean, subtype=JTA}: [org.jboss.profileservice.management.client.ManagedComponentDelegate@14212f9, org.jboss.profileservice.management.client.ManagedComponentDelegate@ebbf02]

        at org.rhq.plugins.jbossas5.util.ManagedComponentUtils.getSingletonManagedComponent(ManagedComponentUtils.java:57)

        at org.rhq.plugins.jbossas5.ApplicationServerComponent.getMetric(ApplicationServerComponent.java:552)

        at org.rhq.plugins.jbossas5.ApplicationServerComponent.getValues(ApplicationServerComponent.java:240)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:552)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    2012-01-30 17:27:15,649 ERROR [ResourceContainer.invoker.daemon-2] (org.rhq.plugins.jbossas5.ApplicationServerComponent)- Failed to obtain metric 'MCBean|JTA|*|commitCount'.

    java.lang.IllegalStateException: Found more than one component of type ComponentType{type=MCBean, subtype=JTA}: [org.jboss.profileservice.management.client.ManagedComponentDelegate@1c3d34a, org.jboss.profileservice.management.client.ManagedComponentDelegate@164b8cc]

        at org.rhq.plugins.jbossas5.util.ManagedComponentUtils.getSingletonManagedComponent(ManagedComponentUtils.java:57)

        at org.rhq.plugins.jbossas5.ApplicationServerComponent.getMetric(ApplicationServerComponent.java:552)

        at org.rhq.plugins.jbossas5.ApplicationServerComponent.getValues(ApplicationServerComponent.java:240)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:552)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    2012-01-30 17:27:15,788 INFO  [MeasurementManager.collector-1] (rhq.core.pc.measurement.MeasurementCollectorRunner)- [PERF] Collection of measurements for [Resource[id=12085, type=JBossAS Server, key=/export/home/vo/jboss_test/jboss-6.1.0.Final/server/default, name=rydz:1399 default, parent=rydz, version=6.1.0.Final]] (component=[org.rhq.plugins.jbossas5.ApplicationServerComponent@11a2ff1]) took [2141]ms

    2012-01-30 17:27:16,264 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at [platform]

    2012-01-30 17:27:16,935 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Detected new Server [Resource[id=0, type=JBoss AS JVM, key=JVM, name=JVM, parent=<null>, version=1.6.0_21]] - adding to local inventory...

    2012-01-30 17:27:17,788 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Web Application (WAR)] Resources - failed after 130 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:18,046 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Embedded Web Application (WAR)] Resources - failed after 239 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:18,573 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Resource Adapter Archive (RAR)] Resources - failed after 216 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:20,165 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned [1] servers and found [19] total descendant Resources.

    2012-01-30 17:27:20,165 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending [runtime] inventory report to Server...

    2012-01-30 17:27:22,660 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...

    2012-01-30 17:27:22,678 INFO  [ResourceContainer.invoker.daemon-4] (org.rhq.plugins.jmx.JMXServerComponent)- Starting connection to JMX Server JVM

    2012-01-30 17:27:22,683 INFO  [ResourceContainer.invoker.daemon-4] (ems.impl.jmx.connection.DConnection)- Querying MBeanServer for all MBeans

    2012-01-30 17:27:22,973 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at [platform]

    2012-01-30 17:27:23,741 INFO  [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...

    2012-01-30 17:27:25,605 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Web Application (WAR)] Resources - failed after 126 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:25,939 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Embedded Web Application (WAR)] Resources - failed after 331 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:26,333 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Resource Adapter Archive (RAR)] Resources - failed after 119 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:26,973 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned [3] servers and found [13] total descendant Resources.

    2012-01-30 17:27:26,973 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending [runtime] inventory report to Server...

    2012-01-30 17:27:28,765 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...

    2012-01-30 17:27:28,877 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at [platform]

    2012-01-30 17:27:29,231 INFO  [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...

    2012-01-30 17:27:30,788 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Web Application (WAR)] Resources - failed after 132 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:30,981 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Embedded Web Application (WAR)] Resources - failed after 191 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:31,772 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Resource Adapter Archive (RAR)] Resources - failed after 533 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:33,399 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned [1] servers and found [7] total descendant Resources.

    2012-01-30 17:27:33,399 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending [runtime] inventory report to Server...

    2012-01-30 17:27:34,586 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...

    2012-01-30 17:27:34,668 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at [platform]

    2012-01-30 17:27:35,129 INFO  [InventoryManager.availability-1] (rhq.core.pc.inventory.InventoryManager)- Sending availability report to Server...

    2012-01-30 17:27:37,421 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Web Application (WAR)] Resources - failed after 119 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:37,593 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Embedded Web Application (WAR)] Resources - failed after 157 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:38,198 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Resource Adapter Archive (RAR)] Resources - failed after 215 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:39,708 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned [0] servers and found [0] total descendant Resources.

    2012-01-30 17:27:39,708 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending [runtime] inventory report to Server...

    2012-01-30 17:27:39,870 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...

    2012-01-30 17:27:39,879 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at [platform]

    2012-01-30 17:27:41,303 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Web Application (WAR)] Resources - failed after 236 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:41,558 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Embedded Web Application (WAR)] Resources - failed after 253 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:42,015 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Resource Adapter Archive (RAR)] Resources - failed after 167 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:27:43,128 INFO  [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementSenderRunner)- Measurement collection for [115] metrics took 2755ms - sending report to Server...

    2012-01-30 17:27:43,571 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned [0] servers and found [0] total descendant Resources.

    2012-01-30 17:27:43,571 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending [runtime] inventory report to Server...

    2012-01-30 17:27:43,741 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...

    2012-01-30 17:28:13,116 INFO  [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementSenderRunner)- Measurement collection for [5] metrics took 1ms - sending report to Server...

    2012-01-30 17:28:43,147 WARN  [ResourceContainer.invoker.nonDaemon-1] (rhq.plugins.jbossas5.script.ScriptComponent)- Failed to compute the SHA256 digest of the script: /export/home/vo/RHQ_agent/rhq-agent/probe.sh

    java.io.FileNotFoundException: probe.sh (No such file or directory)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(FileInputStream.java:106)

        at org.rhq.core.util.MessageDigestGenerator.calcDigest(MessageDigestGenerator.java:255)

        at org.rhq.core.util.MessageDigestGenerator.calcDigestString(MessageDigestGenerator.java:291)

        at org.rhq.plugins.jbossas5.script.ScriptComponent.discoverDeployedPackages(ScriptComponent.java:228)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:552)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    2012-01-30 17:28:57,027 INFO  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Creating resource through report: CreateResourceReport: ResourceType=[ResourceType[id=0, category=Service, name=Web Application (WAR), plugin=JBossAS5]], ResourceKey=[null]

    2012-01-30 17:29:00,513 INFO  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Sending create response to server: CreateResourceResponse[RequestId=10051, Status=Success]

    2012-01-30 17:29:00,514 INFO  [ResourceFactory.executor-1] (rhq.core.pc.inventory.CreateResourceRunner)- Scanning for newly created Resource...

    2012-01-30 17:29:00,516 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Running runtime discovery scan rooted at [Resource[id=12085, type=JBossAS Server, key=/export/home/vo/jboss_test/jboss-6.1.0.Final/server/default, name=rydz:1399 default, parent=rydz, version=6.1.0.Final]]

    2012-01-30 17:29:02,356 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Web Application (WAR)] Resources - failed after 114 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:29:02,584 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Embedded Web Application (WAR)] Resources - failed after 226 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:29:02,919 WARN  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Failure during discovery for [Resource Adapter Archive (RAR)] Resources - failed after 114 ms.

    java.lang.Exception: Discovery component invocation failed.

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:296)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

    Caused by: java.lang.NoSuchMethodError: org.jboss.profileservice.spi.ProfileService.getActiveProfile(Lorg/jboss/profileservice/spi/ProfileKey;)Lorg/jboss/profileservice/spi/Profile;

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.getProfileName(AbstractManagedDeploymentDiscoveryComponent.java:188)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.buildResourceKey(AbstractManagedDeploymentDiscoveryComponent.java:163)

        at org.rhq.plugins.jbossas5.AbstractManagedDeploymentDiscoveryComponent.discoverResources(AbstractManagedDeploymentDiscoveryComponent.java:108)

        at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:292)

        ... 5 more

    2012-01-30 17:29:03,457 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.RuntimeDiscoveryExecutor)- Scanned [0] servers and found [0] total descendant Resources.

    2012-01-30 17:29:03,458 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Sending [runtime] inventory report to Server...

    2012-01-30 17:29:03,627 INFO  [InventoryManager.discovery-1] (rhq.core.pc.inventory.InventoryManager)- Syncing local inventory with Server inventory...

    2012-01-30 17:29:13,116 INFO  [MeasurementManager.sender-1] (rhq.core.pc.measurement.MeasurementSenderRunner)- Measurement collection for [6] metrics took 5ms - sending report to Server...

    2012-01-30 17:29:13,146 WARN  [ResourceContainer.invoker.nonDaemon-1] (rhq.plugins.jbossas5.script.ScriptComponent)- Failed to compute the SHA256 digest of the script: /export/home/vo/RHQ_agent/rhq-agent/twiddle.sh

    java.io.FileNotFoundException: twiddle.sh (No such file or directory)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(FileInputStream.java:106)

        at org.rhq.core.util.MessageDigestGenerator.calcDigest(MessageDigestGenerator.java:255)

        at org.rhq.core.util.MessageDigestGenerator.calcDigestString(MessageDigestGenerator.java:291)

        at org.rhq.plugins.jbossas5.script.ScriptComponent.discoverDeployedPackages(ScriptComponent.java:228)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:552)

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

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

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

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

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

  • 4. Re: I can't see packages I've deployed + muliple deploy
    Ian Springer Master

    I think the NoSuchMethodError bug in AbstractManagedDeploymentDiscoveryComponent has been fixed in the RHQ master branch (see https://bugzilla.redhat.com/show_bug.cgi?id=751873). To fix it, check out the RHQ master branch from git and build the jboss-as-5 plugin, then upgrade your RHQ environment to that version of the plugin.

  • 5. Re: I can't see packages I've deployed + muliple deploy
    konrad biel Newbie

    I've written my deploy.xml:

     

    <?xml version="1.0"?>

     

    <project name="jboss-as-bundle-deploy" default="main" xmlns:rhq="antlib:org.rhq.bundle">

     

        <rhq:bundle name="helloworld"

                    version="1.0"

                    description="an upgraded sample bundle consisting">

     

     

            <rhq:deployment-unit name="helloworld">

     

                <rhq:archive name="helloworld.war">

     

                </rhq:archive>

     

            </rhq:deployment-unit>

     

        </rhq:bundle>

     

        <target name="main"/>

     

    </project>

     

    I have zipped helloworld.war two times (i don't want to deploy expoloded).

     

    But when I've clicked "purge" my folder deploy dissappear from serwer. It isn't good. Should I have change sth in deploy.xml?

  • 6. Re: I can't see packages I've deployed + muliple deploy
    konrad biel Newbie

    My problems were resolve

     

    1. Multiple deployments -> Bundle

    2. Now I can see resources which I deployed. New plugin for agent helps. Build wasnt't sucesfull but I've downloaded plugin from here: https://community.jboss.org/wiki/EPPJONRHQPluginHow-to