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

Juergen Zimmermann (JIRA) jira-events at lists.jboss.org
Sun Dec 5 01:23:47 EST 2010


JBossAS cannot load EAR with nointerface beans, singleton bean and WEB-INF/beans.xml
------------------------------------------------------------------------------------

                 Key: EJBTHREE-2214
                 URL: https://jira.jboss.org/browse/EJBTHREE-2214
             Project: EJB 3.0
          Issue Type: Bug
          Components: ejb3_1, nointerface, singleton
         Environment: JBoss 6.0.0.CR1, JDK 1.6.0_22, Windows VISTA
            Reporter: Juergen Zimmermann


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