Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-09 Thread Mark Thomas
On 08/04/2025 00:27, Tim N wrote: Thanks for clarifying that. Does BackupManager support auto-scaling Yes, if you use a cluster membership mechanism that allows that. and cycled restarts of all nodes (for web-app upgrades) without losing the user's session? Yes, but you need to trigger the

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-07 Thread Tim N
Thanks for clarifying that. Does BackupManager support auto-scaling and cycled restarts of all nodes (for web-app upgrades) without losing the user's session? If the backup node is restarted...the backup is lost isn't it? On Fri, Apr 4, 2025 at 8:23 PM Mark Thomas wrote: > On 04/04/2025 02:42, C

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-04 Thread Mark Thomas
On 04/04/2025 02:42, Chuck Caldarale wrote: On 2025 Apr 3, at 19:57, Tim N wrote: For a long time up to the latest version 11 documentation, there has been a recommended maximum limit of 4 nodes per cluster. https://tomcat.apache.org/tomcat-11.0-doc/cluster-howto.html "This works great for s

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-03 Thread Chuck Caldarale
> On 2025 Apr 3, at 19:57, Tim N wrote: > > For a long time up to the latest version 11 documentation, there has been a > recommended maximum limit of 4 nodes per cluster. > > https://tomcat.apache.org/tomcat-11.0-doc/cluster-howto.html > "This works great for smaller clusters, but we don't re

Re: Tomcat Clustering Roadmap And Max Node Limit

2025-04-03 Thread r . barclay
n: "Tim N" > An: "Tomcat Users List" > Betreff: Tomcat Clustering Roadmap And Max Node Limit > > For a long time up to the latest version 11 documentation, there has been a > recommended maximum limit of 4 nodes per cluster. > > https://tomcat.apache.org/t

Tomcat Clustering Roadmap And Max Node Limit

2025-04-03 Thread Tim N
For a long time up to the latest version 11 documentation, there has been a recommended maximum limit of 4 nodes per cluster. https://tomcat.apache.org/tomcat-11.0-doc/cluster-howto.html "This works great for smaller clusters, but we don't recommend it for larger clusters — more than 4 nodes or so

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-21 Thread Christopher Schultz
Mark and Dan, On 6/21/23 04:57, Mark Thomas wrote: On 20/06/2023 17:12, Dan McLaughlin wrote: Mark, What are your thoughts on changing the Tomcat codebase to return a 503 instead of a 404 if a context is marked as distributable or if clustering is enabled and deployed but stopped?  When I did

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-21 Thread Mark Thomas
On 20/06/2023 17:12, Dan McLaughlin wrote: Mark, What are your thoughts on changing the Tomcat codebase to return a 503 instead of a 404 if a context is marked as distributable or if clustering is enabled and deployed but stopped? When I did searches years ago on this issue, most people at the

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Christopher Schultz
Dan, On 6/20/23 11:32, Dan McLaughlin wrote: When I attach with a debugger, I can see what's causing it not to work. When the Web Application is started, then request.getContext(); returns the correct Web Application context, but when the application is stopped, request.getContext(); returns t

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
FYI... Here is the valve I finally came up with that seems to work. import org.apache.catalina.*; import org.apache.catalina.connector.Request; import org.apache.catalina.connector.Response; import org.apache.catalina.valves.ValveBase; import jakarta.servlet.ServletException; import java.io.IOExc

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
One thing I just tested was to undeploy the ROOT context, which is how we run anyways, and this causes request.getContext() to return null, which with the code, as is, results in a null pointer and a 500 being thrown--which inadvertently would cause mod_jk to retry on another node. I don't like le

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
Mark, What are your thoughts on changing the Tomcat codebase to return a 503 instead of a 404 if a context is marked as distributable or if clustering is enabled and deployed but stopped? When I did searches years ago on this issue, most people at the time would recommend adding 404 to the fail_o

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
We typically don't deploy a ROOT context in our production environments--for no other reason than making it more difficult to poke around. I'll look at that as an option. Thanks for the tips. -- Thanks, Dan On Tue, Jun 20, 2023 at 10:28 AM Mark Thomas wrote: > On 20/06/2023 15:41, Dan McLaug

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
When I attach with a debugger, I can see what's causing it not to work. When the Web Application is started, then request.getContext(); returns the correct Web Application context, but when the application is stopped, request.getContext(); returns the ROOT context, which is up, so the 404 is pass

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Mark Thomas
On 20/06/2023 15:41, Dan McLaughlin wrote: So I tried to create a Valve to check to see if the application is stopped and convert the 404 response to a 503, but I haven't had any luck getting it to work. Is there another internal API that I should be using? context.getState().isAvailable ways see

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
So I tried to create a Valve to check to see if the application is stopped and convert the 404 response to a 503, but I haven't had any luck getting it to work. Is there another internal API that I should be using? context.getState().isAvailable ways seems to report the app is available even though

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-14 Thread Dan McLaughlin
Hey Mark, Thanks for the information and quick response! The typical use case is either during a hot redeployment of an application; we don't use the application context versions only because we had issues with it in the past, but the last time I tried it was years ago. If I remember correctly,

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-14 Thread Mark Thomas
On 14/06/2023 19:49, Dan McLaughlin wrote: Hello, This is probably a question that would be better suited for the dev list, but I thought I'd start here first. That depends. It is generally better to start on the users list. Does anyone understand the reasoning behind why Tomcat, when cluste

Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-14 Thread Dan McLaughlin
Hello, This is probably a question that would be better suited for the dev list, but I thought I'd start here first. Does anyone understand the reasoning behind why Tomcat, when clustered, throws an HTTP status 404 and not a 503 when you have an application deployed but stopped or paused? What's

