Re: Tomcat 9.0.N SimpleTcpCluster Max Cluster Sizing

2022-12-11 Thread Mark Thomas
On 12/12/2022 01:18, Tim N wrote: From the official documentation "The all-to-all replication is an algorithm that is only efficient when the clusters are small. For larger clusters, you should use the BackupManager" Any ideas on what the limit is or how to measure it? Any good articles? It i

Tomcat 9.0.N SimpleTcpCluster Max Cluster Sizing

2022-12-11 Thread Tim N
>From the official documentation "The all-to-all replication is an algorithm that is only efficient when the clusters are small. For larger clusters, you should use the BackupManager" Any ideas on what the limit is or how to measure it? Any good articles?

Re: Most strict / conservative setting for SimpleTcpCluster - channelSendOptions

2017-07-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Clemens, On 7/25/17 9:54 AM, Clemens Eisserer wrote: > Hi there, > > What is the strictest / most conservative setting for > channelSendOptions when using SimpleTcpCluster for session > replication (synchronous + ack + ??) ? I

Most strict / conservative setting for SimpleTcpCluster - channelSendOptions

2017-07-25 Thread Clemens Eisserer
Hi there, What is the strictest / most conservative setting for channelSendOptions when using SimpleTcpCluster for session replication (synchronous + ack + ??) ? I have a web-app where each request dependes on the session-state of the previous one and unfortunatelyI have to deploy in an

Re: Problem with SimpleTcpCluster and nodes temporarily dropping out of cluster

2015-04-22 Thread Linus Brimstedt
Hi! Thanks for your reply! We have evaluated backupmanager and it does indeed seem to solve the issue! br /Linus On 8 April 2015 at 12:30, Mark Thomas wrote: > On 07/04/2015 21:46, Linus Brimstedt wrote: > > Hello, > > > > We have a problem with SimpleTcpCluster an

Re: Problem with SimpleTcpCluster and nodes temporarily dropping out of cluster

2015-04-08 Thread Mark Thomas
On 07/04/2015 21:46, Linus Brimstedt wrote: > Hello, > > We have a problem with SimpleTcpCluster and session replication. > We have tested this in Tomcat 7 and 8 (latest versions) on Windows Server > using latest revision of Hotspot JDK version 7, but checking the code it > seem

Problem with SimpleTcpCluster and nodes temporarily dropping out of cluster

2015-04-07 Thread Linus Brimstedt
Hello, We have a problem with SimpleTcpCluster and session replication. We have tested this in Tomcat 7 and 8 (latest versions) on Windows Server using latest revision of Hotspot JDK version 7, but checking the code it seems like this is not covered anyway. The problem: Replication works well

Re: SimpleTCPCluster

2012-11-20 Thread Stephen Nelson-Smith
Hi, On Tue, Nov 20, 2012 at 2:03 PM, Stephen Nelson-Smith wrote: > Hi Daniel. > > On Tue, Nov 20, 2012 at 1:55 PM, Daniel Mikusa wrote: >> On Nov 20, 2012, at 5:53 AM, Stephen Nelson-Smith wrote: >> I've encountered this with Tomcat clustering on CentOS in the past. >> Tomcat's default configu

Re: SimpleTCPCluster

2012-11-20 Thread Stephen Nelson-Smith
Hi Daniel. On Tue, Nov 20, 2012 at 1:55 PM, Daniel Mikusa wrote: > On Nov 20, 2012, at 5:53 AM, Stephen Nelson-Smith wrote: > I've encountered this with Tomcat clustering on CentOS in the past. Tomcat's > default configuration for the cluster receiver will automatically look up the > address t

Re: SimpleTCPCluster

2012-11-20 Thread Daniel Mikusa
On Nov 20, 2012, at 5:53 AM, Stephen Nelson-Smith wrote: > Hi, > > I'm trying to test simple session sharing using SimpleTCPCluster on > Tomcat 7.0.32. > > Following the documentation, I've uncommented the className="org.apache.catalina.ha.tcp.SimpleTcpCluster

SimpleTCPCluster

2012-11-20 Thread Stephen Nelson-Smith
Hi, I'm trying to test simple session sharing using SimpleTCPCluster on Tomcat 7.0.32. Following the documentation, I've uncommented the element, and ensured is in the web.xml of the examples web app. >From the docs: - All your session attributes must implement java.io.Seriali

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: |> In fact, you still are not covered, because removing the object from the |> session merely removes the reference. If the session replicator is |> running and copying, say, a Map to another machine in the clust

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-24 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | no, its just common sense, given that the session should represent a | client state, | and by the time the cluster tries to serialize it, the request is over. There's no guarantee t

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | no, its just common sense, given that the session should represent a | client state, | and by the time the cluster tries to serialize it, the request is over. There's no guarantee that the request is complete

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-23 Thread Filip Hanik - Dev Lists
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | if you look at the stack trace, there is no error in the clustering | code. something is modifying your session attribute while the cluster is | trying to send it I'm suggesting t

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | if you look at the stack trace, there is no error in the clustering | code. something is modifying your session attribute while the cluster is | trying to send it I'm suggesting that this should not be conside

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-22 Thread Filip Hanik - Dev Lists
if you look at the stack trace, there is no error in the clustering code. something is modifying your session attribute while the cluster is trying to send it Filip Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | the solution

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | the solution is to not store stuff in the session modified by other | threads, if that's the case, then its not really something you wanna | store in a session What's wrong with modifying something in a sessio

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-18 Thread Filip Hanik - Dev Lists
the solution is to not store stuff in the session modified by other threads, if that's the case, then its not really something you wanna store in a session Filip Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | this is not a cl

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filip, Filip Hanik - Dev Lists wrote: | this is not a cluster error, basically, you are storing a map in the | session, and someone is modifying the map while the cluster is trying to | replicate it How should this be solved? The OP could really onl

Re: ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-18 Thread Filip Hanik - Dev Lists
this is not a cluster error, basically, you are storing a map in the session, and someone is modifying the map while the cluster is trying to replicate it org.apache.commons.collections.LRUMap Filip LERBSCHER JEAN-PIERRE wrote: Hi, We work on Tomcat clustered server (5.5) and we have thi

ConcurrentModificationException on tomcat cluster with SimpleTcpCluster strategy

2008-01-18 Thread LERBSCHER JEAN-PIERRE
Hi, We work on Tomcat clustered server (5.5) and we have this exception in the log (at 5-10 TPS). Could you explain us what's hapenning. Have you a solution? Thanks. Exception: SEVERE: Failed to serialize the session! java.util.ConcurrentModificationException at org.apac

Re: cluster SimpleTcpCluster in 5.5.17

2006-07-21 Thread Filip Hanik - Dev Lists
Are you saying that the message below keeps repeating itself? over and over again? what does your full log say? Filip Jean-frederic Clere wrote: Hi, I have trying to get the SimpleTcpCluster running but I only get: +++ INFO: Replication member

Re: Again Please Help!!! SimpleTCPCluster, No session state received time out 60s during start up

2005-10-26 Thread Peter Rossbach
Hey, I think you must used a new Tomcat version. In last year I change a lot. Use tomcat 5.5.12 for your configuration and read the docs for configruation options: http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html My perferred mode for production is fastasyncqueue! Regards Peter mic

Again Please Help!!! SimpleTCPCluster, No session state received time out 60s during start up

2005-10-25 Thread michelle wang
-- Forwarded message -- From: michelle wang <[EMAIL PROTECTED]> Date: Oct 24, 2005 8:49 PM Subject: Please Help!!! No session state received, time out 60s during tomcat start up To: users@tomcat.apache.org I'm running 2 tomcat (5.0.18) instances with Simple TCP Clustering on the sa