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

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)

Re: Tomcat session replication with static membership

2013-09-05 Thread Willem Fibbe - Realworks BV
To answer my own questions: On 04/09/2013 14:18, Willem Fibbe wrote: ... Now I was wondering 2 things: - if a Tomcat node restarts, will it be possible that it is trying to receive sessions from itself, rather than one or more of the other nodes? Or: should I configure a different

Tomcat session replication with static membership

2013-09-04 Thread Willem Fibbe - Realworks BV
Hi, As multicast seems to be giving problems sometimes in our network, we're trying to also setup static membership. Note that we want the multicast membership service to be still functioning. To do this, I configured the following in server.xml (simplified for brevity) on all nodes the same,

Re: tomcat session replication and domain change

2011-11-17 Thread Christopher Schultz
sessions per server is nothin', too. But the point is valid, after the user leaves secure.site.com he will probably never come back and there is no need to keep his session (noone pays twice ;-)). You obviously need to change your business model. :) But I assume tomcat session replication

tomcat session replication and domain change

2011-11-16 Thread Leon Rosenberg
Hello, I'm researching possible solutions for a following scenario and am not sure whether tomcat session replication can support it: My site is normally available under www.site.com, www.site.fr, www.site.de etc, for 22 different countries and a total of 500 domains (partners). Usually a user

Re: tomcat session replication and domain change

2011-11-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 11/16/11 5:06 PM, Leon Rosenberg wrote: User logins on http://www.site.fr, a new session is created. User uses the site, attributes are written and read... User clicks a special link and is redirected to https://secure.site.com -

Re: tomcat session replication and domain change

2011-11-16 Thread Leon Rosenberg
the user leaves secure.site.com he will probably never come back and there is no need to keep his session (noone pays twice ;-)). But I assume tomcat session replication support doesn't support session purge, neither session pull instead of permanent synchronization. regards Leon

Problem with tomcat session replication

2010-04-26 Thread o-rabbit
What is the problem?? Any pointers, tips or outright solution would be appreciated!! -- View this message in context: http://old.nabble.com/Problem-with-tomcat-session-replication-tp28361225p28361225.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Problem with tomcat session replication

2010-04-26 Thread o-rabbit
solution would be appreciated!! -- View this message in context: http://old.nabble.com/Problem-with-tomcat-session-replication-tp28361225p28361309.html Sent from the Tomcat - User mailing list archive at Nabble.com

GWT Sessions with Tomcat Session Replication?

