clustering logging erors Tomcat10 with Java 17

2024-04-18 Thread Rick Noel
Hello, Can someone try to explain what this Catalina.log snippet is saying in regards to clustering status? It looks like to me, this machine successfully sent a session data state msg to the other machine in the cluster, but 60 sec later the other machine did not respond with with its

Tomcat 10 clustering is not replicating session data

2024-04-16 Thread Rick Noel
Hello, I am running Tomcat 10.1.20 with Java 17 But our session data is being lost. Here is snippet of the clustering I have defined

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

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

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
ons. > > Mark, > > I've been considering opening an official enhancement request to the > clustering implementation in Tomcat that would state the following... > > Currently, when an application within a clustered environment is > unavailable or stopped, Tomcat returns an HTTP 404

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
opening an official enhancement request to the clustering implementation in Tomcat that would state the following... Currently, when an application within a clustered environment is unavailable or stopped, Tomcat returns an HTTP 404 (Not Found) status code. While this behavior is generally acceptable

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

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
s generally better to start on the users list. > >> > >>> 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? > >>

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
any requests to that application should be >> held until the application is unpaused (or the client timeouts out). >> >> The current Tomcat Mapper dates back to at least Tomcat 4. It might be >> earlier but I don't know the Tomcat 3 code well enough to find the >> Tom

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Mark Thomas
es back to at least Tomcat 4. It might be earlier but I don't know the Tomcat 3 code well enough to find the Tomcat 3 mapping code in the web interface and I'm not curious enough to check the code out so I can use grep. The clustering implementation dates back to Tomcat 5. You'll need to dig th

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
Mapper dates back to at least Tomcat 4. It might be > earlier but I don't know the Tomcat 3 code well enough to find the > Tomcat 3 mapping code in the web interface and I'm not curious enough to > check the code out so I can use grep. > > The clustering implementation dates back to To

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-14 Thread Dan McLaughlin
is on rare occasions, we will need to stop just one application deployed on a Tomcat node to troubleshoot something where clustering is making it more difficult to debug. We don't want to take down all the apps or the entire Tomcat node because we need it to handle the load. We don't hot deploy often

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-14 Thread Mark Thomas
timeouts out). The current Tomcat Mapper dates back to at least Tomcat 4. It might be earlier but I don't know the Tomcat 3 code well enough to find the Tomcat 3 mapping code in the web interface and I'm not curious enough to check the code out so I can use grep. The clustering implementation

Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-14 Thread Dan McLaughlin
is to failover for 404s considering the current implementation. I've looked to see if there was a configuration setting related to clustering that would allow me to change the behavior, and I couldn't find one; the only solution seems to be to write a custom listener that detects that an application

Re: Clustering issue

2023-04-15 Thread Kevin Huntly
]] > >>> does not implement ClusterManager, addition to cluster has been > aborted. > >> > >> You have an Context (web application deployed at /esolutions) with an > >> explicit Manager configured. If you do that, it needs to implement > >> ClusterManager els

Re: Clustering issue

2023-04-15 Thread Mark Thomas
(web application deployed at /esolutions) with an explicit Manager configured. If you do that, it needs to implement ClusterManager else the Context can't be clustered. Contexts that don't have an explicit manager configured get a cluster defined default if clustering is enabled

Re: Clustering issue

2023-04-14 Thread Kevin Huntly
n Context (web application deployed at /esolutions) with an > explicit Manager configured. If you do that, it needs to implement > ClusterManager else the Context can't be clustered. > > Contexts that don't have an explicit manager configured get a cluster > defined default if clusterin

Re: Clustering issue

2023-04-14 Thread Mark Thomas
that, it needs to implement ClusterManager else the Context can't be clustered. Contexts that don't have an explicit manager configured get a cluster defined default if clustering is enabled and the StandardManager if clustering is not enabled. And 12-Apr-2023 19:17:52.652 SEVERE [main

Re: Clustering issue

2023-04-14 Thread Kevin Huntly
within the engine but outside the host On Fri, Apr 14, 2023, 10:23 Mark Thomas wrote: > On 13/04/2023 23:28, Kevin Huntly wrote: > > Hi Chris, > > > > The configuration in the link I shared is what I used - copy/paste - I > want > > to see it working before I break it =) > > And where in

Re: Clustering issue

2023-04-14 Thread Mark Thomas
On 13/04/2023 23:28, Kevin Huntly wrote: Hi Chris, The configuration in the link I shared is what I used - copy/paste - I want to see it working before I break it =) And where in server.xml did you add that configuration? Mark Kevin Huntly

Re: Clustering issue

2023-04-13 Thread Kevin Huntly
Hi Chris, The configuration in the link I shared is what I used - copy/paste - I want to see it working before I break it =) Kevin Huntly Email: kmhun...@gmail.com Cell: 716/424-3311 -BEGIN

Re: Clustering issue

2023-04-13 Thread Christopher Schultz
Kevin, On 4/12/23 19:20, Kevin Huntly wrote: I setup a quick and dirty cluster following https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html I am seeing the following: 12-Apr-2023 19:18:00.369 WARNING [main] org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager

Clustering issue

2023-04-12 Thread Kevin Huntly
Hello Everyone, I setup a quick and dirty cluster following https://tomcat.apache.org/tomcat-9.0-doc/cluster-howto.html I am seeing the following: 12-Apr-2023 19:18:00.369 WARNING [main] org.apache.catalina.ha.tcp.SimpleTcpCluster.registerManager Manager

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-10-01 Thread Chew Kok Hoor
t its support >> cannot expand to include other deployments. >> >> If the DNSMembershipService is more appropriate for k8s-on-Azure, that's >> fine, but if there is a community need (and especially if you are >> willing to do the research and contribute code) we'd be happy

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-18 Thread Chew Kok Hoor
need (and especially if you are > willing to do the research and contribute code) we'd be happy to > accomodate you. > > -chris > > On 8/14/22 03:52, Chew Kok Hoor wrote: > > Hi, > > > > I am trying to setup Tomcat clustering running in AKS, however

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-17 Thread Christopher Schultz
: Hi, I am trying to setup Tomcat clustering running in AKS, however the standard settings don't seem to work. As per the documentation I have setup following Cluster configuration in server.xml inside my tag: But I received

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-16 Thread Thomas Meyer
https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/catalina/tribes/membership/cloud/DNSMembershipProvider.html >> For this Membership Provider you only need to add headless Service >> manifest, I.e. ClusterIP: none. >> >> Mfg >> Thomas >> >> Am 14. August 2

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-14 Thread Chew Kok Hoor
eadless Service > manifest, I.e. ClusterIP: none. > > Mfg > Thomas > > Am 14. August 2022 09:52:52 MESZ schrieb Chew Kok Hoor >: >> >> Hi, >> >> I am trying to setup Tomcat clustering running in AKS, however the >> standard settings don't seem to

Re: Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-14 Thread Thomas Meyer
only need to add headless Service manifest, I.e. ClusterIP: none. Mfg Thomas Am 14. August 2022 09:52:52 MESZ schrieb Chew Kok Hoor : >Hi, > >I am trying to setup Tomcat clustering running in AKS, however the >standard settings don't seem to work. > >As per the document

Tomcat 9.0.65 Clustering in Azure Kubernetes Service (AKS)

2022-08-14 Thread Chew Kok Hoor
Hi, I am trying to setup Tomcat clustering running in AKS, however the standard settings don't seem to work. As per the documentation I have setup following Cluster configuration in server.xml inside my tag: But I received a 'Failed

JSF clustering

2021-08-25 Thread Felipe Jaekel
Hi, I always used Tomcat's parallel deployment to achieve zero downtime on my JSF applications. I'm planning on dockerizing them, but I'd like to keep zero downtime. I'm familiar with AWS ECS. With the default configuration, when the service is updated a new instance will be launched in

Re: Clustering/Session Replication in docker swarm

2020-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Praveen, On 5/20/20 12:27, Praveen Kumar K S wrote: > 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

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

Re: Tomcat session clustering : one node is NOT replicating sessions

