1 Reply Latest reply on Jul 15, 2002 6:35 AM by panosk

    how to change the default jmx name of an ejb.

    panosk

      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.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:654)
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:240)
      .....