]
jaikiran pai commented on EJBTHREE-2214:
----------------------------------------
I'll move this to JBAS JIRA for now, since beans.xml usage falls beyond the scope of
EJB3 and is more of an integration issue. Let's track it there.
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
Attachments: 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: