]
Ondrej Žižka updated EJBTHREE-2123:
-----------------------------------
Attachment: ejb3-calculator-002.jar
Check presence of <ejb-name> in jboss.xml's
<session>
-----------------------------------------------------
Key: EJBTHREE-2123
URL:
https://jira.jboss.org/browse/EJBTHREE-2123
Project: EJB 3.0
Issue Type: Feature Request
Environment: EAP 5.0.1
Reporter: Ondrej Žižka
Priority: Optional
Attachments: ejb3-calculator-002.jar
Currently, when <ejb-name> is missing, EAP 5.0.1 throws
Caused by: java.lang.IllegalStateException: Null name for bean:
org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData@0{null}
at
org.jboss.metadata.ejb.spec.EnterpriseBeansMap.add(EnterpriseBeansMap.java:59)
at
org.jboss.metadata.ejb.spec.EnterpriseBeansMap.add(EnterpriseBeansMap.java:40)
at
org.jboss.xb.builder.runtime.CollectionPropertyHandler.handle(CollectionPropertyHandler.java:160)
which is not exactly informative. It should check for the presence of <ejb-name>.
Not much often use case, but it's a single if...
STR:
1) Deploy the attached to EAP 5.0.1, see the exceptions (log attached).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: