Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2447

[QA](6.3.z)Business Central shows error in server log if started without access to product maven repository

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 6.3.2, 6.3.2.GA
    • 6.3.0.GA
    • Business Central
    • None
    • CR1
    • Hide

      1. Ensure your local maven repository does not contain guvnor-asset mgmt artifact or it's parent POM artifact. If so, use -Dkie.maven.settings.custom to define a clean local maven repository.
      2. Start Business Central
      3. Check server log for error

      Show
      1. Ensure your local maven repository does not contain guvnor-asset mgmt artifact or it's parent POM artifact. If so, use -Dkie.maven.settings.custom to define a clean local maven repository. 2. Start Business Central 3. Check server log for error

    Description

      Business Central started without an access to product maven repository creates an error message is server log:
      05:52:07,296 ERROR [org.kie.api.builder.KieScanner] (MSC service thread
      1-2) Unable to create MavenProject from InputStream:
      org.apache.maven.project.ProjectBuildingException: 1 problem was
      encountered while building the effective model for
      org.guvnor:guvnor-asset-mgmt-project:[unknown-version]
      [FATAL] Non-resolvable parent POM: Failure to find
      org.guvnor:guvnor-asset-mgmt:pom:6.4.0.Final-redhat-3 in
      https://repo.maven.apache.org/maven2 was cached in the local repository,
      resolution will not be reattempted until the update interval of central
      has elapsed or updates are forced @ line 4, column 11
      for project org.guvnor:guvnor-asset-mgmt-project:[unknown-version]
      at

      This is caused by attempt to build asset-mgmt project when it's parent POM is missing. Issue can be fixed by pointing Business Central to product maven repository, which can be achieved by providing proper settings.xml via system property -Dkie.maven.settings.custom=<your maven settings file>. The settings.xml must contain reference to either online product repository [1] or define a local maven repository, which had been initialized by unzipping offline product repository there.

      Additional info:
      There had been a similar issue specific for Tomcat container where this matter had been discussed https://issues.jboss.org/browse/RHBRMS-1483.

      In case This issue cannot be fix, it should be at least documented well that product maven repository has to be specified before running Business Central

      [1] http://download.eng.bos.redhat.com/brewroot/repos/jb-bxms-6.3-build/latest/maven/

      Attachments

        Issue Links

          Activity

            People

              psiroky_jira Petr Široký (Inactive)
              rsynek@redhat.com Radovan Synek
              Archiver:
              rhn-support-ceverson Clark Everson
              Bojan Sremac Bojan Sremac (Inactive)
              Bojan Sremac Bojan Sremac (Inactive)

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty