Re: Get active session list

2012-11-20 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Raul, On 11/20/12 11:02 AM, Cosio, Raul wrote: > As far as I know there is no way to get the list of active > sessions for security reasons You can also use JMX to get a list of sessions. - -chris -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2

Re: Get active session list

2012-11-20 Thread Jose María Zaragoza
Created() method. > > Regards > > -Original Message- > From: Felipe Jaekel [mailto:fkjae...@gmail.com] > Sent: Thursday, October 18, 2012 3:59 PM > To: Tomcat Users List > Subject: Re: Get active session list > > Found the following: > > context = (Context) w

RE: Get active session list

2012-11-20 Thread Cosio, Raul
: Felipe Jaekel [mailto:fkjae...@gmail.com] Sent: Thursday, October 18, 2012 3:59 PM To: Tomcat Users List Subject: Re: Get active session list Found the following: context = (Context) wrapper.getParent(); > host = (Host) context.getParent(); > > Context ctx = (Context) host.findC

Re: Get active session list

2012-10-19 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/10/2012 19:17, Felipe Jaekel wrote: > Anyone? Again, look at the source code to see how the Tomcat Manager servlet does it. Mark > > 2012/10/18 Felipe Jaekel > >> Found the following: >> >> context = (Context) wrapper.getParent(); >>> host

Re: Get active session list

2012-10-19 Thread Felipe Jaekel
Anyone? 2012/10/18 Felipe Jaekel > Found the following: > > context = (Context) wrapper.getParent(); >> host = (Host) context.getParent(); >> > > >> Context ctx = (Context) host.findChild(name); >> Manager manager = ctx.getManager(); >> Session [] sessions = manager.findSessions(); > > > Had the

Re: Get active session list

2012-10-18 Thread Felipe Jaekel
Found the following: context = (Context) wrapper.getParent(); > host = (Host) context.getParent(); > > Context ctx = (Context) host.findChild(name); > Manager manager = ctx.getManager(); > Session [] sessions = manager.findSessions(); Had the same doubt I had when I looked at the PSI Probe cod

Re: Get active session list

2012-10-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felipe, On 10/18/12 9:34 AM, Felipe Jaekel wrote: > I need to get the active session list. Searching about I saw a lot > of people with the same question, but no answer. > > I don't want to write a list inside a HttpSessionListener and keep > the ses

Re: Get active session list

2012-10-18 Thread Mark Thomas
On 18/10/2012 14:34, Felipe Jaekel wrote: > I need to get the active session list. Searching about I saw a lot of > people with the same question, but no answer. > > I don't want to write a list inside a HttpSessionListener and keep the > session list there, because I use session serialization and

Re: Get active session list

2012-10-18 Thread Jose María Zaragoza
2012/10/18 Felipe Jaekel : > I need to get the active session list. Searching abou I saw a lot of > people with the same question, but no answer. https://code.google.com/p/psi-probe/ - To unsubscribe, e-mail: users-unsubscr...@t

Get active session list

2012-10-18 Thread Felipe Jaekel
I need to get the active session list. Searching about I saw a lot of people with the same question, but no answer. I don't want to write a list inside a HttpSessionListener and keep the session list there, because I use session serialization and the list inside the listener would be destroyed in