[jboss-jira] [JBoss JIRA] Updated: (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:13:46 EDT 2010


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

Ondrej Žižka updated EJBTHREE-2123:
-----------------------------------

    Attachment: EJB3-NullName.txt


> 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, EJB3-NullName.txt
>
>
> 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