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

2024-04-15 Thread Christopher Schultz
huck 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 I get

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 > Ch

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

2024-04-13 Thread Jonathan S. Fisher
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 getting closer

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

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 important

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:

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]

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
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? sessionAttributeNameFilter="cus

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't.

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"

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

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 Keiic

Re: Tomcat 9 Session replication

2022-02-01 Thread Mark Thomas
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't very explicit

Re: Tomcat 9 Session replication

2022-01-31 Thread Christopher Schultz
bers. 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 replication All, On

RE: Tomcat 9 Session replication

2022-01-31 Thread Alan F
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 must

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-temp

RE: Tomcat 9 Session replication

2022-01-30 Thread Alan F
@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 here

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

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 se

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
e 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 > required. h

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't want to add

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

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

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

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

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

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

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 >

Re: Cluster session replication performance

2018-09-10 Thread Mitch Claborn
.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 Struts action

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 replicated p

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)" <rahul.si...@rbccm.com> 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 setu

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

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 <san...@gmail.com>: Hi! I have tested quite a few times to confirm that session replication will not happen

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 <san...@gmail.com>: > 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 replicatio

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

2016-04-23 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
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

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
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't get

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

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

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 dmik...@pivotal.io wrote: On Fri, Jul 3, 2015 at 8:36 AM, Charles Richard charle...@thelearningbar.com wrote: Hi, We are currently using a product

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: -

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 dmik...@pivotal.io 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

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 products

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 kfuj...@apache.org 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

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

2015-04-21 Thread Keiichi Fujino
? 2015-04-15 3:55 GMT+09:00 Théo Chamley theo...@mley.fr: 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

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

2015-04-20 Thread Keiichi Fujino
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: Cluster - Session replication error: Unable to apply diff

2015-04-20 Thread Keiichi Fujino
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] org.apache.catalina.tribes.tipis.AbstractReplicatedMap.messageReceived Unable

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š ju...@oksystem.cz: 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

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

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

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

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

Re: Session replication does not work - Continued

2013-12-29 Thread Daniel Mikusa
On Dec 29, 2013, at 10:11 AM, Nir A n...@netomedia.com 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

Re: Session replication configuration file question

2013-12-29 Thread Daniel Mikusa
On Dec 29, 2013, at 10:51 AM, Nir A n...@netomedia.com 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

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: 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 not get

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Johan Compagner
...@netomedia.com 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 listended and implemented it just like

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Nir A
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 n...@netomedia.com wrote: Hi, Ive asked here before about how do i get a session replication over websockets

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Rossen Stoyanchev
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 replication, each new request

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

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 fine

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

Re: Problems with Clustering / Session Replication

2013-10-29 Thread Daniel Mikusa
possible cluster configuration 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 solution today (via my

Re: Problems with Clustering / Session Replication

2013-10-25 Thread Nicholas Violi
-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 solution today (via my SO post http://stackoverflow.com/questions/18835014/tomcats-clustering-session-replication

Re: Problems with Clustering / Session Replication

2013-09-24 Thread Daniel Mikusa
, but effective for testing session replication. Hi, and sorry for the silence; I had a few other things take priority over this last week, but I've found some time today to test your counter app. So I'm now cutting out both httpd and my complicated webapp, and still see no replication of session

Re: Problems with Clustering / Session Replication

2013-09-23 Thread Nicholas Violi
); } else { session.setAttribute(counter, count + 1); } % html head titleIndex/title /head body h2Session [%= session.getId() %]/h2 pCurrent count is %= count %/p /body /html It's crude, but effective for testing session replication. Hi, and sorry for the silence

Re: Problems with Clustering / Session Replication

2013-09-19 Thread Daniel Mikusa
is %= count %/p /body /html It's crude, but effective for testing session replication. Beyond that, have you tried increasing the log levels? I found conflicting information about enabling logging. What I had previously was org.apache.catalina.tribes.level = FINE

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 dmik...@gopivotal.comwrote: 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

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 dmik...@gopivotal.comwrote: 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

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

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Vince Stewart
alternatively try an explicit address in the Receiver configuration Receiver className=org.apache.catalina.tribes.transport.nio.NioReceiver address=auto port=4001 autoBind=100 selectorTimeout=5000

Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
Hello, I'm setting up clustering/replication on Tomcat 7 on my local machine, to evaluate it for use with my environment/codebase, and sessions don't appear to be replicating. Hopefully I've provided enough information below, but please let me know if you have any more questions. ___Setup___ I

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicholas, On 9/17/13 9:59 AM, Nicholas Violi wrote: Hello, I'm setting up clustering/replication on Tomcat 7 on my local machine, to evaluate it for use with my environment/codebase, and sessions don't appear to be replicating. Hopefully I've

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
Hi Daniel, Thanks for the response. It seems that the ports (you're correct, 4000 and 4001) aren't open; telnet reports Connection refused and nmap lists the ports as closed. Shouldn't tomcat be opening them? I'm not running a firewall or anything. I'll come back to your questions about my apache

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 9:59 AM, Nicholas Violi nvi...@globalgiving.org wrote: Hello, I'm setting up clustering/replication on Tomcat 7 on my local machine, to evaluate it for use with my environment/codebase, and sessions don't appear to be replicating. Hopefully I've provided enough information

  1   2   3   4   5   6   >