peez80
peez80

Reputation: 1643

How to query session bean pool size on websphere 8

Is it possible to query current session bean pool state in websphere programmatically?

Upvotes: 0

Views: 267

Answers (1)

Brett Kail
Brett Kail

Reputation: 33936

The only way to access the pool size programmatically is to enable PMI and obtain the stats attribute of the corresponding EJB MBean. For stateless session beans, that is the MethodReadyCount statistic of the type=StatelessSessionBean MBean. For message-driven or entity beans, that is the PooledCount statistic of the type=MessageDrivenBean MBean. See the Enterprise bean counters topic in the Knowledge Center for more information on EJB PMI statistics.

Upvotes: 2

Related Questions