[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-2123) Check presence of <ejb-name> in jboss.xml's <session>

Ondrej Žižka (JIRA) jira-events at lists.jboss.org
Fri Jun 25 13:09:46 EDT 2010


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


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 at 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: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list