This content has been marked as final.
Show 4 replies
-
1. Re: how do I enable JMX monitoring entity bean locking?
cvandyck Feb 11, 2004 7:45 AM (in response to jbossuserr)It's in the JMX Console.
-
2. Re: how do I enable JMX monitoring entity bean locking?
jbossuserr Apr 5, 2004 5:57 PM (in response to jbossuserr)I got all 0s from all the entity beans from JMX console. I clicked the print buttom from the Jmx console and still got all 0s. Am I missing something?
Thanks. -
3. Re: how do I enable JMX monitoring entity bean locking?
cvandyck Apr 6, 2004 2:19 PM (in response to jbossuserr)If you are invoking printLockMonitor and the values for Total Lock Time, Num Contentions, and Time Outs are 0, then I would not think that to be a problem necessarily.
What exactly is it you are trying to see? -
4. Re: how do I enable JMX monitoring entity bean locking?
camel Apr 7, 2004 6:09 PM (in response to jbossuserr)Maybe you're looking for this:
http://www.onjava.com/pub/a/onjava/2003/05/28/jboss_optimization.html?page=2
It's from an article on JBoss optimizations -- the relevant part is Bill Burke's comment at the end of user comments:For locking, JBoss has a lock monitor that monitors how many locks per EJB were made, how many contentions, how much time was lost, the max amount of contentions at one time, etc....
Look in jboss/server/(all or default)/conf/jboss-service.xml for:
<!-- Uncomment to enable JMX monitoring of the entity bean locking
<mbean code="org.jboss.monitor.EntityLockMonitor"
name="jboss.monitor:name=EntityLockMonitor"/>
-->
Regards,
Bill
P.S. THis is documented in our FOR PAY docs.