Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-14731

fix repository mbean cleanup/registration in tests

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.9.5-SNAPSHOT
    • Fix Version/s: 5.9.5
    • Component/s: Core VCS

      Description

      error in JMX registration on repository setup in tests

      Caused by: javax.management.InstanceAlreadyExistsException: org.nuxeo.ecm.core.management.jtajca:type=StorageConnectionMonitor,name=repository/test
      	at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
      	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
      	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
      	at org.nuxeo.ecm.core.management.jtajca.internal.DefaultMonitorComponent.bind(DefaultMonitorComponent.java:240)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                slacoin Stéphane Lacoin
                Reporter:
                slacoin Stéphane Lacoin
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: