5 Replies Latest reply on Apr 10, 2009 11:34 AM by Daniel Bevenius

    JBRulesMessageCounter and  javax.management.InstanceAlreadyE

    Mike Trzcianowski Newbie

      I keep getting the following error and I'm not sure how to go about troubleshooting it:

      javax.management.InstanceAlreadyExistsException: jboss.esb:category=JBRulesMessageCounter,deployment=mypackage-0.1.0.esb already registered.
      2009-04-06 10:25:52,954 ERROR [STDERR] at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
      2009-04-06 10:25:52,954 ERROR [STDERR] at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
      2009-04-06 10:25:52,954 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      2009-04-06 10:25:52,954 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2009-04-06 10:25:52,955 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
      2009-04-06 10:25:52,955 ERROR [STDERR] at java.security.AccessController.doPrivileged(Native Method)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
      2009-04-06 10:25:52,955 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
      2009-04-06 10:25:52,956 ERROR [STDERR] at org.jboss.internal.soa.esb.services.routing.cbr.JBRulesCounter.registerMBean(JBRulesCounter.java:282)
      2009-04-06 10:25:52,956 ERROR [STDERR] at org.jboss.internal.soa.esb.services.rules.DroolsRuleService.setConfigTree(DroolsRuleService.java:418)
      2009-04-06 10:25:52,956 ERROR [STDERR] at org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeRulesService(RuleServiceCallHelper.java:94)
      2009-04-06 10:25:52,956 ERROR [STDERR] at org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter.route(JBossRulesRouter.java:123)
      2009-04-06 10:25:52,956 ERROR [STDERR] at org.jboss.soa.esb.actions.ContentBasedWiretap.executeRules(ContentBasedWiretap.java:168)
      2009-04-06 10:25:52,956 ERROR [STDERR] at org.jboss.soa.esb.actions.ContentBasedWiretap.process(ContentBasedWiretap.java:140)
      2009-04-06 10:25:52,956 ERROR [STDERR] at org.jboss.soa.esb.actions.ContentBasedRouter.process(ContentBasedRouter.java:58)
      2009-04-06 10:25:52,956 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
      2009-04-06 10:25:52,956 ERROR [STDERR] at org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
      2009-04-06 10:25:52,956 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      2009-04-06 10:25:52,956 ERROR [STDERR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      2009-04-06 10:25:52,956 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
      


      I'm using JBossESB 4.4GA




      thank you