You can specify the JNDI names you want generated with the following XDoclet tags:
* @ejb.bean local-jndi-name = "ejb/TestHome"
* jndi-name = "ejb/TestHome"
You can omit one or the other if you’re only generating local or remote interfaces, respectively. Did you specify these tags appropriately, because they directly control the settings you get for COMP_NAME and JNDI_NAME?
If your jboss.xml shows the correct name, it makes no sense for them to be listed somewhere else on the JNDI tree, since this is exactly the entry that governs that. If jboss.xml is in the META-INF directory, this doesn’t make any sense. Is there anything in the JBoss console output regarding the JNDI mappings when the application is deployed?
–Scott
MyEclipse Support