Re: Configuring Tomcat Clustering Solution for Virtual-Hosts

2019-09-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vinu, On 9/19/19 06:26, Vinu Vibhu Sobhana wrote: > Hai, > > Iam having two Web Servers configured to run Tomcat8.5. My project > manager had assigned me to configure these Tomcat Web Servers in > cluster mode so that the sessions will be managed by

Configuring Tomcat Clustering Solution for Virtual-Hosts

2019-09-19 Thread Vinu Vibhu Sobhana
Hai, Iam having two Web Servers configured to run Tomcat8.5. My project manager had assigned me to configure these Tomcat Web Servers in cluster mode so that the sessions will be managed by the Tomcat Cluster. The same had been done using tomcat references/documentation. I have also configured a H

Re: Tomcat Clustering Support

2018-10-20 Thread Mark Thomas
On 11/10/18 10:12, Mark Thomas wrote: > If folks think this looks reasonable, I can create a BZ enhancement > request to implement it. https://bz.apache.org/bugzilla/show_bug.cgi?id=62841 - To unsubscribe, e-mail: users-unsubs

Re: Tomcat Clustering Support

2018-10-11 Thread Mark Thomas
On 10/10/18 23:04, Caldarale, Charles R wrote: >> From: Mark Thomas [mailto:ma...@apache.org] >> Subject: Re: Tomcat Clustering Support > >> Thread A is in the middle of processing a request. It is evaluating some >> EL which requires access to the view map which in tu

RE: Tomcat Clustering Support

2018-10-10 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Tomcat Clustering Support > Thread A is in the middle of processing a request. It is evaluating some > EL which requires access to the view map which in turn causes the > ViewMap to upd

Re: Tomcat Clustering Support

2018-10-10 Thread Mark Thomas
k to >> assist with troubleshooting and resolving a Tomcat clustering issue in our >> system. >> >> The system is composed of multiple Java PrimeFaces applications running in >> a clustered Tomcat environment which is experiencing occasional >> deadlocking is

RE: [OT] Tomcat Clustering Support

