Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-6189

Failed to initialise app. MBean Exception.

    Details

    • User impact:
      Very High
    • Similar Issues:

      Description

      Apps fails to deploy successfully because of:

      javax.management.InstanceAlreadyExistsException: Mule.summit-demo-1.0-SNAPSHOT:type=Statistics,name=AllStatistics

      See logs:

      INFO 2012-04-24 12:37:02,563 [WrapperListener_start_runner] org.mule.module.management.agent.WrapperManagerAgent: Mule is embedded in a container already launched by a wrapper.Duplicates will not be registered. Use the org.tanukisoftware.wrapper:type=WrapperManager MBean instead for control.
      ERROR 2012-04-24 12:37:02,565 [WrapperListener_start_runner] org.mule.module.launcher.DeploymentService:
      ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
      + Failed to deploy app 'summit-demo-1.0-SNAPSHOT', see +
      + below +
      ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
      org.mule.module.launcher.DeploymentException: Failed to deploy application [summit-demo-1.0-SNAPSHOT]
      at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:58)
      at org.mule.module.launcher.DeploymentService.guardedDeploy(DeploymentService.java:381)
      at org.mule.module.launcher.DeploymentService.start(DeploymentService.java:179)
      at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:157)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.mule.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:56)
      at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:3925)
      Caused by: org.mule.api.MuleRuntimeException: MBeans Failed to initialise
      at org.mule.module.management.agent.JmxAgent$MuleContextStartedListener.onNotification(JmxAgent.java:707)
      at org.mule.module.management.agent.JmxAgent$MuleContextStartedListener.onNotification(JmxAgent.java:685)
      at org.mule.context.notification.Sender.dispatch(Sender.java:40)
      at org.mule.context.notification.Policy.dispatch(Policy.java:122)
      at org.mule.context.notification.ServerNotificationManager.notifyListeners(ServerNotificationManager.java:249)
      at org.mule.context.notification.ServerNotificationManager.fireNotification(ServerNotificationManager.java:200)
      at org.mule.DefaultMuleContext.fireNotification(DefaultMuleContext.java:433)
      at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:250)
      at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:151)
      at org.mule.module.launcher.application.ApplicationWrapper.start(ApplicationWrapper.java:107)
      at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47)
      ... 9 more
      Caused by: javax.management.InstanceAlreadyExistsException: Mule.summit-demo-1.0-SNAPSHOT:type=Statistics,name=AllStatistics
      at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
      at org.mule.module.management.agent.JmxAgent.registerStatisticsService(JmxAgent.java:352)
      at org.mule.module.management.agent.JmxAgent$MuleContextStartedListener.onNotification(JmxAgent.java:695)
      ... 19 more

        Attachments

          Activity

            People

            • Assignee:
              pablo.kraan Pablo Kraan
              Reporter:
              emiliano.lesende Emiliano Lesende
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                30/Apr/12