Uploaded image for project: 'Red Hat Build of Apache Camel for Quarkus'
  1. Red Hat Build of Apache Camel for Quarkus
  2. CEQ-849

atlasmap component fails caused by Xalan not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 3.Next.GA
    • camel-quarkus-2.2-GA
    • Camel Quarkus
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • 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
    • 0

      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.

        1.
        Documentation Sub-task Closed Undefined Unassigned
        2.
        Productization Sub-task Closed Undefined Unassigned
        3.
        Review Test Sub-task Closed Undefined Unassigned
        4.
        Development Sub-task Closed Undefined Unassigned

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

              Created:
              Updated:
              Resolved: