I Want To Find out the total number of users accessing the application in a particular server at that time.
It may be any server JBoss or Tomcat .
Is there any way to find out from the server by any commands or any syntax.
Otherwise by writing any coding is that possible.
Just guide me
JBoss's jmx-console has a feature to see what Principals are in an application's SecurityManager's authentication cache.
look at mbean...
Use the function...
and enter the name of the login-config for the application you are interested in.