2018-09-20 Thread Mark Thomas
On September 20, 2018 2:26:36 PM UTC, Scott Evans wrote: >-Original Message- >From: Scott Evans >Sent: Monday, September 17, 2018 10:57 AM >To: 'Tomcat Users List' ; >'users@tomcat.apache.org' > >Subject: RE: [OT] Tomcat Clustering Supp

RE: [OT] Tomcat Clustering Support

2018-09-20 Thread Scott Evans
-Original Message- From: Scott Evans Sent: Monday, September 17, 2018 10:57 AM To: 'Tomcat Users List' ; 'users@tomcat.apache.org' Subject: RE: [OT] Tomcat Clustering Support -Original Message- From: Christopher Schultz Sent: Tuesday, August 28, 20

RE: [OT] Tomcat Clustering Support

2018-09-17 Thread Scott Evans
-Original Message- From: Christopher Schultz Sent: Tuesday, August 28, 2018 3:35 PM To: users@tomcat.apache.org Subject: Re: [OT] Tomcat Clustering Support -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Scott, I'm no Tomcat-clustering expert, but... On 8/28/18 13:59, Scott

Re: [OT] Tomcat Clustering Support

2018-08-28 Thread Jeff Crump
Never mind. It's visible again. On Tue, Aug 28, 2018, 2:35 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Scott, > > I'm no Tomcat-clustering expert, but... > > On 8/28/18 13:59, Scot

Re: [OT] Tomcat Clustering Support

2018-08-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Scott, I'm no Tomcat-clustering expert, but... On 8/28/18 13:59, Scott Evans wrote: > channelSendOptions="10" channelStartOptions="3"> > > expireSessionsOnShutdown="false" > noti

RE: [OT] Tomcat Clustering Support

2018-08-28 Thread Scott Evans
: users@tomcat.apache.org Subject: Re: [OT] Tomcat Clustering Support -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Scott, This list is typically for non-paid support requests, but there really isn't a great forum for finding Tomcat consultants... other than Google I suppose. So I'm ma

Re: [OT] Tomcat Clustering Support

2018-08-15 Thread Christopher Schultz
cott Evans wrote: > Our system is on Apache Tomcat Version 8.0.47. OS is Windows Server > 2012 R2 Datacenter. > > We are looking for someone that may be interested in paid contract > work to assist with troubleshooting and resolving a Tomcat > clustering issue in our system. &g

Re: Tomcat Clustering Support

2018-08-15 Thread Mark Thomas
On 15/08/18 20:43, Scott Evans wrote: > Hi, > > Our system is on Apache Tomcat Version 8.0.47. > OS is Windows Server 2012 R2 Datacenter. > > We are looking for someone that may be interested in paid contract work to > assist with troubleshooting and resolving a Tomcat cl

Tomcat Clustering Support

2018-08-15 Thread Scott Evans
Hi, Our system is on Apache Tomcat Version 8.0.47. OS is Windows Server 2012 R2 Datacenter. We are looking for someone that may be interested in paid contract work to assist with troubleshooting and resolving a Tomcat clustering issue in our system. The system is composed of multiple Java

Re: Question on Tomcat clustering

2018-05-04 Thread Martin Knoblauch
Hi Louis, thanks. Yeah, currently the level is "INFO". I am a bit afraid of FINE/FINEST, fearing an overflow of messages that are to detailed. I had hoped for something on a higher severity - the event I am looking for is in the end an exception from the normal work. something noteworthy, not to

Re: Question on Tomcat clustering

2018-05-03 Thread Luis Rodríguez Fernández
Hello Martin, If you use the default tomcat logging [1] probably setting org.apache.catalina.ha.level = FINE or FINEST in your $CATALINA_BASE/conf/logging.properties will give you the information you need. Hope it helps, Luis [1] https://tomcat.apache.org/tomcat-7.0-doc/logging.html 2

Question on Tomcat clustering

2018-05-03 Thread Martin Knoblauch
Hi, one question on Tomcat HA clustering. Is there a way (e.g. a log file pattern to look for) to find out that a sessions activity has actually been transfered to another cluster node? We are operating a productive environment with 6 clustered TC processes and we would like to know how oftenthe

