Hello,
oh so we have accounting per-stateless bean? For a stateless bean
for instance, I see:
MaxSize = 10
MinSize = 0
InstancesActive = 0
InstancesIdle = 0
and I guess that's what interesting to me. But I didn't expect
per-bean accounting.
Isn't that a bit coarse then, we have accounting per individual
bean, but to set the maximum for instance, we must do it app-wide,
through a container "type=STATELESS" in the tomee.xml, right?
so in the end if i was worried that my maxSize for my stateless
container was too low... I'd have to monitor "InstancesActive" for every
stateless bean in my application? Do I understand right? And if some
stateless bean has many more instances than the others, that may mean I
should consider redesigning my application right? Or would it make sense
to raise the maxSize which will affect other stateless beans too?
Certainly I can't poll every stateless bean in my app, too many of
them, I think it'd have a performance impact on the app.
Thank you!
Emmanuel
Post by Romain Manni-BucauHello
did you check
openejb.management:J2EEServer=openejb,J2EEApplication=<empty>,EJBModule=app,StatelessSessionBean=TheBean,name=TheBean,j2eeType=Pool
Romain Manni-Bucau
@rmannibucau <https://twitter.com/rmannibucau> | Blog
<https://rmannibucau.metawerx.net/> | Old Blog
<http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> |
LinkedIn <https://www.linkedin.com/in/rmannibucau>
2017-12-20 15:32 GMT+01:00 Emmanuel Touzery <
Post by Emmanuel TouzeryHello,
I'm interested in monitoring the tomee stateless bean pool usage
openejb.management:ObjectType=containers,DataSource=Default Stateless
Container
But I would not find information about the current pool usage (I would
be interested in pool capacity & current usage).
Thank you!
Emmanuel