2020-01-16 Thread Bertrand BARRET
hello Mark thanks for the tip. Now it works, surprisingly. I configured IP address instead of hostname (using static member)... and now it is OK. Thanks Le jeu. 16 janv. 2020 à 12:00, Mark Thomas a écrit : > > On 16/01/2020 08:11, Bertrand BARRET wrote: > > Hello, > > > > I am setting up a

Re: Tomcat session clustering : one node is NOT replicating sessions

2020-01-16 Thread Mark Thomas
On 16/01/2020 08:11, Bertrand BARRET wrote: > Hello, > > I am setting up a tomcat cluster (only two nodes on separate servers) > for load-balancing and sessions replication purpose. > > The session replication is working fine from node1 to node2 (i can see > the primary session on node1 and the

Tomcat session clustering : one node is NOT replicating sessions

2020-01-16 Thread Bertrand BARRET
Hello, I am setting up a tomcat cluster (only two nodes on separate servers) for load-balancing and sessions replication purpose. The session replication is working fine from node1 to node2 (i can see the primary session on node1 and the backup session on node2). But when the load balancer

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

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

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:

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

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

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

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, 2018 3:35 PM To: users

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 Evans

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, Scott Evans wr

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" > notifyLis

RE: [OT] Tomcat Clustering Support

2018-08-28 Thread Scott Evans
To: 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 marking

Re: [OT] Tomcat Clustering Support

2018-08-15 Thread Christopher Schultz
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. > >

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: TC 8.5.27 clustering doesn't work as described(?) and expected

2018-05-11 Thread Mark Thomas
On 11/05/18 12:28, Mark Thomas wrote: > I do see some slightly odd behaviour in that the attributes are not > replicated for the first session created after starting up the cluster. > I'm currently looking in to what might be going wrong there. The session created event was being processed in

Re: TC 8.5.27 clustering doesn't work as described(?) and expected

2018-05-11 Thread Mark Thomas
seems as if all active sessions of the Tomcat are expired during the > shutdown process - in the whole cluster. This contradicts in my opinion > the parameter expireSessionsOnShutdown="false" and its explanation. I > can also set the parameter to true, no change. I don't see

Re: Question on Tomcat clustering

2018-05-04 Thread Martin Knoblauch
; > > > > 2018-05-03 16:17 GMT+02:00 Martin Knoblauch <kn...@knobisoft.de>: > > > 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 > &g

Re: Question on Tomcat clustering

2018-05-03 Thread Luis Rodríguez Fernández
2018-05-03 16:17 GMT+02:00 Martin Knoblauch <kn...@knobisoft.de>: > 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 o

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

TC 8.5.27 clustering doesn't work as described(?) and expected

2018-05-01 Thread Stefan Hall
Hi, I've probably read everything in the last few days and tried even more, but it won't work. I need your experience. First, my expectations of the Tomcat Cluster 1. session failover when a Tomcat dies (simulated via kill -9) 2. session failover when I close a Tomcat (via shutdown.sh or

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: Clustering considerations - single server, multiple Tomcat instances - in the cloud

2017-04-18 Thread Mark Thomas
ites/search.do?language=en_US=displayKC=2009794 > > > Are there other security considerations that I'm not thinking of? Not really. By far the most important consideration is the underlying assumption that Tomcat makes that the netw

Clustering considerations - single server, multiple Tomcat instances - in the cloud

2017-04-17 Thread Mitch Claborn
I'm trying to think through the security implications of this configuration: a single cloud server (Digital Ocean) with 2 Tomcat 8.5 instances in a cluster, for session replication. I can bind the Receiver element to 127.0.0.1, which I think should protect the actual session data from prying

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

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

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

tomcat session timeout with clustering

2016-07-21 Thread Alan Jechort
We just enabled clustering for our 3 tomcat servers, and now the sessions aren’t expiring. The TTL is negative and the inactive time is very high. We have this set as the default of 30 minutes. We are using Tomcat 7.0.51. Any ideas? Thanks Alan

Clustering and Context Container setup

2016-06-03 Thread Daniel Savard
Hi everyone, I am reviewing a clustering implementation I have done and after reading the documentation for Tomcat 8, which is the version I am using (8.0.35 + Oracle JDK1.8.0_92) I ran into the distributable attribute. I saw in my configuration the distributable="true" attrib

Re: Does Tomcat support clustering for automatic fail over?

2015-11-10 Thread S.Booth
On 05/11/15 22:10, Christopher Schultz wrote: > I would argue that any production deployment ought to utilize a load > balancer and at least two servers, even if only to allow you to take one > of them offline for upgrades. Maybe you don't require 24x7 uptime, but > most production deployments

Re: Does Tomcat support clustering for automatic fail over?

2015-11-05 Thread javier_espana
information. Thank you.*** From: Stephen Booth <s.bo...@ed.ac.uk> To: users@tomcat.apache.org, Date: 11/05/2015 07:50 AM Subject:Re: Does Tomcat support clustering for automatic fail over? On 04/11/2015 00:56, javier_esp...@hna.honda.com wrote: > I would like to setup

Re: Does Tomcat support clustering for automatic fail over?

2015-11-05 Thread Christopher Schultz
Stephen, On 11/5/15 10:49 AM, Stephen Booth wrote: > On 04/11/2015 00:56, javier_esp...@hna.honda.com wrote: >> I would like to setup a couple of servers for automatic fail-over. In case >> one fails the other can take over. Does Tomcat support that kind of setup? >> If so, can you direct me to

Re: Does Tomcat support clustering for automatic fail over?

2015-11-05 Thread Stephen Booth
On 04/11/2015 00:56, javier_esp...@hna.honda.com wrote: > I would like to setup a couple of servers for automatic fail-over. In case > one fails the other can take over. Does Tomcat support that kind of setup? > If so, can you direct me to where I can find some documentation about it? As

Does Tomcat support clustering for automatic fail over?

2015-11-03 Thread javier_espana
Good day all: I would like to setup a couple of servers for automatic fail-over. In case one fails the other can take over. Does Tomcat support that kind of setup? If so, can you direct me to where I can find some documentation about it? Thank you Javier España Sr. Technical Analyst Honda

Re: Does Tomcat support clustering for automatic fail over?

2015-11-03 Thread Mike Guo
Hi, Javier. I guess you need a load balance for this. Tomcat can be setup as cluster. You can find it in official document. But you have to take care of the session for you application. Mike From my iPhone > 在 2015年11月4日,08:56,javier_esp...@hna.honda.com 写道: > > > Good day all: > I

Re: Does Tomcat support clustering for automatic fail over?

2015-11-03 Thread Mike Guo
And I think the important thing is the load balance setup, you can check the Apache proxy module and ajp module , all of them can be found in official document Mike Sent from my iPhone > 在 2015年11月4日,11:59,Mike Guo 写道: > > Hi, Javier. > > I guess you need a load

Re: Tomcat clustering for simplified config

2015-10-12 Thread Christoph Nenning
pe > >> 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 2 (05) box into t

Re: Tomcat clustering for simplified config

2015-10-12 Thread Chris Gamache
;>>> 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
> 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 >

Re: Tomcat clustering for simplified config

2015-10-07 Thread Mark Thomas
nning 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 clustering but everything I see just tal

Re: Tomcat clustering for simplified config

2015-10-07 Thread Christoph Nenning
ences > 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 > talks about load balancing and failove

Re: Tomcat clustering for simplified config

2015-10-07 Thread Igor Cicimov
as 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 to set up Tomcat

Re: Tomcat clustering for simplified config

2015-10-07 Thread Christopher Schultz
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 but this being the third

Tomcat clustering for simplified config

2015-10-06 Thread Mark Bramer
). 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 clustering but everything I see ju

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 Kumar wrote: I have two Tomcat

Re: Session Clustering Monitoring

2015-01-14 Thread Peter Rifel
in the log files. If this is the case, I may try and come up with a better method for monitoring the clustering state, unless anyone has any suggestions on how to fix this supposed hiccup. It seems reasonable to expect that the session count would be consistent across the cluster, at least over time

Re: Session Clustering Monitoring

2015-01-13 Thread Peter Rifel
wrote: Chris, On 1/12/15, 11:08 AM, Christopher Schultz ch...@christopherschultz.net wrote: Peter, On 1/12/15 12:51 PM, Peter Rifel wrote: I'm running Tomcat 8.0.15 with Java 1.8.0_25 on Ubuntu 14.04. We have 5 instances that are all setup with session clustering as follows: Cluster

Re: Session Clustering Monitoring

2015-01-13 Thread Christopher Schultz
clustering as follows: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster Manager className=org.apache.catalina.ha.session.DeltaManager stateTransferTimeout=5 / Channel className=org.apache.catalina.tribes.group.GroupChannel Membership className

Re: Session Clustering Monitoring

2015-01-13 Thread Christopher Schultz
...@christopherschultz.net wrote: Peter, On 1/12/15 12:51 PM, Peter Rifel wrote: I'm running Tomcat 8.0.15 with Java 1.8.0_25 on Ubuntu 14.04. We have 5 instances that are all setup with session clustering as follows: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster Manager className

Re: Session Clustering Monitoring

2015-01-12 Thread Christopher Schultz
14.04. We have 5 instances that are all setup with session clustering as follows: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster Manager className=org.apache.catalina.ha.session.DeltaManager stateTransferTimeout=5 / Channel className

Re: Session Clustering Monitoring

2015-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Peter, On 1/12/15 12:51 PM, Peter Rifel wrote: I'm running Tomcat 8.0.15 with Java 1.8.0_25 on Ubuntu 14.04. We have 5 instances that are all setup with session clustering as follows: Cluster className

Re: Session Clustering Monitoring

2015-01-12 Thread Peter Rifel
with session clustering as follows: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster Manager className=org.apache.catalina.ha.session.DeltaManager stateTransferTimeout=5 / Channel className=org.apache.catalina.tribes.group.GroupChannel Membership className

Re: Session Clustering Monitoring

2015-01-12 Thread Peter Rifel
12:51 PM, Peter Rifel wrote: I'm running Tomcat 8.0.15 with Java 1.8.0_25 on Ubuntu 14.04. We have 5 instances that are all setup with session clustering as follows: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster Manager className=org.apache.catalina.ha.session.DeltaManager

Session Clustering Monitoring

2015-01-12 Thread Peter Rifel
Hello, I'm running Tomcat 8.0.15 with Java 1.8.0_25 on Ubuntu 14.04. We have 5 instances that are all setup with session clustering as follows: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster Manager className=org.apache.catalina.ha.session.DeltaManager stateTransferTimeout=5

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.xml file

Re: Tomcat Clustering

2014-12-27 Thread Christopher Schultz
of Tomcat 7.0? I tried to turn of one Tomcat manually to check if the clustering is implemented or not. But the failover doesn't work. Are you expecting that your sessions will be available to any node, or are you using sticky sessions? The term cluster usually indicates that you want

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

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-04 Thread João Sávio
Hello Filip You solved my issue! Thank you very much! Thanks everyone João

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread João Sávio
on this group! I'm trying to set up a Tomcat clustering using BIO receiver but I've been receiving the following error when I started two nodes and tried to enter on my application: Jun 30, 2014 9:25:12 PM org.apache.catalina.tribes.transport.bio.BioReplicationT ask run SEVERE: Unable

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread João Sávio
- Hash: SHA1 On 7/2/2014 6:37 AM, João Sávio wrote: ? 2014-06-30 18:38 GMT-03:00 João Sávio joaosa...@gmail.com: Hello people This is my first message on this group! I'm trying to set up a Tomcat clustering using BIO receiver but I've been receiving the following error when I

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread Konstantin Kolinko
2014-07-03 18:46 GMT+04:00 João Sávio joaosa...@gmail.com: Unfortunately it's not working yet I increased the log level as you suggested. Log attached Thanks Please read numbers 6. and 7. here: http://tomcat.apache.org/lists.html#tomcat-users The attachment was thrown away by the mail

  1   2   3   4   5   6   7   8   >