Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-19029

atlasmap component fails caused by Xalan not found

XMLWordPrintable

    • False
    • None
    • False
    • % %
    • Todo
    • Hide

      Use the following base project to reproduce the problem:

      https://github.com/redhat-integration-resources/camel-sizing-patterns/tree/master/camelq

      1) deploy the stub (end1) as per its 'readme.md'

      2) Edit the POM file:

      https://github.com/redhat-integration-resources/camel-sizing-patterns/blob/master/camelq/level1simple/pom.xml

      and remove the following dependency:

       

              <dependency>
                  <groupId>org.apache.camel.quarkus</groupId>
                  <artifactId>camel-quarkus-support-xalan</artifactId>
              </dependency>

       

      3) deploy the service (level1simple) as per its 'readme.md'

      4) send a request as per its readme.md

       

      Step 4) should cause Camel Quarkus to fail

      Show
      Use the following base project to reproduce the problem: https://github.com/redhat-integration-resources/camel-sizing-patterns/tree/master/camelq 1) deploy the stub (end1) as per its 'readme.md' 2) Edit the POM file: https://github.com/redhat-integration-resources/camel-sizing-patterns/blob/master/camelq/level1simple/pom.xml and remove the following dependency:           <dependency>             <groupId>org.apache.camel.quarkus</groupId>             <artifactId>camel-quarkus-support-xalan</artifactId>         </dependency>   3) deploy the service (level1simple) as per its 'readme.md' 4) send a request as per its readme.md   Step 4) should cause Camel Quarkus to fail

      Working locally all works well.

      When deploying in OpenShift, Camel Quarkus fails when executing the camel-atlasmap component. The error shows the Xalan library was not found.

      A similar issue was raised, here's the reference:

       - https://github.com/atlasmap/atlasmap/issues/3328

      The workaround is to explicitly include the following dependency in the POM file:

              <dependency>
                  <groupId>org.apache.camel.quarkus</groupId>
                  <artifactId>camel-quarkus-support-xalan</artifactId>
              </dependency>

      When included and deployed in OpenShift, the problem is resolved.

      The expectation is not to have to manually include the dependency in the POM file. The deployment in OpenShift without the explicit dependency would execute successfully.

              jnethert@redhat.com James Netherton
              bmesegue@redhat.com Bruno Meseguer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: