[jboss-jira] [JBoss JIRA] Issue Comment Edited: (JBAS-8355) classes in WEB-INF/beans.xml file cannot be found when the war file is inside an ear

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Tue Sep 14 17:05:12 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12550932#action_12550932 ] 

Marius Bogoevici edited comment on JBAS-8355 at 9/14/10 5:04 PM:
-----------------------------------------------------------------

The CL being used is the TCCL. During bootstrapping on JBoss AS, the TCCL is the EAR CL. 

IMO the ResourceLoader should be an application-scoped service - i.e. each BeanManager having it's own ResourceLoader instance.

Edit: clarification.

      was (Author: marius.bogoevici):
    The CL being used is the TCCL. During bootstrapping on JBoss AS, the TCCL is the EAR CL. 

IMO the ResourceLoader should be an application-scoped service.
  
> classes in WEB-INF/beans.xml file cannot be found when the war file is inside an ear
> ------------------------------------------------------------------------------------
>
>                 Key: JBAS-8355
>                 URL: https://jira.jboss.org/browse/JBAS-8355
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Weld/CDI
>    Affects Versions: 6.0.0.M4
>            Reporter: Marcel Kolsteren
>            Assignee: Marius Bogoevici
>         Attachments: beans-xml-problem.zip, server.log
>
>
> A beans.xml file referring to classes (e.g. alternatives or interceptors that need to be activated) cannot be processed when it is part of a war file that is packaged inside an ear file. The error that occurs:
> org.jboss.weld.xml.WeldXmlException: WELD-001206 Could not load class nl.meandi.examples.TestBean
> The error does not occur if the war file is deployed on its own.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list