Can deploy an ejb with a jmx name different than the default?
I am having problems deploying two applications that use the same ejb to the same server.
I am using JBoss 3.0 and the error i get is:
javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EJB,jndiName=PermissionBean already registered.
I found out what was causing the problem.
I had to define jndi-name in jboss.xml even for entity beans that i expose only locally.
Jboss uses jndi-name to generate the jmx name and if jndi-name doesn't exist it uses the bean's name.