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
om -Original Message- From: Mark Thomas Sent: Friday, March 22, 2024 11:32 AM To: users@tomcat.apache.org Subject: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute : On 22/03/2024 15:15, Rick Noel wrote: Is ther

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
Westwood One rn...@westwoodone.com -Original Message- From: Mark Thomas Sent: Friday, March 22, 2024 11:32 AM To: users@tomcat.apache.org Subject: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute : On 22/03/2024 15:15,

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
t: [EXT]Re: Tomcat session replication issue - java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute : 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.

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

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) a

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 serv

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
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 support doesn't support >

Re: tomcat session replication and domain change

2011-11-16 Thread Leon Rosenberg
I don't get the relation, 10x100 = 1000, not 10.000 ;-) 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 ;-)). But I assume tomcat session replication support doesn't support sessi

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

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

Re: Problem with tomcat session replication

2010-04-25 Thread o-rabbit
> filter=".*\.gif;.*\.js;.*\.jpg;.*\.png;.*\.html;.*\.css;.*\.txt;"/> >className="org.apache.catalina.ha.session.JvmRouteBinderValve" > enabled="true" sessionIdAttribute="takeoverSessionid"/> > >className="org

Problem with tomcat session replication

2010-04-25 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

Re: GWT Sessions with Tomcat Session Replication?

2009-01-19 Thread Rusty Wright
); 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

GWT Sessions with Tomcat Session Replication?

2009-01-19 Thread bikkel bikkel
k if someone is logged 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

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

Tomcat Session Replication problem

2008-03-20 Thread Mc210274
=== === -- View this message in context: http://www.nabble.com/Tomcat-Session-Replication-problem

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 sam

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 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, when

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.

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

2007-08-28 Thread hans.mader
ager app itself. Regards, 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: &g

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.

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

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 unti

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. java.net.Connect

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 direc

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

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. Sean O'Reilly wrote: > On Fri, 23 Jun 200

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 documenta

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. Als

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 2

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

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 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 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 org.apache.catalina.cluster.mcast.McastMember[tcp://192.168.4.121:

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 parame

Re: Tomcat session replication/cluster

2006-06-22 Thread Pid
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 to the getManagerName is carrying over it's previous value, and appendin

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 no

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 sa

Re: Tomcat session replication/cluster

2006-06-22 Thread Peter Rossbach
Hmm, look at o.a.c.cluster.tcp.SimpleTcpCluster L 626ff private String getManagerName(String name, Manager manager) { String clusterName = name ; if(getContainer() instanceof Engine) { Container context = manager.getContainer() ; if(context != null &&

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

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