Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2123

Kie server is not able to resolve kjar from Workbench internal Maven repo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.4.0.GA
    • 7.4.0.GA
    • None
    • version - latest nightly artifacts - rhpam-7.4.0.PAM-redhat-20190513-business-central-eap7-deployable.zip , rhpam-7.4.0.PAM-redhat-20190513-kie-server-ee8.zip
      Java 1.8
      EAP 7.2.1

    • Hide

      Download and adjust attached settings.xml to point local repo to some empty folder on local filesystem.

      Install Workbench on EAP with port 8080.
      Install Kie server on different EAP, set its port to 8180, set kie.maven.settings.custom to point to attached settings.xml.
      Define necessary users for connection between Workbench and Kie server and yoda (from settings.xml), give him admin and kie-server roles.
      Configure both EAPs to connect Kie server into Workbench (syst. properties org.kie.server.location and credentials and org.kie.server.id).
      Start both EAPs.
      Create an empty project in Workbench, deploy it into connected Kie server.
      =>
      Error is thrown and Kie server doesn't resolve container.

      Show
      Download and adjust attached settings.xml to point local repo to some empty folder on local filesystem. Install Workbench on EAP with port 8080. Install Kie server on different EAP, set its port to 8180, set kie.maven.settings.custom to point to attached settings.xml. Define necessary users for connection between Workbench and Kie server and yoda (from settings.xml), give him admin and kie-server roles. Configure both EAPs to connect Kie server into Workbench (syst. properties org.kie.server.location and credentials and org.kie.server.id). Start both EAPs. Create an empty project in Workbench, deploy it into connected Kie server. => Error is thrown and Kie server doesn't resolve container.
    • 2019 Week 20-22

      Kie server is not able to download artifacts from internal Workbench Maven repository.
      When user tries to create a project in Workbench and deploy it into Kie server connected to its internal Maven repository, the deployment fails. The console error is attached.

      All files downloaded by Maven contain HTML login page, see attachment maven-metadata-server.xml.

      settings.xml file used for testing of this issue is attached too.
      See Steps to reproduce for instructions how to simulate this issue.

      If I removed `<url-pattern>/maven2/*</url-pattern>` from security-constraint in Workbench web.xml then Kie server was able to load artifacts from Workbench internal Maven repo.

        1. maven-metadata-server.xml
          2 kB
          Karel Suta
        2. settings.xml
          1 kB
          Karel Suta
        3. stacktrace.txt
          8 kB
          Karel Suta

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: