Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-6579

Relative ordering of webfragments causes an IllegalStateException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.1.0.DR7
    • None
    • Undertow
    • None
    • Hide

      override the relative ordering of the webfragments with an absolute ordering in the web.xml of the war

      Show
      override the relative ordering of the webfragments with an absolute ordering in the web.xml of the war
    • Hide

      Deploy a war containing 3 jars with webfragments using relative ordering. The initial order is based on the keys (jar name) of a hashset. In this scenario with 3 webfragments there are 6 possible initial orderings, based on the hash of the jar name. In 1 out the the 6 initial orderings WarMetaDataProcessor crashes.

      Show
      Deploy a war containing 3 jars with webfragments using relative ordering. The initial order is based on the keys (jar name) of a hashset. In this scenario with 3 webfragments there are 6 possible initial orderings, based on the hash of the jar name. In 1 out the the 6 initial orderings WarMetaDataProcessor crashes.

      Caused by: java.lang.IllegalStateException: WFLYUT0047: Relative ordering conflict with JAR: <jarname>.jar
      at org.wildfly.extension.undertow.deployment.WarMetaDataProcessor.resolveOrder(WarMetaDataProcessor.java:717)
      at org.wildfly.extension.undertow.deployment.WarMetaDataProcessor.deploy(WarMetaDataProcessor.java:212)
      ... 6 more

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              sboschman Sverre Boschman (Inactive)
              Jan Stourac Jan Stourac
              Jan Stourac Jan Stourac
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: