[jboss-jira] [JBoss JIRA] (AS7-5965) Resource adapter archive not recognized as CDI bean archive
Martin Kouba (JIRA)
jira-events at lists.jboss.org
Tue Nov 20 02:09:21 EST 2012
[ https://issues.jboss.org/browse/AS7-5965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735553#comment-12735553 ]
Martin Kouba commented on AS7-5965:
-----------------------------------
IMHO this does not make sense since RAR does not have any WEB-INF/classes, just "embedded" jars. Or does it? Anyway I filed CDI-300 to clarify this.
> Resource adapter archive not recognized as CDI bean archive
> -----------------------------------------------------------
>
> Key: AS7-5965
> URL: https://issues.jboss.org/browse/AS7-5965
> Project: Application Server 7
> Issue Type: Bug
> Components: CDI / Weld
> Affects Versions: 7.1.2.Final (EAP)
> Reporter: Martin Kouba
> Assignee: Stuart Douglas
>
> The CDI 1.0 spec states in 12.1. "Bean archives":
> {quote}
> A library jar, EJB jar, application client jar or rar archive is a bean archive if it has a file named beans.xml in the META-INF directory.
> ...
> In an application deployed as an ear, the container searches every bean archive bundled with or referenced by the ear, including bean archives bundled with or referenced by wars and EJB jars contained in the ear. The bean archives might be library jars, EJB jars, rars or war WEB-INF/classes directories.
> {quote}
> However it seems that RARs are not recognized.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list