[jboss-jira] [JBoss JIRA] Updated: (JBAS-8712) JBossAS cannot load EAR with nointerface beans, singleton bean and WEB-INF/beans.xml

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Fri Dec 10 08:40:53 EST 2010


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

Juergen Zimmermann updated JBAS-8712:
-------------------------------------

    Attachment: eclipse-projects.zip


3 Eclipse projects (compiled with Oracle's new JDK 1.6.0_23) are uploaded.

Yes, I can try a snaphsot:
a) Snapshot of JBossAS or snapshot of Weld?
b) Where can I get the right one?

> JBossAS cannot load EAR with nointerface beans, singleton bean and WEB-INF/beans.xml
> ------------------------------------------------------------------------------------
>
>                 Key: JBAS-8712
>                 URL: https://issues.jboss.org/browse/JBAS-8712
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Weld/CDI
>    Affects Versions: 6.0.0.CR1
>         Environment: JBoss 6.0.0.CR1, JDK 1.6.0_22, Windows VISTA
>            Reporter: Juergen Zimmermann
>            Assignee: Marius Bogoevici
>         Attachments: eclipse-projects.zip, testcase-weld-ejb31.zip
>
>
> First of all: I'm not sure whether the issue belongs to EJB 3.1 or to Weld.
> I have an EAR consiting of an EJB and a Web module. The EJB module contains nointerface beans and also a singleton bean.
> When I add WEB-INF/beans.xml to the Web module, then JBossAS 6.0.0.CR1 is hanging while the EAR is being loaded. When I remove WEB-INF/beans.xml, then then EAR is loaded as expected.
> The console shows these log entries:
> ...
> 06:55:13,031 INFO  [org.jboss.ejb3.nointerface.impl.jndi.AbstractNoInterfaceViewJNDIBinder] Binding the following entry in Global JNDI:
> 	swe2/Bestellverwaltung/no-interface - EJB3.1 no-interface view
> 06:55:13,039 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/swe2
> ...
> The last line for TomcatDeployment doesn't appear when WEB-INF/beans.xml is available. I'll attach a testcase.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list