tomcat clustering multicast IGMPv3 SSM

2018-04-13 Thread Chris P.
Is Tomcat clustering supported with Source Specific Multicast (IGMPv3). I can't find any documentation about this (and my attempts have failed), if this is not supported, is my best bet to use StaticMembershipInterceptor so that I can cluster accross VLANs?

Re: Tomcat clustering and FarmDeployer

2016-10-21 Thread Daniel Savard
Le 20 oct. 2016 3:21 PM, "André Warnier (tomcat)" a écrit : > > Maybe naive, and I have never tried any of this myself, but is there a reason why you cannot use method 2 in > http://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html#A_word_on_Contexts > in that scenario ? > Thanks, tested for m

Re: Tomcat clustering and FarmDeployer

2016-10-20 Thread Daniel Savard
2016-10-20 15:16 GMT-04:00 André Warnier (tomcat) : Maybe naive, and I have never tried any of this myself, but is there a > reason why you cannot use method 2 in > http://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html# > A_word_on_Contexts > in that scenario ? > > André, thanks I will give

Re: Tomcat clustering and FarmDeployer

2016-10-20 Thread tomcat
On 20.10.2016 20:50, Daniel Savard wrote: Hi everyone, I am testing the FarmDeployer in a Tomcat cluster environment and it seems it cannot do what I would like it to do. So far, it works fine to deploy the web application on all cluster members. However, the way they are deployed is the plain

Tomcat clustering and FarmDeployer

2016-10-20 Thread Daniel Savard
Hi everyone, I am testing the FarmDeployer in a Tomcat cluster environment and it seems it cannot do what I would like it to do. So far, it works fine to deploy the web application on all cluster members. However, the way they are deployed is the plain war file drop into the appBase directory. I

Re: Tomcat clustering for simplified config

2015-10-12 Thread Christoph Nenning
> I don't have a solution or advice to contribute, but I hope I can > spur along some more discussion on the issue. > > We struggle with the problem of pets versus cattle also. > > We have a farm of pets right now. > > Our team is still evaluating at what level in our infrastructure our > tom

Re: Tomcat clustering for simplified config

2015-10-12 Thread Chris Gamache
t; newer version. >>>> >>>> So no big deal conceptually, I fully admit, but doing this across >>>> eight servers is TEDIOUS. And more importantly, it's a ripe >>>> opportunity for introducing user error. On three occasions I >>>>

Re: Tomcat clustering for simplified config

2015-10-12 Thread Christoph Nenning
, it's a ripe > >> opportunity for introducing user error. On three occasions I > >> have brought our production systems by stupid mistakes in > >> server.xml or other config files, or most recently, accidentally > >> copying the wrong ROOT from a version

Re: Tomcat clustering for simplified config

2015-10-07 Thread Christopher Schultz
t our production systems by stupid mistakes in >> server.xml or other config files, or most recently, accidentally >> copying the wrong ROOT from a version 2 (05) box into the version >> one boxes (01 and 03). I got things up and running fine with no >> serious consequences

Re: Tomcat clustering for simplified config

2015-10-07 Thread Igor Cicimov
to be a better way" right after I talked myself off the "you're a complete idiot" ledge. > > I'm starting to research Tomcat clustering but everything I see just talks about load balancing and failover. **What about ease of configuration??** I'd like to be able

Re: Tomcat clustering for simplified config

2015-10-07 Thread Christoph Nenning
e with no serious consequences > but this being the third time, I thought "there has to be a better > way" right after I talked myself off the "you're a complete idiot" ledge. > > I'm starting to research Tomcat clustering but everything I see just > tal

Re: Tomcat clustering for simplified config

2015-10-07 Thread Mark Thomas
). I got things up and running fine with no > serious consequences but this being the third time, I thought "there has to > be a better way" right after I talked myself off the "you're a complete > idiot" ledge. > > I'm starting to research Tomcat clust

Tomcat clustering for simplified config

2015-10-06 Thread Mark Bramer
ion one boxes (01 and 03). I got things up and running fine with no serious consequences but this being the third time, I thought "there has to be a better way" right after I talked myself off the "you're a complete idiot" ledge. I'm starting to research Tomcat

Re: Tomcat Clustering

2015-01-15 Thread Arun Kumar
Hi Chris Appreciate your help. On 12/28/14 5:59 PM, Arun Kumar wrote: > Thanks a ton for reaching me out and i really appreciate your help. I am > new to Tomcat clustering, if my questions doesn't make any sense, please > forgive me :) > >> On 12/26/14 12:36 PM, Arun Kuma

Re: Tomcat Clustering

2014-12-28 Thread Arun Kumar
Thanks a ton for reaching me out and i really appreciate your help. I am new to Tomcat clustering, if my questions doesn't make any sense, please forgive me :) On 12/26/14 12:36 PM, Arun Kumar wrote: > I have two Tomcat 7.0 installed on two different machines and > edited the server.

Re: Tomcat Clustering

2014-12-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Arun, On 12/26/14 12:36 PM, Arun Kumar wrote: > I have two Tomcat 7.0 installed on two different machines and > edited the server.xml file on both the machines with the code > below, i am not sure if the Tomcats are clustered. Which exact version

Tomcat Clustering

2014-12-26 Thread Arun Kumar
Hi I have two Tomcat 7.0 installed on two different machines and edited the server.xml file on both the machines with the code below, i am not sure if the Tomcats are clustered. I tried to turn of one Tomcat manually to check if the clustering is implemented or not. But the failover doesn't work.

Question On Tomcat Clustering with Session Persistence

2014-10-28 Thread Hegde, Smitha
Hello, We have currently started using tomcat 7.0 in our development environment .Following are the configuration Details : Tomcat Version : 7.0.55 Java Version :1.7.0.67 We have a requirement to implement clustering for one of our applications . The same application's active but idle sessio

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
In order to trace create session completely, it was necessary that changing log level of LazyReplicatedMap. (sorry about that.) However this log indicates that session replication works. For example. Dec 17, 2013 1:52:21 PM > org.apache.catalina.tribes.tipis.AbstractReplicatedMap messageReceived

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Nir A
Here is a full scenario: 1) Both tomcats are down 2) starting up tc1: Dec 17, 2013 1:49:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /u

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
2013/12/17 Nir A > In the tomcat manager We can see that our web application called "HATest" > is having the sessions. > Its a small demo of a shopping cart that keeps the items in the session. > > here is an example of a session we created in on of the tomcats nodes: > > Details for Session 3326

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Nir A
In the tomcat manager We can see that our web application called "HATest" is having the sessions. Its a small demo of a shopping cart that keeps the items in the session. here is an example of a session we created in on of the tomcats nodes: Details for Session 33265A9C6318C014ADA92220A76F566C S

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
It seems that there is no problem. Initialization of AbstractReplicatedMap seems to work correctly. > > We have 3 sessions currently: one on node-1 and 2 on node-2 but there are > only primary sessions on each (3) and not backup sessions at all. what > could be the problem? > > How did you confi

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Nir A
Ok , So now we started node 1 , waited until it was up and running and only then we started node2. There are no warnings \ errors on the log files. Only problem is that our session's are not being replicated. here are the logs of the catalina: Node1: Dec 17, 2013 10:52:21 AM org.apache.catali

Re: Tomcat Clustering - when the tomcat instances are on different machines

2013-12-17 Thread Keiichi Fujino
DeltaManager starts session sync phase by sending a SESSION-GET-ALL message at startup. DeltaManager that has received the SESSION-GET-ALL message sends all session data by sending a ALL-SESSION-DATA message. Then sends a SESSION-STATE-TRANSFERED message in order to notify the transmission completi

