Hello Christian, The minimum requirement was tob e redirected to a working node after the current node where I am on are failing. - This was covered by a Loadbalancer whicht is doing health checks. The maximum of user friedly was to be stayed logged in into the failover node and not to have re-login into the application.
Best regards Alexander -----Ursprüngliche Nachricht----- Von: Christopher Schultz [mailto:ch...@christopherschultz.net] Gesendet: Freitag, 27. Februar 2015 15:39 An: Tomcat Users List Betreff: Re: Persistance on Tomcat 8.0 and Cluster -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Daniel, On 2/27/15 9:24 AM, Daniel Mikusa wrote: > On Fri, Feb 27, 2015 at 8:35 AM, Alexander Diedler > <adied...@tecracer.de> wrote: > >> Hello Daniel, That you for your reply. You mean, that session >> persistance was enabled and a failover was recordnized by the >> loadbalancer and the session was still available on the remaining >> node? >> > > No. I'm just talking about your configuration. You have two > conflicting things configured. > > 1.) You have a session store created. This is going to store your > sessions into the database. It's *not* clustering (at least by the > definition Tomcat uses), but can be an effective way to share sessions > across multiple Tomcat instances. > > 2.) You have a cluster defined. This is going to tell Tomcat to > replicate session data directly between your Tomcat nodes. As you > pointed out previously, this can be problematic on AWS where they > don't support multicast. It's also conflicting with #1, which is what > the error you reported is telling you. > > In short, remove the <Cluster/> tag, the error should go away. Are you sure that's best? If the goal is uninterrupted fail-over, then perhaps using the BackupManager or DeltaManager with static membership is the better strategy. I guess the real question is for the OP: do you need clustering (i.e. session replication between nodes) or is it okay if a user has to login again and possibly re-start a workflow if they get failed-over to another node? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJU8IGMAAoJEBzwKT+lPKRY5SQQAIPfDPyKNssUyEOJw5ouA9Qw 7chcfdhWVjiF83ecdXbZSxzS9hRi0l4pNdXVmU/LLQGNGfg+idtusrrG+fa4A4iE xrs36Wt5DCN2+ejCFlWbrW1Ixk58DTLVdXMJ+F67QTIEp59MmKpGOdTXWlWKs8HI Xgpq8hEJPMJbaUcEPu87iJbLviVoeWJD9i0TEeA/dcjdl0sR+WdH/VGBtS0TaAkX ZMaR0Tkp/Fx4hLWUwe2s5QFrQ6n8Mpeggr76owXuSSD2+J0PYPkezs/ctvssn7OJ YhHWPV5OQ52/YY3FFI5e8pEJZeX2D+FT+XS0CzI7EKsJ+UD9RgU/RVRv/iuKnLA9 GImVr2aAAycCnqGZzDyOrMpO0MfHw9SqLttLdliX8HI383WODYNbrKoON6KaAQRK MSwqbZ/YJcDczXVjzHxJZnggvhg2IYupQ89quSpf47kKL6bBw3607feiURegvSd5 +xiONk3OifRDbcEv/Q3fGwU5rMYzPaf3f/6Jx0/j9jq/ijVKDUI0fvkqaZnCAev4 o7p67AT6iyH31haRtLL72XFWm6/63hLXQ94qecOKyneAxu8/eWh+ajltAi28mMbk GFI4iqQCcij9gjcGX++dDoNoe9qGsDj5ZIhVTWXC4hEnsZF64yQG+KHJ+Gss9JV7 rbRTDWfS/YlVI/sBMiUz =KZKi -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org