This content has been marked as final. Show 2 replies
A session bean in the jboss.xml may have a number of remote-binding elements and no jndi-name. Current JBossSessionBeanMetaData.determineJndiName() is taking into account only home-jndi-name, mapped-name and the ejb-name.
So, I am going to add remote-binding to the list.
Otherwise, tests that define ejb-ref/ejb-link establish dependencies on the wrong names (in the tests I am looking into it's jndi:ejbName) and fail to deploy.