Tomcat Clustering - when the tomcat instances are on different machines

2013-12-16 Thread Nir A
Hi, We started working on our next generation platform project. One of our requirement is to have session replication via tomcat clustering. We have managed to set up a cluster with replication when the tomcats (7.0.47) were both on the SAME machine as a POC. Now as we are setting up the

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 webs

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Rossen Stoyanchev
On Sun, Dec 1, 2013 at 4:33 PM, Nir A wrote: My POC web application has one html page with javascript web socket > send\recieve messages. > > What i did notice that might shade light on whats the problem is the > following scenario: > > If i press f5 on the browser, the web page is loaded and a n

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Nir A
Can you come up with an alternative ? Or can you think of a way to fool tomcat in thinking its in a regular cycle? On Dec 2, 2013 3:16 PM, "Johan Compagner" wrote: > The problem is i guess, that you access the http session outside of a > normal http request cycle > So tomcat doesn't notice anythi

Re: Websockets with tomcat clustering and session replication

2013-12-02 Thread Johan Compagner
The problem is i guess, that you access the http session outside of a normal http request cycle So tomcat 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:

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

Re: rolling deployments with tomcat clustering [ SOLVED]

2013-02-05 Thread Zippy Zeppoli
Thanks Pid! I will try this. On Tue, Feb 5, 2013 at 12:17 AM, Pid wrote: > On 05/02/2013 02:25, Zippy Zeppoli wrote: > > Hello, > > I have a tomcat 7 cluster which I want to do rolling deployments. > > I am using FarmDeployer. I am wondering, what is the default behavior of > > FarmDeployer, doe

Re: rolling deployments with tomcat clustering

2013-02-05 Thread Zippy Zeppoli
Yes, it will have to be dynamically detected somehow. A real chore. On Tue, Feb 5, 2013 at 2:48 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Pid, > > On 2/5/13 3:17 AM, Pid wrote: > > On 05/02/2013 02:25, Zippy Zeppoli wrot

Re: rolling deployments with tomcat clustering

2013-02-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pid, On 2/5/13 3:17 AM, Pid wrote: > On 05/02/2013 02:25, Zippy Zeppoli wrote: >> Hello, I have a tomcat 7 cluster which I want to do rolling >> deployments. I am using FarmDeployer. I am wondering, what is the >> default behavior of FarmDeployer, d

Re: rolling deployments with tomcat clustering

2013-02-05 Thread Pid
On 05/02/2013 02:25, Zippy Zeppoli wrote: > Hello, > I have a tomcat 7 cluster which I want to do rolling deployments. > I am using FarmDeployer. I am wondering, what is the default behavior of > FarmDeployer, does it undeploy and deploy the new app all at once? > > Is there any way to modify this

Re: Tomcat clustering session attribute is changed without request

2011-10-27 Thread Hodchenkov, Paul
Hi, thx for the response. Yes, it's ok for me that sessions are not expired(session continue to live on another node) and onsessiondestroyed is not called when one node is stopped. The actual reason why i asked this question was that many folks complained that tomcat always fired onsessiondestro

Re: Tomcat clustering session attribute is changed without request

2011-10-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 10/24/2011 7:28 AM, Hodchenkov, Paul wrote: > 2) AFAIK tomcat fires onSessionDestroyed event when some node in > cluster is stopped gracefully. However, in my environment I don't > observe such behavior. Is that really what you want? Takin

RE: Tomcat clustering session attribute is changed without request

2011-10-27 Thread Hodchenkov, Paul
t; From: Pid [mailto:p...@pidster.com] > Sent: Monday, October 24, 2011 4:08 PM > To: Tomcat Users List > Subject: Re: Tomcat clustering session attribute is changed without request > > On 24/10/2011 14:05, Hodchenkov, Paul wrote: > > Hi, > > Thanks for th

RE: Tomcat clustering session attribute is changed without request

