Jan Luehe wrote:
> glassfish_at_javadesktop.org wrote:
>> Hi ,all.
>> I have set logged in user id in respective session,
>> Now , i want to get all the users who are currently logged in on the
>> system, how can i see that ?
>>
>> How to get information of all the active session on specific
>> application server.
>>
>
> First, you need to enable monitoring in the web-container, as follows:
>
> % asadmin set
> server.monitoring-service.module-monitoring-levels.web-container=HIGH
One can also achieve this by using admin gui:
Monitoring > Monitoring Service > Component Level Settings > Web
Container > HIGH
>
> Then issue this command (assuming that you want to find out about the
> active sessions
> of "<your_app>.war" deployed on virtual server "server"):
>
> % asadmin get --monitor=true "server.applications.<your-app>.server.*"
> | grep activesessionscurrent
>
>
> Jan
>
>
>> [Message sent by forum member 'syparth' (parth.v.thakkar_at_gmail.com)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=389699
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>