Hi,
I don't know, but consider using an HttpSessionListener to track this,
instead of tomcat's Manager, for a portable solution.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Andre Jahn [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, March 03, 2004 7:32 AM
>To: [EMAIL PROTECTED]
>Subject: Active Session Count
>
>Hello All,
>I try to get the number of active sessions for a particular application
>with  the getActiveSessions().
>My problem is, that I get allways a 0 back.
>What am I doing wrong?
>
>
>
>
>Here is the sourcecode :
>
>StandardManager manager = new StandardManager();
>manager.setPathname("/app");
>
>System.out.println ("xxxx" +manager.getActiveSessions()+" /
>"+manager.getPathname()+" / "+manager.getSessionCounter());
>
>
>
>Kind Regards,
>
>Andre Jahn
>
>
>
>
>--
>Mr. Andre Jahn
>Jahn Software Consulting
>URL: www.JahnSoftware.de
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to