3 Replies Latest reply on Feb 19, 2010 6:33 PM by ips

    Disk Content Source

    rafaelcba

      Hello All!

       

      I have created a Disk Content Source on JON to provide WAR pkgs.

       

      But when I try sync this content source JON server can't identify the pkg type. See server log output:

       

      2010-02-19 15:56:18,059 INFO  [org.rhq.enterprise.server.plugin.content.ContentSourceAdapterManager] synchronizeContentSource: [INEP - Continuum]: loaded existing list of size=[0] (16)ms
      2010-02-19 15:56:27,261 INFO  [org.rhq.enterprise.server.plugin.content.ContentSourceAdapterManager] synchronizeContentSource: [INEP - Continuum]: got sync report from adapter=[PackageSyncReport: new=[20], updated=[0], deleted=[0]] (9183)ms
      2010-02-19 15:56:27,281 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,283 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,285 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,286 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,288 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,289 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,291 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,293 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,295 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,296 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,298 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,300 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,301 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,303 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,305 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,307 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,308 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,310 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,312 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,313 WARN  [org.rhq.enterprise.server.content.ContentSourceManagerBean] Content source adapter found a package of an unknown package type [war|ResourceType[id=10041, category=Server, name=JBossAS Server, plugin=JBossAS]] Skipping it.
      2010-02-19 15:56:27,334 INFO  [org.rhq.enterprise.server.plugin.content.ContentSourceAdapterManager] synchronizeContentSource: [INEP - Continuum]: report has been merged (68)ms
      2010-02-19 15:56:27,356 INFO  [org.rhq.enterprise.server.scheduler.jobs.ContentSourceSyncJob] Content source [INEP - Continuum] is fully synchronized now. It is marked to never download bits - bits will not be downloaded now.

       

      See the contente source definition:

      DiskSource.png

      What is wrong?

        • 1. Re: Disk Content Source
          ips

          WARs and EARs cannot be deployed via content sources. In order to deploy them, you must go to the parent JBossAS Resource's Inventory>Overview tab and choose to Create New Child Resource.

           

          The only package type the jboss-as and jboss-as-5 plugins currently support deploying via content sources are Cumulative Patches (CPs).

          • 2. Re: Disk Content Source
            rafaelcba

            Ok!

             

            There is any plan to support deploy of EJB-JAR/WAR/EAR/SAR pkgs via Content Source subsystem on future versions?

             

            Thanks!

            • 3. Re: Disk Content Source
              ips

              There's some major reworking of the RHQ content subsystem going on now. I don't know yet whether support will be added for deploying EARs and WARs from content sources, but I am hopeful we will at least add support for deploying an EAR or WAR to a group of servers, whether it be via child resource creation or via a content source. I would look in RHQ Bugzilla and see if there's an issue requesting support for deploying EARs and WARs from a content source, and if not, I would create one. I'd also try out the RHQ milestone builds, which we release every few weeks, to see what new content-related functionality has been added.