[webbeans-issues] [JBoss JIRA] Commented: (WBINT-15) Problems using WebBeans in multiple Applications (EARS)

Martin Eigenbrodt (JIRA) jira-events at lists.jboss.org
Fri Jun 26 09:16:56 EDT 2009


    [ https://jira.jboss.org/jira/browse/WBINT-15?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12473942#action_12473942 ] 

Martin Eigenbrodt commented on WBINT-15:
----------------------------------------

> However, better error reporting should be shown if beans.xml is placed in the wrong place. 
So do I have beans.xml in the wrong place?
Empty.ear:
META-INF/beans.xml

EarA.ear
  META-INF/beans.xml

EARAWAR.war in EarA.ear:
 WEB-INF/beans.xml

This seem valid locations to me? The question I'm asking myself ist WHAT makes my pair of example ears pathological?

> Problems using WebBeans in multiple Applications (EARS)
> -------------------------------------------------------
>
>                 Key: WBINT-15
>                 URL: https://jira.jboss.org/jira/browse/WBINT-15
>             Project: Web Beans Integration
>          Issue Type: Bug
>         Environment: JBoss 5.0.1.GA,
> TEsted with WebBean 1.0.0.Preview and today snapshot
>            Reporter: Martin Eigenbrodt
>            Assignee: Pete Muir
>             Fix For: 5.2.0.Beta4
>
>         Attachments: bug.zip
>
>
> Multiple EARS that use webbeans seem to  interfer.
> I've  prepared a simple testcase. The zip contains an ear "earA.ear" that includes a war with a simple jsf page and a backing bean. 
> The backing beans has got a method that is used within the jsf page:
>     
> public String getText() {
>         return "Hello World!";
>     }
> The second ear "empty.ear" does only contain an empty beans.xml in the  META-INF dir.
> If you deploy just earA.ear you can view the jsf page at http://localhost:8080/EarAWar/index.jsf . It display a Heading "Test" and the line "Hello World" below.
> If you now deploy the earA.ear and the empty.ear and restart, the "Hello World" will be gone.

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

        



More information about the weld-issues mailing list