Re: Session Objects

2005-02-09 Thread Mario Winterer
Hi! Is it really necessary to hold all active session objects in a global variable? I can't imagine a situation that would require this! Tex Jagadeesha T wrote: Thanks for responding. To manage session between an apllication and web servers. Is there any way to get that worked in clustered

Re: Session Objects

2005-02-09 Thread nyhgan
Have you considered storing your session objects to database? Mario Winterer [EMAIL PROTECTED] wrote:Hi! Is it really necessary to hold all active session objects in a global variable? I can't imagine a situation that would require this! Tex Jagadeesha T wrote: Thanks for responding.

RE: Session Objects

2005-02-08 Thread Peter Crowther
From: Jagadeesha T [mailto:[EMAIL PROTECTED] I' am storing session objects in a SINGLEON class object to keep all active sessions. Does it give any problems in clustered enviornment since singleton is a static referrence. Yes. Singletons are one-per-classloader. Classloaders are

RE: Session Objects

2005-02-08 Thread Dale, Matt
Yes it will, this won't work accross a cluster. You need to use the regular session manager. Is there any reason why you put the sessions in a singleton? Ta Matt -Original Message- From: Jagadeesha T [mailto:[EMAIL PROTECTED] Sent: 08 February 2005 17:25 To:

Re: Session Objects

2005-02-08 Thread Shey Rab Pawo
Could you explain why this won't work across a cluster? Thanks. On Tue, 8 Feb 2005 17:28:59 -, Dale, Matt [EMAIL PROTECTED] wrote: Yes it will, this won't work accross a cluster. Hi all, I' am storing session objects in a SINGLEON class object to keep all active sessions. Does

RE: Session Objects

2005-02-08 Thread Jagadeesha T
Thanks for responding. To manage session between an apllication and web servers. Is there any way to get that worked in clustered enviornment? Thanks Jagga Dale, Matt [EMAIL PROTECTED] wrote: Yes it will, this won't work accross a cluster. You need to use the regular session manager. Is

RE: Session Objects

2005-02-08 Thread Dale, Matt
will obviously have its own classloaders. The standard clustering only shares the sessions that are stored within the standard session manager in tomcat. -Original Message- From: Shey Rab Pawo [mailto:[EMAIL PROTECTED] Sent: 08 February 2005 17:44 To: Tomcat Users List Subject: Re: Session