[jboss-jira] [JBoss JIRA] (AS7-5966) Installed library not recognized as CDI bean archive

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Wed Jan 9 18:27:08 EST 2013


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

Stuart Douglas resolved AS7-5966.
---------------------------------

    Fix Version/s: 7.2.0.Alpha1
       Resolution: Done


This should now be fixed upstream. If a beans.xml is accessible then the archive will be scanned.
                
> Installed library not recognized as CDI bean archive
> ----------------------------------------------------
>
>                 Key: AS7-5966
>                 URL: https://issues.jboss.org/browse/AS7-5966
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: CDI / Weld
>    Affects Versions: 7.1.2.Final (EAP)
>            Reporter: Martin Kouba
>            Assignee: Stuart Douglas
>             Fix For: 7.2.0.Alpha1
>
>
> The CDI 1.0 spec states in 12.1. "Bean archives":
> {quote}
> * 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.
> * In an application deployed as a war, the container searches every bean archive bundled with or *referenced by* the war. The bean archives might be library jars or the WEB-INF/classes directory.
> * In an application deployed as an EJB jar, the container searches the EJB jar, if it is a bean archive, and every bean archive referenced by the EJB jar.
> * ...
> {quote}
> Java EE 6 allows to reference installed libraries - see EE.8.2.2 "Installed Libraries".
> However it seems installed libraries are not recognized as bean archives.

--
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