Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-5878

InstanceAlreadyExistsException for a Kafka consumer during redeployment

    Details

      Description

      An exception is thrown during the redeployment of a UPS. This happens after we start using kafka cdi library for consumer injection.
      Stack trace:

      WARN  [org.apache.kafka.common.utils.AppInfoParser] (MSC service thread 1-1) Error registering AppInfo mbean: javax.management.InstanceAlreadyExistsException: kafka.consumer:type=app-info,id=consumer-1
      	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)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mwessendorf Matthias Wessendorf
                Reporter:
                polina.n.koleva Polina Koleva
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: