Re: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-15 Thread Christopher Schultz
om: Chuck Caldarale Sent: Saturday, April 13, 2024 4:00 PM To: Tomcat Users List Subject: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails On Apr 11, 2024, at 09:07, Rick Noel wrote: We are getting closer Changing ports from the 5000 range to the 4000 range stopped two errors But now

RE: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-15 Thread Rick Noel
er | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Saturday, April 13, 2024 4:00 PM To: Tomcat Users List Subject: [EXT]Re: [EXT]Re: Tomcat 10 session replication fails > On Apr 11, 2024, at 09:07, Rick Noel wrote: > > We are getting closer > Changing

Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-13 Thread Jonathan S. Fisher
uts (weeks). I hate to see people struggle with session replication, as I think it really is the secret to making server-side-rendering scale out. On Sat, Apr 13, 2024 at 3:01 PM Chuck Caldarale wrote: > > > > On Apr 11, 2024, at 09:07, Rick Noel wrote: > > > > We are get

Re: [EXT]Re: Tomcat 10 session replication fails

2024-04-13 Thread Chuck Caldarale
> On Apr 11, 2024, at 09:07, Rick Noel wrote: > > We are getting closer > Changing ports from the 5000 range to the 4000 range stopped two errors > But now I get this.. > > INFO: Manager [##0001]: skipping state transfer. No members active in cluster > group > > How to I make the me

RE: [EXT]Re: Tomcat 10 session replication fails

2024-04-11 Thread Rick Noel
Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Chuck Caldarale Sent: Thursday, April 11, 2024 9:14 AM To: Tomcat Users List Subject: [EXT]Re: Tomcat 10 session replication fails [You don't often get email from n82...@gmail.com. Learn why this is impo

Re: Tomcat 10 session replication fails

2024-04-11 Thread Chuck Caldarale
> On Apr 11, 2024, at 07:56, Rick Noel wrote: > > We have our app running on Tomcat10 and doing clustering,but are getting the > following errors seen int the Catalina log... > > Apr 11, 2024 8:14:43 AM org.apache.catalina.ha.session.DeltaManager > waitForSendAllSessions > SEVERE: Manager

Tomcat 10 session replication fails

2024-04-11 Thread Rick Noel
Hi, We have our app running on Tomcat10 and doing clustering,but are getting the following errors seen int the Catalina log... Apr 11, 2024 8:14:43 AM org.apache.catalina.ha.session.DeltaManager waitForSendAllSessions SEVERE: Manager [##0001]: No session state sent at [4/11/24, 8:13 AM] rec

RE: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Rick Noel
PM To: Tomcat Users List ; Rick Noel Subject: Re: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute : Rick, On 3/22/24 13:33, Rick Noel wrote: > I do not want to replicate customer because that class does not > imp

Re: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Christopher Schultz
T]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute : On 22/03/2024 15:43, Rick Noel wrote: Mark, So if my customer object is failing to get set in the session replication, I could add this to the config snippet? sessionAttribute

RE: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Rick Noel
22, 2024 1:27 PM To: users@tomcat.apache.org Subject: Re: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute : On 22/03/2024 15:43, Rick Noel wrote: > Mark, > > So if my customer object is failing to get set in th

Re: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Mark Thomas
On 22/03/2024 15:43, Rick Noel wrote: Mark, So if my customer object is failing to get set in the session replication, I could add this to the config snippet? sessionAttributeNameFilter="customer" You set that to the attributes you DO want to replicate, not the ones you don'

RE: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Rick Noel
the application code itself) Rick Noel Systems Programmer | Westwood One rn...@westwoodone.com -Original Message- From: Rick Noel Sent: Friday, March 22, 2024 11:43 AM To: Tomcat Users List Subject: RE: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentExceptio

RE: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Rick Noel
Mark, So if my customer object is failing to get set in the session replication, I could add this to the config snippet? sessionAttributeNameFilter="customer" so

Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Mark Thomas
On 22/03/2024 15:15, Rick Noel wrote: Is there a way to configure DeltaManager or the Cluster element so it does not cause my application to throw this error. 22-Mar-2024 10:56:34.382 SEVERE [http-nio-8586-exec-5] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for

Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute :

2024-03-22 Thread Rick Noel
Is there a way to configure DeltaManager or the Cluster element so it does not cause my application to throw this error. 22-Mar-2024 10:56:34.382 SEVERE [http-nio-8586-exec-5] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [jsp] in context with path [##00

RE: Tomcat 9 Session replication

2022-02-01 Thread Alan F
Many thanks Mark! -Original Message- From: Mark Thomas Sent: 01 February 2022 09:25 To: users@tomcat.apache.org Subject: Re: Tomcat 9 Session replication On 31/01/2022 14:54, Alan F wrote: > Many thanks Chris, > > Don't laugh I was looking at those values after

Re: Tomcat 9 Session replication

2022-02-01 Thread Mark Thomas
om: Christopher Schultz Sent: 31 January 2022 14:46 To: users@tomcat.apache.org Subject: Re: Tomcat 9 Session replication All, On 1/31/22 08:04, Keiichi Fujino wrote: If you use StaticMembershipService, you must set Cluster#channelStartOptions to 15 (default). To spell that out (since the docs aren&

Re: Tomcat 9 Session replication

2022-01-31 Thread Christopher Schultz
h other non-members. Just make sure you have your ports unique for each cluster and your membership ids unique for each node in each cluster. -chris -Original Message- From: Christopher Schultz Sent: 31 January 2022 14:46 To: users@tomcat.apache.org Subject: Re: Tomcat 9 Session replica

RE: Tomcat 9 Session replication

2022-01-31 Thread Alan F
thout interference ie specifying group or unique id etc. -Original Message- From: Christopher Schultz Sent: 31 January 2022 14:46 To: users@tomcat.apache.org Subject: Re: Tomcat 9 Session replication All, On 1/31/22 08:04, Keiichi Fujino wrote: > If you use StaticMembershipService, you

Re: Tomcat 9 Session replication

2022-01-31 Thread Christopher Schultz
rom: Mark Thomas Sent: 28 January 2022 18:15 To: users@tomcat.apache.org Subject: Re: Tomcat 9 Session replication On 28/01/2022 17:05, Alan F wrote: We are currently getting traffic from all cluster members in other environments using .staticmember opposed to multicast can I confirm why this is see below

Re: Tomcat 9 Session replication

2022-01-31 Thread Keiichi Fujino
> > > > >filter=""/> >className="org.apache.catalina.ha.session.JvmRouteBinderValve"/> > >className="org.apache.catalina.ha.deploy.FarmWarDeployer" > tempDir="/opt/tomcat/war-te

RE: Tomcat 9 Session replication

2022-01-30 Thread Alan F
users@tomcat.apache.org Subject: Re: Tomcat 9 Session replication On 28/01/2022 17:05, Alan F wrote: > We are currently getting traffic from all cluster members in other > environments using .staticmember opposed to multicast can I confirm why this > is see below. > > What do we need to set

Re: Tomcat 9 Session replication

2022-01-28 Thread Mark Thomas
On 28/01/2022 17:05, Alan F wrote: We are currently getting traffic from all cluster members in other environments using .staticmember opposed to multicast can I confirm why this is see below. What do we need to set here for a clustered pair to make them unique and talk to eachother only witho

Tomcat 9 Session replication

2022-01-28 Thread Alan F
We are currently getting traffic from all cluster members in other environments using .staticmember opposed to multicast can I confirm why this is see below. What do we need to set here for a clustered pair to make them unique and talk to eachother only without seeing traffic from other members

Re: Tomcat 9 cluster with FarmWarDeployer but without session replication

2021-01-28 Thread Kamal Wickramanayake
via the FarmWarDeployer that has the distributable flag set to false in web.xml Mark On 27/01/2021 05:44, Kamal Wickramanayake wrote: > Is it ever possible to configure a Tomcat 9 cluster with the FarmWarDeployer > enabled but without session replication? Any guidelines? >

Re: Tomcat 9 cluster with FarmWarDeployer but without session replication

2021-01-27 Thread Mark Thomas
, Kamal Wickramanayake wrote: > Is it ever possible to configure a Tomcat 9 cluster with the FarmWarDeployer > enabled but without session replication? Any guidelines? > TIAKamal > - To unsubscribe, e-mail: us

Tomcat 9 cluster with FarmWarDeployer but without session replication

2021-01-26 Thread Kamal Wickramanayake
Is it ever possible to configure a Tomcat 9 cluster with the FarmWarDeployer enabled but without session replication? Any guidelines? TIAKamal

Re: Tomcat session replication

2020-07-01 Thread Thomas Meyer
:29, Mark Thomas wrote: >>>>> On 27/06/2020 10:19, Thomas Meyer wrote: >>>>>> Hi, >>>>>> >>>>>> A few questions regarding tomcat session replication: >>>> >>>>> load-balancing and session replicati

Re: Tomcat session replication

2020-07-01 Thread Mark Thomas
>>>>> Hi, >>>>> >>>>> A few questions regarding tomcat session replication: >>> >>>> load-balancing and session replication are two separate parts of >>>> an overall clustering solution. >>> >>>>> 1)

Re: Tomcat session replication

2020-07-01 Thread Thomas Meyer
Am 30. Juni 2020 11:07:36 MESZ schrieb Mark Thomas : >On 29/06/2020 21:41, Christopher Schultz wrote: >> Mark, >> >> On 6/27/20 05:29, Mark Thomas wrote: >>> On 27/06/2020 10:19, Thomas Meyer wrote: >>>> Hi, >>>> >>>> A few ques

Re: Tomcat session replication

2020-06-30 Thread Mark Thomas
On 29/06/2020 21:41, Christopher Schultz wrote: > Mark, > > On 6/27/20 05:29, Mark Thomas wrote: >> On 27/06/2020 10:19, Thomas Meyer wrote: >>> Hi, >>> >>> A few questions regarding tomcat session replication: > >> load-balancing and session

Re: Tomcat session replication

2020-06-29 Thread Thomas Meyer
s Meyer wrote: >>>> Hi, >>>> >>>> A few questions regarding tomcat session replication: >>> >>> load-balancing and session replication are two separate parts of >>> an overall clustering solution. >>> >>>> 1) is t

Re: Tomcat session replication

2020-06-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thomas, On 6/27/20 05:52, Thomas Meyer wrote: > Am 27. Juni 2020 11:29:03 MESZ schrieb Mark Thomas > : >> On 27/06/2020 10:19, Thomas Meyer wrote: >>> Hi, >>> >>> A few questions regarding tomcat sessio

Re: Tomcat session replication

2020-06-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 6/27/20 05:29, Mark Thomas wrote: > On 27/06/2020 10:19, Thomas Meyer wrote: >> Hi, >> >> A few questions regarding tomcat session replication: > > load-balancing and session replication are two separate parts

Re: Tomcat session replication

2020-06-27 Thread Thomas Meyer
Am 27. Juni 2020 11:29:03 MESZ schrieb Mark Thomas : >On 27/06/2020 10:19, Thomas Meyer wrote: >> Hi, >> >> A few questions regarding tomcat session replication: > >load-balancing and session replication are two separate parts of an >overall clustering solution. >

Re: Tomcat session replication

2020-06-27 Thread Mark Thomas
On 27/06/2020 10:19, Thomas Meyer wrote: > Hi, > > A few questions regarding tomcat session replication: load-balancing and session replication are two separate parts of an overall clustering solution. > 1) is the jvmRoute attribute on Engine object necessary for session > repl

Tomcat session replication

2020-06-27 Thread Thomas Meyer
Hi, A few questions regarding tomcat session replication: 1) is the jvmRoute attribute on Engine object necessary for session replication to work correctly? 2) does session replication only work correctly with sticky load balancer routing? My setup is 1) load balancer without sticky session

Re: Clustering/Session Replication in docker swarm

2020-05-22 Thread Christopher Schultz
t some help. > > I'm seeing many posts achieving Tomcat session replication in > docker swarm using traefik. But I just don't want to add another > component. I use httpd as frontend for tomcat. Tomcat will be > deployed as a service with 4 replicas and will be scaled when &

Clustering/Session Replication in docker swarm

2020-05-20 Thread Praveen Kumar K S
Hello, I'm not sure if this is the right forum to ask this question. Since this is a bigger community, I hope someone might have faced this issue and hope I will get some help. I'm seeing many posts achieving Tomcat session replication in docker swarm using traefik. But I just don

Any experiences with Tomcat 9 session replication using overlay network to simulate broadcast/multicast?

2020-04-18 Thread Eriksson, Magnus
I am researching if a packaged application built on Tomcat (not 100% sure of version but assuming 9 until I know 100% sure) using session state replication as described here http://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html would work in an environment where broadcast/multicast is not e

Re: Cluster session replication performance

2018-09-14 Thread Mitch Claborn
https://bz.apache.org/bugzilla/show_bug.cgi?id=62723 Mitch On 09/14/2018 10:10 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mitch, On 9/14/18 09:43, Mitch Claborn wrote: On 09/13/2018 08:10 PM, Christopher Schultz wrote: Mitch, On 9/13/18 10:29, Mitch Clab

Re: Cluster session replication performance

2018-09-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mitch, On 9/14/18 09:43, Mitch Claborn wrote: > On 09/13/2018 08:10 PM, Christopher Schultz wrote: Mitch, > > On 9/13/18 10:29, Mitch Claborn wrote: On 09/12/2018 11:37 AM, Christopher Schultz wrote: > Would you care to submit a documentat

Re: Cluster session replication performance

2018-09-14 Thread Mitch Claborn
git I've used subversion in the past, but it's been a LONG time. Mitch On 09/13/2018 08:10 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mitch, On 9/13/18 10:29, Mitch Claborn wrote: On 09/12/2018 11:37 AM, Christopher Schultz wrote: Would you care to subm

Re: Cluster session replication performance

2018-09-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mitch, On 9/13/18 10:29, Mitch Claborn wrote: > On 09/12/2018 11:37 AM, Christopher Schultz wrote: >> Would you care to submit a documentation patch/PR? >> >> Get your name in the ChangeLog and you get the text that makes >> the most sense to you:)

Re: Cluster session replication performance

2018-09-13 Thread Mitch Claborn
Sure. How do I go about that? Mitch On 09/12/2018 11:37 AM, Christopher Schultz wrote: Would you care to submit a documentation patch/PR? Get your name in the ChangeLog and you get the text that makes the most sense to you:) - -chris

Re: Cluster session replication performance

2018-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mitch, On 9/12/18 12:01 PM, Mitch Claborn wrote: > Thanks Mark. I changed to channelSendOptions="2" and the failure > rate of my health check program has dropped significantly, down to > 1 - 2 per 24 hours. > > I did quite a bit of reading in the d

Re: Cluster session replication performance

2018-09-12 Thread Mitch Claborn
Thanks Mark. I changed to channelSendOptions="2" and the failure rate of my health check program has dropped significantly, down to 1 - 2 per 24 hours. I did quite a bit of reading in the doc before posting this, but your explanation of the options is much better than the doc. I suggest that

Re: Cluster session replication performance

2018-09-10 Thread Mark Thomas
On 10/09/18 17:33, Mitch Claborn wrote: > Further information and questions. > > I created my own interceptor based on ThroughputInterceptor so that I > could log the timing of specific sessions to correlate them with the > failures in my health check program.  I was surprised to find that in > th

Re: Cluster session replication performance

2018-09-10 Thread Mitch Claborn
omcat 9.0.11. I've set channelSendOptions="8" (asynchronous session replication). I have a "health check" app that I run periodically, one of the functions being to check that sessions are being replicated properly. That app 1) Does a GET to tomcat A, calling a Str

Cluster session replication performance

2018-09-06 Thread Mitch Claborn
I'm using a cluster with the DeltaManager between two servers on Tomcat 9.0.11. I've set channelSendOptions="8" (asynchronous session replication). I have a "health check" app that I run periodically, one of the functions being to check that sessions are being re

Re: Why Tomcat Session Replication requires Sticky Sessions

2017-09-29 Thread Mark Thomas
On 29 September 2017 15:38:12 BST, "Singh, Rahul (CWM-NR)" wrote: >Hi, >We are using Tomcat 7 >My question is - Why does Tomcat Session Replication require Sticky >sessions to be enabled? It doesn't. >We cannot have a sticky session setup in our servers, due

Why Tomcat Session Replication requires Sticky Sessions

2017-09-29 Thread Singh, Rahul (CWM-NR)
Hi, We are using Tomcat 7 My question is - Why does Tomcat Session Replication require Sticky sessions to be enabled? We cannot have a sticky session setup in our servers, due to policy issues. To maintain session state across different machines, we were planning to use session replication. But

Tomcat Session Replication.

2016-08-24 Thread Gesta, Andreiezracago | ECLD
Good Day! In the documentation, it says that with autobind, if port is unavailable it will try to work its way up to the port+autobind. But Members' port and Receiver's port should be the same. Is this correct? I would like to ask how does port behaves on Receiver with autobind and the Members

Re: Session replication will never happen after disabling session persistence across Tomcat restarts

2016-04-26 Thread sanigo
Yes, I think if uncommented the The ClustedManage could be disabled even if is defined. 在 16/4/25 下午12:57, Keiichi Fujino 写道: 2016-04-23 15:29 GMT+09:00 sanigo : Hi! I have tested quite a few times to confirm that session replication will not happen after uncommenting in conf

Re: Session replication will never happen after disabling session persistence across Tomcat restarts

2016-04-24 Thread Keiichi Fujino
2016-04-23 15:29 GMT+09:00 sanigo : > Hi! >I have tested quite a few times to confirm that session replication > will not happen after uncommenting in > conf/context.xml. >If the line is commented out, the session replication will work > happily. > Is there

Session replication will never happen after disabling session persistence across Tomcat restarts

2016-04-22 Thread sanigo
Hi! I have tested quite a few times to confirm that session replication will not happen after uncommenting in conf/context.xml. If the line is commented out, the session replication will work happily. The versions I have tested are 7.0.68 and 7.0.69. Any ideas

Re: Cluster session replication issue: servlet hang on restart only under load

2016-03-28 Thread Anthony Sturchio
ts specified in server.xml. This all happens relatively smoothly in testing without any appreciable load. However when the box is added back into our webserver farm (via hardware load balancer), or if I create artificial load against the box using apache jmeter, session replication is not succe

Re: Cluster session replication issue: servlet hang on restart only under load

2016-03-25 Thread Anthony Sturchio
Thank you David, but this is happening on service restart, not operating system restart. But, yes, you can modify startup scripts to happen in sequence, or add a sleep delay. Thank you, -Anthony On 3/25/2016 10:11 AM, David kerber wrote: On 3/25/2016 9:41 AM, Anthony Sturchio wrote: Hello

Re: Cluster session replication issue: servlet hang on restart only under load

2016-03-25 Thread Anthony Sturchio
thly in testing without any appreciable load. However when the box is added back into our webserver farm (via hardware load balancer), or if I create artificial load against the box using apache jmeter, session replication is not successful, and the coldfusion server never loads. I don&#

Re: Cluster session replication issue: servlet hang on restart only under load

2016-03-25 Thread David kerber
On 3/25/2016 9:41 AM, Anthony Sturchio wrote: Hello We recently updated our Coldfusion 10 server to update 18, which moved us up to Tomcat 7.0.64, and we are now experiencing issues when restarting a CF instance. I understand that this is not a coldfuison forum, but since CF10 is based on top o

Re: Cluster session replication issue: servlet hang on restart only under load

2016-03-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Anthony, On 3/25/16 9:41 AM, Anthony Sturchio wrote: > We recently updated our Coldfusion 10 server to update 18, which > moved us up to Tomcat 7.0.64, and we are now experiencing issues > when restarting a CF instance. I understand that this is not

Cluster session replication issue: servlet hang on restart only under load

2016-03-25 Thread Anthony Sturchio
Hello We recently updated our Coldfusion 10 server to update 18, which moved us up to Tomcat 7.0.64, and we are now experiencing issues when restarting a CF instance. I understand that this is not a coldfuison forum, but since CF10 is based on top of a tomcat back end, which is where the iss

Re: Session replication/fail-over for medium sized tomcat farm

2015-07-04 Thread Daniel Mikusa
On Fri, Jul 3, 2015 at 9:17 AM, Charles Richard < charle...@thelearningbar.com> wrote: > On Fri, Jul 3, 2015 at 9:58 AM, Daniel Mikusa wrote: > > > On Fri, Jul 3, 2015 at 8:36 AM, Charles Richard < > > charle...@thelearningbar.com> wrote: > > > > > Hi, > > > > > > We are currently using a product

Re: Session replication/fail-over for medium sized tomcat farm

2015-07-03 Thread Charles Richard
On Fri, Jul 3, 2015 at 9:58 AM, Daniel Mikusa wrote: > On Fri, Jul 3, 2015 at 8:36 AM, Charles Richard < > charle...@thelearningbar.com> wrote: > > > Hi, > > > > We are currently using a product called Terracotta to do session > > fail-over/replication but are considering moving away from this pr

Re: Session replication/fail-over for medium sized tomcat farm

2015-07-03 Thread Daniel Mikusa
On Fri, Jul 3, 2015 at 8:36 AM, Charles Richard < charle...@thelearningbar.com> wrote: > Hi, > > We are currently using a product called Terracotta to do session > fail-over/replication but are considering moving away from this product as > it doesn't seem to support Java 7 and Tomcat 7. > > What

Session replication/fail-over for medium sized tomcat farm

2015-07-03 Thread Charles Richard
Hi, We are currently using a product called Terracotta to do session fail-over/replication but are considering moving away from this product as it doesn't seem to support Java 7 and Tomcat 7. What products exist out there that would help with session fail-over/replication? I only know of 3: - T

Re: Cluster - Session replication error: Unable to apply diff

2015-04-23 Thread Théo Chamley
> On 22 Apr 2015, at 02:32, Keiichi Fujino wrote: > > Fixed at r1675020. > > -- > Keiichi.Fujino Hello, Sorry for not having replied earlier. Thank you for your investigation and your bug correction. I will try to apply my test case to the trunk in the next few days, I’ll let you know if it

Re: Cluster - Session replication error: Unable to apply diff

2015-04-21 Thread Keiichi Fujino
s mapSendOptions? >> - Which Interceptor do you use? >> >> >> >> 2015-04-15 3:55 GMT+09:00 Théo Chamley : >> >>> Hello, >>> >>> I have a working Tomcat 8.0.15 cluster with 3 members with the >>> BackupManager as session manage

Re: Cluster - Session replication error: Unable to apply diff

2015-04-20 Thread Keiichi Fujino
>> >> I have a working Tomcat 8.0.15 cluster with 3 members with the >> BackupManager as session manager. >> The session replication is mostly working except in a few cases. In those >> cases, I get the fol

Re: Cluster - Session replication error: Unable to apply diff

2015-04-19 Thread Keiichi Fujino
with the > BackupManager as session manager. > The session replication is mostly working except in a few cases. In those > cases, I get the following error: > > 09-Apr-2015 12:16:58.369 SEVERE [Tribes-Task-Receiver-6] > org.apache.catalina.tribes.tipis.AbstractReplicatedMap.messag

Cluster - Session replication error: Unable to apply diff

2015-04-14 Thread Théo Chamley
Hello, I have a working Tomcat 8.0.15 cluster with 3 members with the BackupManager as session manager. The session replication is mostly working except in a few cases. In those cases, I get the following error: 09-Apr-2015 12:16:58.369 SEVERE [Tribes-Task-Receiver-6

Re: Tomcat 8 - session replication DeltaManager not working

2015-02-06 Thread Konstantin Kolinko
2015-02-06 19:09 GMT+03:00 Junek Leoš : > Hello to all, > > Would anyone know why session replication does not work for me? Load balancer > with session afinity works great, but after reconfiguration settings to > session replication my sessions are not persisted. I am runni

Tomcat 8 - session replication DeltaManager not working

2015-02-06 Thread Junek Leoš
Hello to all, Would anyone know why session replication does not work for me? Load balancer with session afinity works great, but after reconfiguration settings to session replication my sessions are not persisted. I am running Oracle Linux 6.5 (almost same as RHEL 6.5) with Tomcat 8.0.18

Re: Session Replication across common base domain

2014-01-05 Thread Sanket Paranjape
Hi Guys, Any solution for this?? On 03-01-2014 02:31 PM, Sanket Paranjape wrote: Hi, I am using Tomcat 7.0.47 on windows 7 with JDK 1.7. I want to achieve session replications on multiple subdomains. If I have a domain as xyz.example.com and abc.example.com, then I would like to store sessi

Session Replication across common base domain

2014-01-03 Thread Sanket Paranjape
Hi, I am using Tomcat 7.0.47 on windows 7 with JDK 1.7. I want to achieve session replications on multiple subdomains. If I have a domain as xyz.example.com and abc.example.com, then I would like to store session cookie on "example.com" and hence then I would be able to access same session on

Re: Session replication configuration file question

2013-12-30 Thread Nir A
Hi Daniel, At last we managed to solve the replication issue. (not exactly a solution but a workaround) : the problem was: The multicast tried to broadcast to local ip written in the hosts file 127.0.1.1 We had to write the actual ip adress in the hosts file instead : 127.0.1.1 - Tomcat1 we ch

Re: Session replication configuration file question

2013-12-29 Thread Daniel Mikusa
On Dec 29, 2013, at 10:51 AM, Nir A wrote: > Hi, > > If i want to create a cluster of 2 tomcats: > > Tomcat1 - ip 111.111.111.111 > Tomcat2 - ip 222.222.222.222 > > > Where exactly the in the server.xml i should say that my cluster contains > both of these ips? By default, you don't. If you

Re: Session replication does not work - Continued

2013-12-29 Thread Daniel Mikusa
On Dec 29, 2013, at 10:11 AM, Nir A wrote: > Hi, > So we have 3 tomcats in our cluster and we are failing to make them > replicate our sessions still. > > Our IT guy said it might has something to do with the machines of the > tomcats. > > He said that since the machines the tomcats in the clus

Session replication configuration file question

2013-12-29 Thread Nir A
Hi, If i want to create a cluster of 2 tomcats: Tomcat1 - ip 111.111.111.111 Tomcat2 - ip 222.222.222.222 Where exactly the in the server.xml i should say that my cluster contains both of these ips? If you will take alook at my server.xml (which i copy pasted from the tutorial) it looks like th

Session replication does not work - Continued

2013-12-29 Thread Nir A
Hi, So we have 3 tomcats in our cluster and we are failing to make them replicate our sessions still. Our IT guy said it might has something to do with the machines of the tomcats. He said that since the machines the tomcats in the cluster are installed at are Virtual machines there might be a pr

Re: session replication issue

2013-12-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dhaval, On 12/9/13, 3:04 PM, Dhaval Jaiswal wrote: > setting of session replication worked well. However, we do have > threading in some products. Like we are hitting the target API and > getting response from there servers. If will no

session replication issue

2013-12-09 Thread Dhaval Jaiswal
setting of session replication worked well. However, we do have threading in some products. Like we are hitting the target API and getting response from there servers. If will not get the response will hit them after some time and in this case threading not handled by session replication because

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Nir A
Yeah but, I would like to link the websocket session with the http session of the handshake. and that way i will be able to imitiate the session replication abilities for websocket. This mechanism works as intended only problem is the replication not replicate http session attribute while the

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Rossen Stoyanchev
ge is loaded and a new http > handshake is taking place. when that happens all the attributes do > replicate!!! > > Is there a way to make the attribute replicate without the need of > refreshing the page? > In HTTP you have many requests associated with a session id. With session

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Nir A
mcat doesn't notice anything > > And also is it not a "spec" or behavior requirement that you don't hold on > to your http session objects outside of requests? > > > > > On 1 December 2013 15:33, Nir A wrote: > > > Hi, > > > > Ive ask

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Johan Compagner
15:33, Nir A wrote: > Hi, > > Ive asked here before about how do i get a session replication over > websockets sessions. > Mark Thomas answered me that i should try and link the httpsession with > the websocket and then i will gain the replication abilities. > > So, I li

Websockets with tomcat clustering and session replication

2013-12-01 Thread Nir A
Hi, Ive asked here before about how do i get a session replication over websockets sessions. Mark Thomas answered me that i should try and link the httpsession with the websocket and then i will gain the replication abilities. So, I listended and implemented it just like in this url: http

Tomcat session replication via backmanager - attributes are not being saved on backup session

2013-12-01 Thread Nir A
Hi, I'm using tomcat clustering of 2 tomcats, and session replication via backup manager. on session creation in one tomcat instance, the other tomcat replicates the session successfully but the attribute list is empty no matter how much i add to it. (the primary session attribute list is

Re: Problems with Clustering / Session Replication

2013-10-29 Thread Daniel Mikusa
; >> 4.) Simplify as much as possible. Start with two fresh Tomcat instance. >> Add the simplest possible cluster configuration and go from there. >> >> >> https://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html#For_the_impatient >> >> Sorry I can'

Re: Problems with Clustering / Session Replication

2013-10-25 Thread Nicholas Violi
ion and go from there. > > > https://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html#For_the_impatient > > Sorry I can't be of more help. > > Dan > Hi all, Thanks for all your hard work last month on my session replication issue. I think I've found a so

Re: Problems with Clustering / Session Replication

2013-09-24 Thread Daniel Mikusa
; >> <% >>Integer count = (Integer) session.getAttribute("counter"); >>if (count == null) { >>count = 0; >>session.setAttribute("counter", 0); >>} else { >>session.setAttribute("counter", count +

Re: Problems with Clustering / Session Replication

2013-09-23 Thread Nicholas Violi
= 0; > session.setAttribute("counter", 0); > } else { > session.setAttribute("counter", count + 1); > } > %> > > > Index > > > Session [<%= session.getId() %>] > Current count is <%= count %>

Re: Problems with Clustering / Session Replication

2013-09-19 Thread Daniel Mikusa
ruled out as the > culprit, maybe my webapp is not dealing with sessions appropriately? Would > you mind sending me your counter test app? Here's what I've been using: WEB-INF/web.xml: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Vince Stewart
alternatively try an explicit address in the Receiver configuration instead of address="auto" try address="192.168.1.43" this should alter the log displayed at start-up and I would be very interested if you still had a problem. On Thu, Sep 19, 2013 at 10:35 AM, Vince Stewart wrote: > Hi Nicho

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Vince Stewart
Hi Nicholas, I'm am a bit of a novice but I did have a very similar problem when I started using the clustering modules. My Tomcat output was referring to localhost (10.x.x.x) addresses while my netstat was reporting LISTEN on network addresses (192.x.x.x:400?). You have the same disparity. My sys

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Mark Eggers
On 9/18/2013 6:00 AM, Nicholas Violi wrote: Thanks Daniel. On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa wrote: Tried a quick two node setup on my Mac w/out HTTPD and it worked OK. Go to one Tomcat instance's port in chrome, it increments the counter in my app. Refresh a few times. Open a

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Nicholas Violi
Thanks Daniel. On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa wrote: > > Tried a quick two node setup on my Mac w/out HTTPD and it worked OK. Go > to one Tomcat instance's port in chrome, it increments the counter in my > app. Refresh a few times. Open a second tab, go to the second Tomcat > in

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 4:18 PM, Daniel Mikusa wrote: > On Sep 17, 2013, at 3:39 PM, Nicholas Violi wrote: > >> On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa wrote: >> >>> What is your purpose with this configuration and with this setup? It's a >>> legit setup, but may not be doing what you want

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicholas, On 9/17/13 4:33 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 4:18 PM, Daniel Mikusa > wrote: > >> I would disagree with this conclusion. In your test setup you >> absolutely need this. In production, you don't need HTTPD >> becau

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 4:18 PM, Daniel Mikusa wrote: > I would disagree with this conclusion. In your test setup you absolutely > need this. In production, you don't need HTTPD because you have a > dedicated hardware load balancer. Unless you have one of those on your > desk, you need HTTPD to

  1   2   3   4   5   6   >