Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-19363

Duplicate jackson-dataformat-yaml.jar in server modules

XMLWordPrintable

    • ---
    • ---

      EDIT: This Jira is about removing the duplication of jackson-dataformat-yaml.jar. See Brian's comment from 28th May.

      We have duplicate modules in EAP that contains the same JAR

      opentelemetry-exporter-otlp-1.29.0.redhat-00001.jar
      jboss-eap-xp-5.0/modules/system/layers/microprofile/io/opentelemetry/exporter/main/opentelemetry-exporter-otlp-1.29.0.redhat-00001.jar
      jboss-eap-xp-5.0/modules/system/layers/microprofile/io/opentelemetry/otlp/main/opentelemetry-exporter-otlp-1.29.0.redhat-00001.jar 
      
      opentelemetry-exporter-common-1.29.0.redhat-00001.jar
      jboss-eap-xp-5.0/modules/system/layers/microprofile/io/opentelemetry/exporter/main/opentelemetry-exporter-common-1.29.0.redhat-00001.jar
      jboss-eap-xp-5.0/modules/system/layers/microprofile/io/opentelemetry/otlp/main/opentelemetry-exporter-common-1.29.0.redhat-00001.jar
      
      opentelemetry-exporter-otlp-common-1.29.0.redhat-00001.jar
      jboss-eap-xp-5.0/modules/system/layers/microprofile/io/opentelemetry/exporter/main/opentelemetry-exporter-otlp-common-1.29.0.redhat-00001.jar
      jboss-eap-xp-5.0/modules/system/layers/microprofile/io/opentelemetry/otlp/main/opentelemetry-exporter-otlp-common-1.29.0.redhat-00001.jar
      
      lra-service-base-6.0.2.Final-redhat-00002.jar
      jboss-eap-xp-5.0/modules/system/layers/microprofile/org/jboss/narayana/rts/lra-coordinator/main/lra-service-base-6.0.2.Final-redhat-00002.jar
      jboss-eap-xp-5.0/modules/system/layers/microprofile/org/jboss/narayana/rts/lra-participant/main/lra-service-base-6.0.2.Final-redhat-00002.jar
      
      jackson-dataformat-yaml-2.15.2.redhat-00001.jar
      jboss-eap-xp-5.0/modules/system/layers/base/org/jboss/prospero/main/jackson-dataformat-yaml-2.15.2.redhat-00001.jar
      jboss-eap-xp-5.0/modules/system/layers/microprofile/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/main/jackson-dataformat-yaml-2.15.2.redhat-00001.jar
      

      This duplicate modules causing Unsatisfied dependencies when the OpenTelemetry quickstart is deployed. The deployment is stopped with the following error message:

      08:55:00 06:55:00,111 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "opentelemetry-tracing.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"opentelemetry-tracing.war\".WeldStartService" => "Failed to start service
      08:55:00 Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Tracer with qualifiers @Default
      08:55:00 at injection point [BackedAnnotatedField] @Inject private org.wildfly.quickstarts.opentelemetry.ExplicitlyTracedBean.tracer
      08:55:00 at org.wildfly.quickstarts.opentelemetry.ExplicitlyTracedBean.tracer(ExplicitlyTracedBean.java:0)
      08:55:00 "}}
      08:55:00 06:55:00,112 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "opentelemetry-tracing.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"opentelemetry-tracing.war\".WeldStartService" => "Failed to start service
      08:55:00 Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Tracer with qualifiers @Default
      08:55:00 at injection point [BackedAnnotatedField] @Inject private org.wildfly.quickstarts.opentelemetry.ExplicitlyTracedBean.tracer
      08:55:00 at org.wildfly.quickstarts.opentelemetry.ExplicitlyTracedBean.tracer(ExplicitlyTracedBean.java:0)
      08:55:00 "}}
      08:55:00 06:55:00,112 ERROR [org.jboss.as.server] (management-handler-thread - 1) WFLYSRV0021: Deploy of deployment "opentelemetry-tracing.war" was rolled back with the following failure message: 
      08:55:00 {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"opentelemetry-tracing.war\".WeldStartService" => "Failed to start service
      08:55:00 Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Tracer with qualifiers @Default
      08:55:00 at injection point [BackedAnnotatedField] @Inject private org.wildfly.quickstarts.opentelemetry.ExplicitlyTracedBean.tracer
      08:55:00 at org.wildfly.quickstarts.opentelemetry.ExplicitlyTracedBean.tracer(ExplicitlyTracedBean.java:0)
      08:55:00 "}}
      08:55:00 06:55:00,157 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0028: Stopped deployment opentelemetry-tracing.war (runtime-name: opentelemetry-tracing.war) in 43ms

       

            Unassigned Unassigned
            rhn-support-kstekovi Krystof Stekovic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: