Thanks Marco,

I found a solution to this. Yes I have got all this in my JavaMonitor, but
I needed to retrieve the info in java to display on screen from within one
of the instances. So now I just continuously update a small table in a
database with the active counts of each instance.

Thomas

2016-09-12 17:33 GMT+02:00 Marco A Gonzalez <[email protected]>:

> Thomas,
>
> My current JavaMonitor shows me running session count. I think I updated
> it myself a while ago and had issued a pull request but there was some git
> confusion on the part of the committers that may have lost my pull-request
> (not pointing fingers, not blaming anyone… just explaining)
>
> I see the following in my JavaMonitor. If you don’t, let me know and I’ll
> try to put together another pull-request so that you can get it from the
> “proper” place.
>
>
>
> - Marco A.
>
> - - - - - From your posting on the WO list -  - - - -
> *From: *Thomas LATTER <[email protected]>
> *Subject: **get active session count for all instances*
> *Date: *September 9, 2016 at 7:59:35 AM EDT
> *To: *[email protected]
>
>
> Hi all,
>
> I'm not sure this is possible but is there an easy way to get the total
> number of active sessions in all the instances of an application? We have 4
> instances of the app in a javamonitor, 
> this.application().activeSessionsCount()
> will return the count for the current instance only, whereas I'd like the
> sum of all 4.
>
> Thanks in advance!
>
> Thomas
>
>
>
> ------------------------------------------------------
> Marco A. Gonzalez, President
> Amagavi, Inc.
> Developer of database-driven web sites
>
> web: http://www.amagavi.com/
> email: [email protected]
> Skype: amagavimarco
> cell: 202-222-5137
>
>
>
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to