It's not impossible to make this work over a cluster but not with the included clustering classes in tomcat. You would have to write your own clustering classes.
The reason why it won't work is that each singleton will be individual to a classloader and each tomcat accross the cluster 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 Objects Could you explain why this won't work across a cluster? Thanks. On Tue, 8 Feb 2005 17:28:59 -0000, 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 it give any problems in clustered enviornment since > singleton is a static referrence. > > Regards, > Jagga > -- The radiance of all the stars does not equal a sixteenth part of the moon's radiance, likewise, good deeds giving us merit, all these do not equal a sixteenth part of the merit of loving-kindness.. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
