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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 idle

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

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

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 confirm

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

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

2013-12-17 Thread Keiichi Fujino
2013/12/17 Nir A n...@netomedia.com 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

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:

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

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

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

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 jcompag...@servoy.com wrote: The problem is i guess, that you access the http session outside of a normal http request cycle So tomcat

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 n...@netomedia.com 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

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

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:

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: 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, does it

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

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 p...@pidster.com 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

RE: Tomcat clustering session attribute is changed without request

2011-10-27 Thread Hodchenkov, Paul
: RE: Tomcat clustering session attribute is changed without request Hi, Replication of the attributes is done by the cluster valve. http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-valve.html If you manage to call that code from your own application, than you can do what you want

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

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

RE: Tomcat clustering session attribute is changed without request

2011-10-25 Thread Hodchenkov, Paul
. 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, Hodchenkov

RE: Tomcat clustering session attribute is changed without request

2011-10-25 Thread Ronald Klop (Mailing List)
List Subject: Re: Tomcat clustering session attribute is changed without request On 24/10/2011 14:05, Hodchenkov, Paul wrote: Hi, Thanks for the reply! - What does 'stores session map in memory' actually mean? It's ConcurrentMapString, HttpSession map which is filled by HttpListener. I

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

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 paul.hodchen...@oxagile.com: 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

RE: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Hodchenkov, Paul
List Subject: Re: Tomcat clustering session attribute is changed without request Op maandag, 24 oktober 2011 12:55 schreef Hodchenkov, Paul paul.hodchen...@oxagile.com: Hi all, I have configured tomcat 7 cluster by using [1] with DeltaManager and it works fine. However I have

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
in this 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

Re: Tomcat clustering session attribute is changed without request

2011-10-24 Thread Pid
-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, Hodchenkov, Paul wrote: Hi all, I have configured tomcat 7 cluster

Re: tomcat clustering

2011-04-28 Thread Seth
Mark Thomas markt at 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 It

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

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:

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread rujin raj
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 tomcat clustering in same machine, because SSL certificate is installed

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 Mario Kleinsasser
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 server. Tip #1 : http://www.catb.org/~esr/faqs/smart-questions.html Tip #2 : http://tomcat.apache.org/tomcat-6.0

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread Pid *
. 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 with SSL is installed in that machine. Machine = Tomcat or Machine = windows Server

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

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

Re: Tomcat clustering in a server with SSL

2010-11-20 Thread Mario Kleinsasser
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 clustering in a server. Without more

Tomcat clustering: LVS or AJP ?

2010-06-09 Thread Paolo Santarsiero
. ..) 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 Cluster

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 Deployer className=org.apache.catalina.ha.deploy.FarmWarDeployer

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: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions=8

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: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster channelSendOptions=8

Tomcat Clustering

2009-11-13 Thread Mate1 Subscription
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 help me to figure out what is the problem (assuming it is possible to cluster 2 instances of tomcat on the same server)? Here is

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

Tomcat clustering issue

2009-08-07 Thread Sergey Udaltsov
I have 2 clustered tomcat 5.5 instances running on Windows Server 2003 behind Apache load balancer (using AJP protocol) For some urls (I cannot get the pattern), I am getting the error on frontend. In Apache logs, I see the following: [Thu Aug 06 17:34:19 2009] [error] (OS 10061)No connection

Re: Tomcat Clustering trouble when starting up under high load

2009-03-11 Thread Mikel Ibiricu
Hi Rainer, thanks for your response. I tried the config you suggested. It suppose the way of configuring those parameters is as you said, but skipping manager. from the begining, as when I tried as you said, I got this in the catalina. log: 10-mar-2009 15:58:19

Re: Tomcat Clustering trouble when starting up under high load

2009-03-11 Thread Filip Hanik - Dev Lists
hi Mikel, when setting a property on the Manager you omit the manager. prefix, just as you stated. To do thread dumps with JDK 1.5 under windows, you can use the tanuki service wrapper http://people.apache.org/~fhanik/wrapper.html The tomcat team might have added that feature to the Tomcat

Re: Tomcat Clustering trouble when starting up under high load

2009-03-09 Thread Mikel Ibiricu
Hi Filip Thanks for your response. We have been testing some modifications on our config, specially focusing in what you told us about limiting stateTransferTimeout, which we have limited to 180 seconds now. Actually, it does not get stuck, in the worst case, it only starts without replicating

Re: Tomcat Clustering trouble when starting up under high load

2009-03-09 Thread Rainer Jung
On 09.03.2009 09:24, Mikel Ibiricu wrote: So, It works OK but when starting up one of the nodes with over 500 sessions alive in the other, it doesn't replicate anything. We assume that it would not be able to replicate everything... but why it does either replicate everything or nothing? If it's

  1   2   3   >