how to track number of sessions in Glassfish instance?
glassfish-3
Solution
You can view statistics in the Glassfish Admin Console. You've to activate the monitoring first:
`Configurations` -> `server-config` -> `Monitoring` -> Set Monitoring level to `HIGH` for `Web Container`
Now you can see the statistics under `server` -> `Monitor`
You can also retrieve statistics via asadmin command, for more information check this.
Problem
We used to use WebObject servers to host our apps. Now moving to Glassfish is quite interesting. WebObject used to let us see how many transactions and sessions were being handled by each instance. How do i go about this in Glassfish?