2009-01-19 Thread bikkel bikkel
in: === HttpSession ses=this.getThreadLocalRequest().getSession(false); if(ses.getAttribute(monitor_loggedin)!=null){ //loggedin } === I suspect that getThreadLocalRequest().getSession() is not compatible with the Tomcat Session Replication. Is there a way to get this working or is there another way

Re: GWT Sessions with Tomcat Session Replication?

2009-01-19 Thread Rusty Wright
)!=null){ //loggedin } === I suspect that getThreadLocalRequest().getSession() is not compatible with the Tomcat Session Replication. Is there a way to get this working or is there another way to around this problem? Thanks

Tomcat Session Replication problem

2008-03-20 Thread Mc210274
-Session-Replication-problem-tp16185824p16185824.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Tomcat Session Replication problem

2008-03-20 Thread Mc210274
I forgot to state that I am running tomcat 5.5 -- View this message in context: http://www.nabble.com/Tomcat-Session-Replication-problem-tp16185824p16185828.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Tomcat session replication problem

2008-03-12 Thread Vreixo Formoso
Hi! O Mar, 11-03-2008 √°s 22:32 -0600, Filip Hanik - Dev Lists escribiu: for it to work you would need to have channelSendOptions=6, No, it doesn't work too. I've already tried with it... With synchronous session replication server response is a bit slower (but too much...) but I have the same

Tomcat session replication problem

2008-03-11 Thread Vreixo Formoso
Hi! I've a session replication problem I don't know how to solve. I've installed a tomcat cluster with 2 tomcat workers (v6.0.14) and an apache server 2.2.3 as load balancer, with mod_jk. I've configured DeltaManager for session replication. When I use sticky sessions, all works propertly,

Re: Tomcat session replication problem

2008-03-11 Thread Filip Hanik - Dev Lists
for it to work you would need to have channelSendOptions=6, however, not using sticky sessions is a bad strategy, no matter how you look at it. using sticky sessions, one can take advantage of asynchronous messaging and hence not affect the overall response time and other benefits of course

Tomcat Session Replication Issue

2007-08-30 Thread Solomon Movva
Hi all, I am using Tomcat 5.5 as both Web Server and Web Container. I have 4 tomcat instances A,B,C,D - 2 each on 2 Web Server boxes. There's a hardware load balancer sitting before these that routes to each of the 4 IP/ports. I haven't used method described in the TOmcat 5.5 docs on the

Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread hans.mader
Hello, if I reload a context, all sessions are going to be serialized and deserialized automatically. Is the same possible at undeploy / deploy? The problem is, that all users are thrown out of their apps if we redeploy under production. (I know thats not recommended, but sometimes its really

Re: Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread Filip Hanik - Dev Lists
[EMAIL PROTECTED] wrote: Hello, if I reload a context, all sessions are going to be serialized and deserialized automatically. Is the same possible at undeploy / deploy? yes, works the same way The problem is, that all users are thrown out of their apps if we redeploy under production.

AW: Tomcat Session Replication at undeploy/install (6.0.14 / windows)

2007-08-28 Thread hans.mader
, Hans. -Urspr√ľngliche Nachricht- Von: Filip Hanik - Dev Lists [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 28. August 2007 19:15 An: Tomcat Users List Betreff: Re: Tomcat Session Replication at undeploy/install (6.0.14 / windows) [EMAIL PROTECTED] wrote: Hello, if I reload a context

Tomcat Session Replication via Database Problem

2007-01-15 Thread Nino Ulsamer
Hello, we have a problem replicating sessions using Tomcat. We are using two servers which are load-balanced using Apache. We want to achieve session preservation over multiple requests of the same user (he might be forwarded to different servers for those requests). What we tried to set up

Re: Tomcat session replication/cluster (mod_proxy_ajp)

2006-06-26 Thread Sean O'Reilly
On Fri, 23 Jun 2006 16:43:16 +0100 Pid [EMAIL PROTECTED] wrote: Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: I am sure it would be easier to use mod_proxy_balancer and mod_proxy_ajp but can't find any documentation anywhere.

Re: Tomcat session replication/cluster (mod_proxy_ajp)

2006-06-26 Thread Pid
(I've manually configured the tcpListenAddress to be the node's main IP. Obviously it's not 000.000.000.00.) I've specified JvmRouteBinderValve, JvmRouteSessionIDBinderListener and ClusterSessionListener. Cluster className=org.apache.catalina.cluster.tcp.SimpleTcpCluster

Re: Tomcat session replication/cluster (mod_proxy_ajp)

2006-06-26 Thread Pid
Sean O'Reilly wrote: Still having some problems with load balancing and state replication neither of which appear to be working. If i shutdown tomcat on the main server i can still get to the application directory from one of the other servers but get a 503 error if i try to run any of the

Re: Tomcat session replication/cluster (mod_proxy_ajp)

2006-06-26 Thread Sean O'Reilly
On Mon, 26 Jun 2006 11:46:43 +0100 Pid [EMAIL PROTECTED] wrote: Sean O'Reilly wrote: Still having some problems with load balancing and state replication neither of which appear to be working. If i shutdown tomcat on the main server i can still get to the application directory from

Re: Tomcat session replication/cluster (mod_proxy_ajp)

2006-06-26 Thread Pid
could well be. depends on your setup... WARNING: Unable to asynchronously send session with id=[88798A041EC3F104045E5C22B47ADE77.jvm1-1151322148155] - message will be ignored.

Re: Tomcat session replication/cluster

2006-06-23 Thread Sean O'Reilly
On Thu, 22 Jun 2006 15:39:09 +0100 Pid [EMAIL PROTECTED] wrote: In each case it's the ROOT context, so is it appending where there's no Context name/path: ie SEVERE: Context manager doesn't exist:host1+context1 where context1= ? It would still seem that the name parameter supplied

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNING: Manager [/jsp-examples], requesting session state from

Re: Tomcat session replication/cluster

2006-06-23 Thread Sean O'Reilly
On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNING: Manager [/jsp-examples],

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Hi Guys, I appear to be finally getting somewhere with the in-memory state replication but am now getting the following error when starting up my tomcat instances/ WARNING: Manager

Re: Tomcat session replication/cluster

2006-06-23 Thread Sean O'Reilly
On Fri, 23 Jun 2006 10:00:36 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Hi Guys, I appear to be finally getting somewhere with the in-memory state replication

Re: Tomcat session replication/cluster

2006-06-23 Thread Filip Hanik - Dev Lists
Sean O'Reilly wrote: On Fri, 23 Jun 2006 10:00:36 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: Hi Guys, I appear to be finally getting somewhere with the

Re: Tomcat session replication/cluster

2006-06-23 Thread Pid
How are you defining the cluster in your server.xml? I did this recently, and had a bunch of small problems. E.g. my server clocks weren't sync'd. I found that enabling just the SimpleTcpCluster element (without all the rest) helped me get up and running. Sean O'Reilly wrote: On Fri, 23 Jun

Re: Tomcat session replication/cluster (mod_proxy_ajp)

2006-06-23 Thread Pid
Sean O'Reilly wrote: On Fri, 23 Jun 2006 09:05:18 -0500 Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: I am sure it would be easier to use mod_proxy_balancer and mod_proxy_ajp but can't find any documentation anywhere. My servers didn't have their clocks synchronised, check that. Also try

Re: Tomcat session replication/cluster

2006-06-22 Thread Pid
Filip Hanik - Dev Lists wrote: if the cluster is put in the engine element, the context names are prefixed with the engine name, since you can have multiple contexts with the same name in different host when reloading a context, you'll get these errors cause the context is not available

Re: Tomcat session replication/cluster

2006-06-22 Thread Pid
OK, I'm probably being dense here. (There's only 1 context in each host, the ROOT context) If I take the Host/Context offline in one node and restart it, the logs on that node start showing the following: SEVERE: Context manager doesn't exist:host1 As the Context doesn't exist, which is the

Re: Tomcat session replication/cluster

2006-06-22 Thread Filip Hanik - Dev Lists
Makes sense, can we please ask you to open up a bug for us, http://issues.apache.org/bugzilla/ thanks Filip Pid wrote: OK, I'm probably being dense here. (There's only 1 context in each host, the ROOT context) If I take the Host/Context offline in one node and restart it, the logs on that

Tomcat session replication/cluster

2006-06-21 Thread Pid
I'm seeing an issue on 5.5.17 with a 2 node cluster config. When a context is reloaded, it sends the context node name incorrectly to the cluster. E.g. context is called website1 SEVERE: Context manager doesn't exist:website1website1 The config I'm using is exactly the same as the default from

Re: Tomcat session replication/cluster

2006-06-21 Thread Filip Hanik - Dev Lists
if the cluster is put in the engine element, the context names are prefixed with the engine name, since you can have multiple contexts with the same name in different host when reloading a context, you'll get these errors cause the context is not available during the reload this will be fixed