-
1. Re: Actual number of bean instances in the pool
juha Apr 4, 2004 12:30 PM (in response to cari34)Look at the jboss.j2ee:jndiName=xxx,plugin=pool,service=EJB MBean.
-
2. Re: Actual number of bean instances in the pool
cari34 Apr 5, 2004 1:05 PM (in response to cari34)Hi Juha,
thank you for your reply.
Sorry, I cannot understand what you mean.
Please, could you explain further.
thank you very much.
Carri. -
3. Re: Actual number of bean instances in the pool
cvandyck Apr 5, 2004 4:50 PM (in response to cari34)What Juha is saying is that there is an MBean for each of your entity beans that supports the reporting that you are needing.
MBean is short for Management Bean, and is part of the JMX (Java Management Extensions) specification.
You can read more about JMX here:
http://java.sun.com/products/jmx/overview.html
And in the JBoss documentation.
You can access these beans at runtime, although I don't have the code handy to show you.
Also, once you have JBoss up and running, go to
http://localhost:8080/jmx-console (assuming you are running on port 8080), and you'll see links like the one Juha posted. There's an MBean for each entity you deploy for which the MBean will report the ReadyCount, PooledCount, etc. You can access that information through this web interface as well as in your code.
HTH -
4. Re: Actual number of bean instances in the pool
cari34 Apr 6, 2004 8:48 AM (in response to cari34)Hi HTH,
Thank you for your reply.
Just for information, I use stateless session beans.
Thank you.
Cari -
5. Re: Actual number of bean instances in the pool
cvandyck Apr 6, 2004 9:06 AM (in response to cari34)Hi Cari,
No problem, you will be able to find this information not only for entity beans, but also stateless session beans. I'm sorry if my post was misleading in that regard.
Collin
ps. HTH == Hope This Helps :)