2011-10-25 Thread Ronald Klop (Mailing List)
It means you don't have to jump through hoops to access something that is already accessible elsewhere. p > -Original Message- > From: Pid [mailto:p...@pidster.com] > Sent: Monday, October 24, 2011 3:59 PM > To: Tomcat Users List > Subject: Re: Tomcat clusteri

RE: Tomcat clustering session attribute is changed without request

2011-10-25 Thread Hodchenkov, Paul
fine. So, is there any way to force the replication of HttpSession? -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, October 24, 2011 4:08 PM To: Tomcat Users List Subject: Re: Tomcat clustering session attribute is changed without request On 24/10/2011 14:05, Hodch

Re: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Pid
s already accessible elsewhere. p > -Original Message- > From: Pid [mailto:p...@pidster.com] > Sent: Monday, October 24, 2011 3:59 PM > To: Tomcat Users List > Subject: Re: Tomcat clustering session attribute is changed without request > > On 24/10/2011 11:55, Ho

RE: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Hodchenkov, Paul
case? What is the benefit of using JMX connection to access the session instead of HttpListener in this case? -Original Message- From: Pid [mailto:p...@pidster.com] Sent: Monday, October 24, 2011 3:59 PM To: Tomcat Users List Subject: Re: Tomcat clustering session attribute is changed with

Re: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Pid
On 24/10/2011 11:55, Hodchenkov, Paul wrote: > Hi all, > I have configured tomcat 7 cluster by using [1] with DeltaManager and it > works fine. > However I have the following 2 questions: > > 1) My application stores session map in memory(admin can force logout of > any user and change some

RE: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Hodchenkov, Paul
4, 2011 2:20 PM To: Tomcat Users List Subject: Re: Tomcat clustering session attribute is changed without request Op maandag, 24 oktober 2011 12:55 schreef "Hodchenkov, Paul" : > > > > Hi all, > I have configured tomcat 7 cluster by using [1] with DeltaManager and

Re: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Ronald Klop (Mailing List)
Op maandag, 24 oktober 2011 12:55 schreef "Hodchenkov, Paul" : Hi all, I have configured tomcat 7 cluster by using [1] with DeltaManager and it works fine. However I have the following 2 questions: 1) My application stores session map in memory(admin can force logout of any

Tomcat clustering session attribute is changed without request

2011-10-24 Thread Hodchenkov, Paul
Hi all, I have configured tomcat 7 cluster by using [1] with DeltaManager and it works fine. However I have the following 2 questions: 1) My application stores session map in memory(admin can force logout of any user and change some session attribute). Will this session attribute be replic

Re: tomcat clustering

2011-04-28 Thread Seth
Mark Thomas apache.org> writes: > > I checked Deployer className="org.apache.catalina.ha.deploy.FarmWarDeployer > > on tomcat site > > > > http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-deployer.html > > > > This goober is currently pretty broken, but we are > > working hard to fix it

Re: Dear, need your help -- i am confiugrint tomcat clustering on two nodes

2011-02-21 Thread spideratd
Thanks a lot Mark I am starting it just now and will post configuration settings if it will be a success.. hoping to listen from u if u have any link other than reading tomcat manual. Regards Asif -- View this message in context: http://old.nabble.com/Problem-with-tomcat-session-r

Re: Dear, need your help -- i am confiugrint tomcat clustering on two nodes

2011-02-21 Thread Mark Thomas
On 21/02/2011 09:05, spideratd wrote: > > Dear, > i have configured tomcat 6.0.32 with mod_jk.so and apache on two linux > systems. multicasting works , tomcat working on both system. ie.running > examples... > but session replication not working on both systems by using session.jsp > file from ne

Dear, need your help -- i am confiugrint tomcat clustering on two nodes

2011-02-21 Thread spideratd
Dear, i have configured tomcat 6.0.32 with mod_jk.so and apache on two linux systems. multicasting works , tomcat working on both system. ie.running examples... but session replication not working on both systems by using session.jsp file from net. Dear , I need your help to achieve this. I want

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread Mario Kleinsasser
> > > > This isn't a good idea. You can run multiple HTTPD and Tomcat > instances on a Windows server. > > Installing linux virtual machines is just adding unnecessary overhead. > > To quote myself: > If you like, you could do it also with windows. Therefore I wrote that line Mario --

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread Pid *
rver. >> > > You mean, you have configured your single Tomcat to use SSL? Right? > > >> >> I need to configure tomcat clustering in same machine, because SSL >> certificate is installed in that machine. >> > > What exactly do you mean wi

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread Mario Kleinsasser
Warnier wrote: > rujin raj wrote: > >> Hi, >> >> >> I am having a windows 2008 ent server and tomcat 6.0.29 64 bit,JVM 1.6.0 >> 64 >> bit installed and SSL is configured in my server. >> >> I need to configure tomcat clustering in same ma

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread André Warnier
rujin raj wrote: Hi, I am having a windows 2008 ent server and tomcat 6.0.29 64 bit,JVM 1.6.0 64 bit installed and SSL is configured in my server. I need to configure tomcat clustering in same machine, because SSL certificate is installed in that machine. Give some idea to install tomcat

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread rujin raj
> > I am having a windows 2008 ent server and tomcat 6.0.29 64 bit,JVM 1.6.0 > 64 > > bit installed and SSL is configured in my server. > > > > You mean, you have configured your single Tomcat to use SSL? Right? > > > > > > I need to configure t

Re: Tomcat clustering in a server with SSL

2010-11-20 Thread Mario Kleinsasser
> I need to configure tomcat clustering in same machine, because SSL > certificate is installed in that machine. > What exactly do you mean with "SSL is installed in that machine". Machine = Tomcat or Machine = windows Server 2008? > > Give some idea to install tomcat clust

Tomcat clustering in a server with SSL

2010-11-20 Thread rujin raj
Hi, I am having a windows 2008 ent server and tomcat 6.0.29 64 bit,JVM 1.6.0 64 bit installed and SSL is configured in my server. I need to configure tomcat clustering in same machine, because SSL certificate is installed in that machine. Give some idea to install tomcat clustering in a

Tomcat clustering: LVS or AJP ?

2010-06-09 Thread Paolo Santarsiero
, etc. ..) on every server and balanced with LVS. Could I keep all the typical properties of the Tomcat clustering (sticky_session, failover exclusion node, session replication etc. ..) with LVS load balancing system? Thanks

Re: tomcat clustering

2010-05-31 Thread Mark Thomas
On 31/05/2010 06:37, John Smith wrote: > deployed my war file deployDir="/usr/local/tomcat/webapps" after restarting > the tomcat my war file is not exploded and in log i am getting > > SEVERE: FarmWarDeployer can only work as host cluster subelement! This means that your top-level el

tomcat clustering

2010-05-30 Thread John Smith
Hi , I am trying to cluster 3 nodes on one machine, follow the instructions http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html At Deployer className, i have changed deployed my war file deployDir="/usr/local/tomcat/webapps" after restarting the tomcat my wa

Tomcat Clustering problem: Help

2010-05-04 Thread Josef Pullicino
Dear users, I am trying to setup tomcat clustering/session replication between two tomcats of version 6.0.18. The following is the cluster snippet inserted into server.xml of both servers

Tomcat Clustering problem: Help

2010-05-03 Thread Josef Pullicino
Dear users, I am trying to setup tomcat clustering/session replication between two tomcats of version 6.0.18. The following is the cluster snippet inserted into server.xml of both servers

Re: Tomcat Clustering

2009-11-13 Thread Filip Hanik - Dev Lists
you running into this? https://issues.apache.org/bugzilla/show_bug.cgi?id=47308 On 11/13/2009 03:42 PM, Mate1 Subscription wrote: Hi, I have been trying to configure clustering between 2 instances of Tomcat on the same physical server. Unfortunately it is not working. Would someone be able to

  1   2   3   >