Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-2055

concurrency issue in JBRulesCounter

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.4
    • Fix Version/s: 4.4 CP1
    • Component/s: Management
    • Labels:
      None

      Description

      With a large number of 3ad I get this exception, while with single 3ad seems to work fine
      2008-09-12 22:56:27,426 ERROR [STDERR]
      javax.management.InstanceNotFoundException:
      jboss.esb:category=JBRulesMessageCounter,deployment=Apollo.esb is not
      registered.
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.registry.BasicMBeanRegistry.unregisterMBean(BasicMBeanRegistry.java:455)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      java.lang.reflect.Method.invoke(Method.java:585)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.MBeanServerImpl$1.run(MBeanServerImpl.java:400)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:395)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.internal.soa.esb.services.routing.cbr.JBRulesCounter.registerMBean(JBRulesCounter.java:273)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.internal.soa.esb.services.rules.DroolsRuleService.setConfigTree(DroolsRuleService.java:418)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeRulesService(RuleServiceCallHelper.java:94)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter.route(JBossRulesRouter.java:123)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.soa.esb.actions.ContentBasedWiretap.executeRules(ContentBasedWiretap.java:168)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.soa.esb.actions.ContentBasedWiretap.process(ContentBasedWiretap.java:140)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.soa.esb.actions.ContentBasedRouter.process(ContentBasedRouter.java:58)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      java.lang.Thread.run(Thread.java:595)
      2008-09-12 22:56:27,427 ERROR [STDERR]
      javax.management.InstanceAlreadyExistsException:
      jboss.esb:category=JBRulesMessageCounter,deployment=Apollo.esb already
      registered.
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:761)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:225)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      java.lang.reflect.Method.invoke(Method.java:585)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
      2008-09-12 22:56:27,427 ERROR [STDERR] at
      org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1422)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1417)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.internal.soa.esb.services.routing.cbr.JBRulesCounter.registerMBean(JBRulesCounter.java:282)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.internal.soa.esb.services.rules.DroolsRuleService.setConfigTree(DroolsRuleService.java:418)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.internal.soa.esb.services.rules.RuleServiceCallHelper.executeRulesService(RuleServiceCallHelper.java:94)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter.route(JBossRulesRouter.java:123)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.soa.esb.actions.ContentBasedWiretap.executeRules(ContentBasedWiretap.java:168)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.soa.esb.actions.ContentBasedWiretap.process(ContentBasedWiretap.java:140)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.soa.esb.actions.ContentBasedRouter.process(ContentBasedRouter.java:58)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:316)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      org.jboss.soa.esb.listeners.message.MessageAwareListener$TransactionalRunner.run(MessageAwareListener.java:530)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
      2008-09-12 22:56:27,428 ERROR [STDERR] at
      java.lang.Thread.run(Thread.java:595)
      2

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  kconner Kevin Conner
                  Reporter:
                  maeste Stefano Maestri
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: