[jboss-jira] [JBoss JIRA] (WFLY-4292) Deployment descriptors from a referenced installed library are ignored

Stuart Douglas (JIRA) issues at jboss.org
Sun Feb 15 22:44:49 EST 2015


     [ https://issues.jboss.org/browse/WFLY-4292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas resolved WFLY-4292.
----------------------------------
    Resolution: Rejected


The spec explicitly states that this is not expected to work.

> Deployment descriptors from a referenced installed library are ignored
> ----------------------------------------------------------------------
>
>                 Key: WFLY-4292
>                 URL: https://issues.jboss.org/browse/WFLY-4292
>             Project: WildFly
>          Issue Type: Quality Risk
>          Components: CDI / Weld, EE
>    Affects Versions: 8.2.0.Final
>            Reporter: Martin Kouba
>            Assignee: Stuart Douglas
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)


More information about the jboss-jira mailing list