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

Deployment descriptors from a referenced installed library are ignored

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 8.2.0.Final
    • CDI / Weld, EE
    • None

    Description

      This is more a question than a bug report. A Weld user run into this issue (see also WELD-1851) and we're not quite sure whether this is something that should work.

      There are two separated applications: test-ejb-jar and test-war. test-ejb-jar contains persistence.xml descriptor. When test-war is referencing test-ejb-jar (either by means of jboss-deployment.xml, Dependencies manifest entry or by means of extension mechanism) the deployment of test-war fails, because a persistence unit is not found during injection.

      Now the question is whether the "Library Support" only means access to classes and resources or classes, resources and descriptors. I believe it's the former but the EE spec is not clear.

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: