The -ds.xml specifies the JNDI name for the datasources and not the EJBs. The jndi-name
for EJBs is specified in the jboss.xml file which will be in the META-INF folder of the
ejb jar. If you don't have a jboss.xml file then JBoss uses the classname of the beans
and bind the EJBs to that name. You will have to configure the jndi-name through
jboss.xml to ensure that they are unique for the beans within these 2 EARs.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149731#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...