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

Deployment descriptors from a referenced installed library are ignored

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: