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 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
gt; only options. > > 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, Tomca

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
een 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 (Not Found) status code. While this behavior is gener

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

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
rt here first. > >> > >> That depends. It is 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 &

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
pplication is paused then 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 e

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Mark Thomas
he 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 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 impl

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-20 Thread Dan McLaughlin
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 implement

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-14 Thread Dan McLaughlin
se 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 h

Re: Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-14 Thread Mark Thomas
lient 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

Tomcat Clustering, Mod_JK, Fail_on_Status, Stopped Application

2023-06-14 Thread Dan McLaughlin
I understand that my only option 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

Re: Clustering issue

2023-04-15 Thread Kevin Huntly
ions]]] > >>> 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 > >> ClusterManage

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 enabl

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

Re: Clustering issue

2023-04-14 Thread Mark Thomas
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 SE

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

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 E

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 GEEK

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 [Persisten

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 [PersistentManager[StandardEngine[Catalin

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

2022-10-01 Thread Chew Kok Hoor
at, so it's not a surprise) but it doesn't mean that 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 >

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

2022-08-17 Thread Chew Kok Hoor
r 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 to > accomodate you. > > -chris > > On 8/14/22 03:52, Chew Kok Hoor wrote: > > Hi, > > > >

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

2022-08-17 Thread Christopher Schultz
Chew Kok Hoor wrote: 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:

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

2022-08-15 Thread Thomas Meyer
to have a >> look at this instead: >> 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. >>

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

2022-08-14 Thread Chew Kok Hoor
gt; For this Membership Provider you 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,

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 doc

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 &#

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

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 se

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 a

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 tomc

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 b

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 choos

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

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

2018-05-11 Thread Mark Thomas
gt; It 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&

Re: Question on Tomcat clustering

2018-05-04 Thread Martin Knoblauch
03 16:17 GMT+02:00 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 operati

Re: Question on Tomcat clustering

2018-05-03 Thread Luis Rodríguez Fernández
2018-05-03 16:17 GMT+02:00 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 >

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 si

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
lfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=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 Tom

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 e

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

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" attribute is

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

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 javier_espana
information. Thank you.*** From: Stephen Booth 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 a couple of servers

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 other

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 balance for this. > > T

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 would

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 Nort

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: Session Clustering Monitoring

2015-01-14 Thread Peter Rifel
ation by one tomcat instance, the sessions >>> that it created or extended would not have gotten replicated and >>> then never made their way to the other instances until they >>> expire on their own. > >If this happened, you should be able to see some indication in t

Re: Session Clustering Monitoring

2015-01-13 Thread Christopher Schultz
>>>>> 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

Re: Session Clustering Monitoring

2015-01-13 Thread Peter Rifel
t;> Rifel wrote: >>>>> Chris, >>>>> >>>>> On 1/12/15, 11:08 AM, "Christopher Schultz" >>>>> wrote: >>>>> >>>>> Peter, >>>>> >>>>> On 1/12/15 12:51

Re: Session Clustering Monitoring

2015-01-13 Thread Christopher Schultz
M, "Christopher Schultz" >>>> 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 >>>>>>&

Re: Session Clustering Monitoring

2015-01-12 Thread Peter Rifel
e: >> >> 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: >

Re: Session Clustering Monitoring

2015-01-12 Thread Christopher Schultz
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: >>>> >>>> >>> className="org.apache.catalina.ha.tcp.SimpleTcpCluster&qu

Re: Session Clustering Monitoring

2015-01-12 Thread Peter Rifel
Chris, On 1/12/15, 11:08 AM, "Christopher Schultz" wrote: >-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

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

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: -Dmulticast=228.0.0.4 To help prevent accidental misconfigurations that have occurred in the past, I decided to implement monitoring o

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
t version 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" u

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

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

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 Filip Hanik
Joao, try channelSendOptions="6" this will mean that 1. You wish to use ACK's (option 2) 2. You wish the ACK to be synchronous If you don't have the 0x0002 option enabled, it wont use ACKs at all. Filip On Thu, Jul 3, 2014 at 4:44 PM, João Sávio wrote: > If I set channelSendOptions="8" (def

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread João Sávio
If I set channelSendOptions="8" (default value = asynchronous), the % of errors increase (as expected) Regards João 2014-07-03 19:43 GMT-03:00 João Sávio : > I don't think so. > > Here it is: http://pastebin.com/qYCzmECb (server.xml - node1) > > Regards > João > -- http://joaosavio.wordpre

Re: Help with Tomcat 7 clustering using BIO receiver

2014-07-03 Thread João Sávio
I don't think so. Here it is: http://pastebin.com/qYCzmECb (server.xml - node1) Regards João

  1   2   3   4   5   6   7   8   9   >