Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-993

Unable to add KieModule to Repository from UrlResource

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.1.0
    • 6.0.2
    • jBPM Core
    • None
    • x86_64 Linux

      Description of problem:
      Unable to add KieModule to Repository from UrlResource.

      Version-Release number of selected component (if applicable):
      6.0.2

      Steps to Reproduce:
      1. Create a project in BPM Suite and buid.
      2. Access maven url file in browser, (Ex: http://bpms:8080/business-central/maven2/org/kie/example/project1/1.0.1/project1-1.0.1.jar)
      3. Execute code above in your application.
      UrlResource urlResource = (UrlResource) kieServices.getResources().newUrlResource("http://bpms:8080/business-central/maven2/org/kie/example/project1/1.0.1/project1-1.0.1.jar");
      urlResource.setBasicAuthentication("enabled");
      urlResource.setUsername("bpmsUser");
      urlResource.setPassword("bpmsPass");
      kieServices.getRepository().addKieModule(urlResource);

      Actual results:
      Throws exception (see attach).

      Expected results:
      The project added in repository.

      Additional Info:
      I removed guvnor-m2-repo from maven configuration file (settings.xml)

              manstis@redhat.com Michael Anstis
              alvesph.redhat Paulo Henrique Alves (Inactive)
              Marek Baluch Marek Baluch
              Marek Baluch Marek Baluch
              Kris Verlaenen, Marek Baluch, Michael Anstis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: