[jboss-jira] [JBoss JIRA] Commented: (EJBTHREE-1235) Defining a home-jndi-name for an EJB 3 bean is illegal

Alexey Loubyansky (JIRA) jira-events at lists.jboss.org
Fri Mar 28 12:24:40 EDT 2008


    [ http://jira.jboss.com/jira/browse/EJBTHREE-1235?page=comments#action_12405472 ] 
            
Alexey Loubyansky commented on EJBTHREE-1235:
---------------------------------------------

I've opened JBMETA-11 for this, committed a testcase and a fix based on checking the version in the JBossSessionBeanMetaData.merge(...). But still have to make sure it's enough.

> Defining a home-jndi-name for an EJB 3 bean is illegal
> ------------------------------------------------------
>
>                 Key: EJBTHREE-1235
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-1235
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: core
>            Reporter: Carlo de Wolf
>         Assigned To: Alexey Loubyansky
>            Priority: Critical
>             Fix For: AS 5.0.0.CR1
>
>
> It should not be possible to set a home-jndi-name on an EJB 3 bean. This must be reported to the user and deployment must stop.
> IllegalStateException:
> "EJBTHREE-XXX: EJB3 bean <ejb-name> defines home-jndi-name '<home-jndi-name>' in jboss.xml"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list