1 Reply Latest reply on Feb 16, 2006 2:10 PM by j2ee_junkie

    How to find number of users Accessing a perticular aplicatio

    gokulanand

      Hi....

      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

      Thank you..



        • 1. Re: How to find number of users Accessing a perticular aplic
          j2ee_junkie

          JBoss's jmx-console has a feature to see what Principals are in an application's SecurityManager's authentication cache.

          look at mbean...

          jboss.security
          service=JaasSecurityManager

          Use the function...

          java.util.List getAuthenticationCachePrincipals()

          and enter the name of the login-config for the application you are interested in.

          enjoy, cgriffith