0 Replies Latest reply on Nov 21, 2011 4:34 AM by rabee

    RHQ 4.2.0 Repository and Content Source problem

    rabee

      Hi,

       

      I am using RHQ 4.2

      I want to create a local Content Source on RHQ for my jboss project releases and deploy them through out RHQ Repository. The RHQ Repositpry should be synchronized with Content Source. I did not find any reference guide to do such a thing.

       

       

      There is another problem also. I have defined a repository and added an EAR project in it. When I want to delploy it, i get the following exception:

       

      java.lang.IllegalArgumentException: The 'metadata' field of the 'packageDetails' parameter is null.

      at org.jboss.on.common.jbossas.JBPMWorkflowManager.run(JBPMWorkflowManager.java:94)

      at org.rhq.plugins.jbossas5.ApplicationServerContentFacetDelegate.deployPackages(ApplicationServerContentFacetDelegate.java:112)

      at org.rhq.plugins.jbossas5.ApplicationServerComponent.deployPackages(ApplicationServerComponent.java:324)

      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)

       

      Any help would be appreciated.

      Thanks

      Rabee