There is an operation on the main bean that starts the session
specific mbeans. They are not started automatically because you just
need them while actively monitoring. You can keep them off while not
(another operation).

    Edson

2010/11/16 Agarwal, Beena <bagar...@ea.com>:
> I’ve enabled JMX using the following configuration
> KnowledgeBaseConfiguration kbaseConf =
> KnowledgeBaseFactory.newKnowledgeBaseConfiguration();
>                 kbaseConf.setOption(MBeansOption.ENABLED);
>                 commonKB =
> KnowledgeBaseFactory.newKnowledgeBase("kb-"+gameCode, kbaseConf);
>
> commonKB.addKnowledgePackages(kbuilder.getKnowledgePackages());
>
>
> I see the Mbeans in jconsole. However, don’t have any session information.
> I tried using both stateless and stateful sessions.
> From looking at the source code stateful sessions are automatically
> registered.
> I’m looking for sessions stats for rules such as totalActivationsCreated,
> totalActivationsFired, etc.
> Is there something I need to do to enable that?
>
> Any help would be greatly appreciated
>
> Beena
>
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>



-- 
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to