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

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
On 15/08/18 20:52, Mark Thomas wrote: > 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

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 clustering issue in our >

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

Re: Tomcat clustering for simplified config

2015-10-12 Thread Christoph Nenning
Christopher, > >> Hi list, > >> > >> I just signed up to the list - please forgive any newb mistakes > >> but hopefully I'm following the right format, style and content. > >> > >> I currently work in a production environment with eight app > >> servers, all running the same version of Tomcat

Re: Tomcat clustering for simplified config

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

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
On 07/10/2015 00:36, Mark Bramer wrote: > Hi list, > > I just signed up to the list - please forgive any newb mistakes but hopefully > I'm following the right format, style and content. > > I currently work in a production environment with eight app servers, all > running the same version of

Re: Tomcat clustering for simplified config

2015-10-07 Thread Christoph Nenning
> Hi list, > > I just signed up to the list - please forgive any newb mistakes but > hopefully I'm following the right format, style and content. > > I currently work in a production environment with eight app servers, > all running the same version of Tomcat (currently 7.0.62). Four >

Re: Tomcat clustering for simplified config

2015-10-07 Thread Igor Cicimov
On 07/10/2015 10:37 AM, "Mark Bramer" wrote: > > Hi list, > > I just signed up to the list - please forgive any newb mistakes but hopefully I'm following the right format, style and content. > > I currently work in a production environment with eight app servers, all running the

Re: Tomcat clustering for simplified config

2015-10-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Christoph, On 10/7/15 4:36 AM, Christoph Nenning wrote: >> Hi list, >> >> I just signed up to the list - please forgive any newb mistakes >> but hopefully I'm following the right format, style and content. >> >> I currently work in a production

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 on

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

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

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

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

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread rujin raj
Dear mario, You mean, you have configured your single Tomcat to use SSL? Right? Yes. What exactly do you mean with SSL is installed in that machine. Machine = Tomcat or Machine = windows Server 2008? windows 2008 machine Can i install multiple tomcat instance in same system and

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
As André wrote, there is a lot of documentation around. But for a starting point, some informations: 1. You can install multiple Tomcats in a single OS by defining the uses TCP/IP ports through the server.xml 2. To make this clear to the outside world (your users), use an Apache with mod_jk and

Re: Tomcat clustering in a server with SSL

2010-11-21 Thread Pid *
On 21 Nov 2010, at 07:44, Mario Kleinsasser mario.kleinsasser+tom...@gmail.com wrote: Hi, On Sun, Nov 21, 2010 at 7:02 AM, rujin raj rujin...@gmail.com 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.

Re: Tomcat clustering in a server with SSL

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

Re: Tomcat clustering in a server with SSL

2010-11-20 Thread Mario Kleinsasser
Hi, On Sun, Nov 21, 2010 at 7:02 AM, rujin raj rujin...@gmail.com 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. You mean, you have configured your single Tomcat to use SSL? Right? I need to

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

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

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

Re: Tomcat Clustering trouble when starting up under high load

2009-01-30 Thread Filip Hanik - Dev Lists
state transfer timeout -1 is not a good setting. one should prefer to timeout rather than getting stuck, even if the timeout means we didn't get everything you may also try the backup manager, which does the state transfer in a bit smarter manner. when your system is stuck, then thread

Re: Tomcat clustering

2008-11-07 Thread Anupam Beri
Hello All , I am a newbie to the Tomcat and Tomcat clustering environment .I was just going through some posts on this forum for reference . I wish to deploy the classic JPetStore application which comes with the Spring framework in the clustered environment involving 2

Re: Tomcat clustering

2008-10-29 Thread Dwayne
Andrew, Sharing state between web apps in Tomcat is possible with solutions like Terracotta or a customized messaging system. D. On Mon, Oct 27, 2008 at 2:49 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: but you are saying they are different applications, so what data could they

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
It means that the application that it is trying to request data from is not deployed on the server. for example, if you have applicate /test installed on server A, then it will have to be installed on server B as well, if it isn't, you'll get a message like the one below Filip Andrew Hole

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
I would like to cluster two different applications in same machine (each in different Tomcat instance). Is it possible? On Mon, Oct 27, 2008 at 5:39 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: It means that the application that it is trying to request data from is not deployed

RE: Tomcat clustering

2008-10-27 Thread Caldarale, Charles R
From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat clustering I would like to cluster two different applications in same machine (each in different Tomcat instance). That's not clustering - it's just two separate Tomcat installations. Clustering is defined as the *same

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
not sure I understand Is this your layout then? Machine1 TomcatA ApplicationA1 TomcatB ApplicationB1 since ApplicationA1 and ApplicationB1 are different, there is nothing to cluster, there is no state to share Filip Andrew Hole wrote: I would like to cluster two different

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
Yes. Machine1 TomcatA ApplicationA1 TomcatB ApplicationB1 But both applications have been developed by me and I want to share an object between applications. If the object have been created in application A, I would like to replicate information to application B. Thanks On Mon, Oct 27,

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
nothing like that is built in, you'd have to write that code for the object sharing yourself you could use the tomcat internals to achieve what you want, but you'd have to do a bit of legwork. Filip Andrew Hole wrote: Yes. Machine1 TomcatA ApplicationA1 TomcatB ApplicationB1 But both

Re: Tomcat clustering

2008-10-27 Thread Andrew Hole
Well, I would like in the future to have application A and B in different machines, and for that i need to use some way to share session data. Thanks On Mon, Oct 27, 2008 at 8:19 PM, Filip Hanik - Dev Lists [EMAIL PROTECTED] wrote: nothing like that is built in, you'd have to write that code

Re: Tomcat clustering

2008-10-27 Thread Filip Hanik - Dev Lists
but you are saying they are different applications, so what data could they possible share? ie, if you have appA.war and appB.war, and they are totally different apps, then they shouldn't be sharing session data only appA.war on one tomcat instance can share session data with appA.war on

Re: Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread Mark Thomas
Landry Stephane Zeng Eyindanga wrote: Hi all, I am trying to use a tomcat6 cluster. I've just set my configuration (with two tomcat nodes) just as indicated in the tomcat clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). Unfortunately, I see all MBeans that I

Re: Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread André Warnier
Hi Landry Stephane. Hijacking a thread usually means hitting the reply button on a forum message, leave the subject as it was, and then ask a totally unrelated question in the message. You should not do that, because it is confusing for people who try to help the original poster of the

Re: Tomcat clustering: Don't see Cluster MBean

2008-09-19 Thread Landry Stephane Zeng Eyindanga
Mark Thomas a écrit : Landry Stephane Zeng Eyindanga wrote: Hi all, I am trying to use a tomcat6 cluster. I've just set my configuration (with two tomcat nodes) just as indicated in the tomcat clustering guide (http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html). Unfortunately, I see

Re: Tomcat Clustering (Synchronous configuration)

2008-08-26 Thread Filip Hanik - Dev Lists
hi Nuno, that would be value 0 (or 2 if you want acks involved) take a look at the channelSendOptions description in http://tomcat.apache.org/tomcat-6.0-doc/config/cluster.html Filip Nuno Manuel Martins wrote: Hello, I was reading the Cluster HOWTO at

Re: TOMCAT CLUSTERING HOWTO

2008-05-09 Thread karthikn
Hi Sorry for the delay and Thx for reply ALL i was saying is i have 2 independent TOMCATS running on a windows2000 machine c:\TOMCAT1 startup 8080 shutdown = 8090 d:\TOMCAT2 startup 8081 shutdown = 8091 JDK is as below d:/java/jdk163 I have already done the changes to server.xml for

Re: TOMCAT CLUSTERING HOWTO

2008-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, karthikn wrote: | ALL i was saying is i have 2 independent TOMCATS running on a | windows2000 machine | | c:\TOMCAT1 startup 8080 shutdown = 8090 Tomcat does not have startup ports. Do you mean that you have a connector listening on port

Re: TOMCAT CLUSTERING HOWTO

2008-05-09 Thread Hassan Schroeder
| Do i need to set up Load balancer to test the clustering ONLY ? I'm not sure how you would even use your cluster, much less test it, without a load balancer. Absolutely. And the most confidence-inspiring (and pointy-haired-boss-impressing) test is to access your cluster through a load

Re: TOMCAT CLUSTERING HOWTO

2008-05-09 Thread karthikn
Hi Sorry for the delay and Thx for reply Tomcat does not have startup ports. Yes I have set the 2 Independent TOMCAT's at 8080 and 8081 !-- Define a non-SSL HTTP/1.1 Connector on port 8080 -- Before you worry about clustering, can you even get a single request handled by Tomcat? I

Re: TOMCAT CLUSTERING HOWTO

2008-05-09 Thread Hassan Schroeder
On Fri, May 9, 2008 at 8:03 AM, karthikn [EMAIL PROTECTED] wrote: Some body on the Form told me , Set up the cluster before applying load balancing and Test the cluster's setup as following deploy/undeploy your apps only to one server, and the cluster will distribute the

Re: TOMCAT CLUSTERING HOWTO

2008-05-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, karthikn wrote: | As per TOMCAT CLUSTERING HOWTO documents | I am trying clustering on 2 TOMCAT 5.5.23 on WINDOWS OS sharing the | same JVM 1.6 What are you using to split traffic between these two instances? It does not

Re: TOMCAT CLUSTERING HOWTO

2008-05-08 Thread karthikn
Hi Sorry for delay and Thx for the reply I'm certainly confused as to why you would run two Tomcats on the same JVM. First of all, how did you do that? Are you using Tomcat embedded or something? Yes I have 2 TOMCAT individual running on same Windows2000 Machine sharing the same JVM with

Re: TOMCAT CLUSTERING HOWTO

2008-05-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Karthik, karthikn wrote: | Yes I have 2 TOMCAT individual running on same Windows2000 | Machine sharing the same JVM with Startup / Shutdown Ports,but not | embedded. Can you explain how to start two Tomcat instances in a single JVM? | Would this

RE: TOMCAT CLUSTERING HOWTO

2008-05-08 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: TOMCAT CLUSTERING HOWTO Can you explain how to start two Tomcat instances in a single JVM? I suspect the OP means one JVM installation as opposed to one JVM instance. (He seems a bit, shall we say, terminology challenged

Re: TOMCAT CLUSTERING HOWTO

2008-05-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, Caldarale, Charles R wrote: | Clustering does not work without a load balancer. Period. | | Not strictly true. Clustered Tomcats don't care if the requests are | coming through a load balancer or someone manually changing port or | IP

Re: TOMCAT CLUSTERING HOWTO

2008-05-07 Thread Landon Fabbricino
Helly Karthikn, I am confused as to where you are having problems? I am not sure what you mean by How to test TOMCAT CLUSTERING with out Load balancer? What exactly are you trying to do with your two tomcat machines? Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604

Re: TOMCAT CLUSTERING HOWTO

2008-05-07 Thread karthikn
Hi As per TOMCAT CLUSTERING HOWTO documents I am trying clustering on 2 TOMCAT 5.5.23 on WINDOWS OS sharing the same JVM 1.6 with the parameters as below TC1 TC2 Startup 80818082 ShutDown 80078008 APJ

Re: TOMCAT CLUSTERING HOWTO

2008-05-06 Thread karthikn
Hi How to test TOMCAT CLUSTERING with out Load balancer As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. but not able to SAMPLE TEST the clustering Am i on doing some thing wrong in here.? Please Some body

Re: TOMCAT CLUSTERING HOWTO

2008-05-05 Thread karthikn
Hi How to test TOMCAT CLUSTERING with out Load balancer As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. but not able to test the clustering Am i on doing some thing wrong in here.? with regards Karthik

Re: TOMCAT CLUSTERING HOWTO

2008-05-02 Thread karthikn
Hi Apache contains the logic to handle the load balancing between the two tomcats: As per the Documents tomcat-docs/cluster-howto.html* *I have only tried to achieve Clustering of 2 TOMCAT's on a single MACHINE, JVM My Primary Objective was to check if the war deployed / undeployed on

Re: TOMCAT CLUSTERING HOWTO

2008-05-01 Thread Landon Fabbricino
I honestly have not tried clustering tomcat without Apache before. Just recently I set up a server farm with apache on one server and tomcat on two other servers (so 3 physical machines) Apache contains the logic to handle the load balancing between the two tomcats: jk.conf JkWorkersFile

Re: TOMCAT CLUSTERING HOWTO

2008-04-30 Thread karthikn
Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !--

Re: TOMCAT CLUSTERING HOWTO

2008-04-30 Thread karthikn
Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with regards Karthik Landon Fabbricino wrote: If I am not mistaken, you will need to add the following tag to

Re: TOMCAT CLUSTERING HOWTO

2008-04-30 Thread Landon Fabbricino
Could you provide your apache's worker.properties file? karthikn [EMAIL PROTECTED] 4/30/2008 8:05:02 AM Hi Any more suggestions ? with regards Karthik karthikn wrote: Hi distributable/ I have already added the same in my application's web.xml, but still no improvement. with

Re: TOMCAT CLUSTERING HOWTO

2008-04-30 Thread karthikn
Hi As Per the Tomcat 5.5.23 Cluster HowTo Documents I have only tried to Cluster 2 TOMCATS on SAME Machine , Sharing same JVM. Could you provide your apache's worker.properties file? I have so far not used any APACHE Http Server for Load Balancing with regards Karthik Landon

Re: TOMCAT CLUSTERING HOWTO

2008-04-29 Thread Landon Fabbricino
If I am not mistaken, you will need to add the following tag to your web.xml CATALINA_HOME/webapps/your_app_name/WEB-INF/web.xml !-- Required for session-replication in clustering mode -- distributable/ Landon Fabbricino IT Applications Phone: 403.225.7515 Fax: 403.225.7604 [EMAIL

Re: TOMCAT CLUSTERING HOWTO

2008-04-28 Thread karthikn
Hi Somebody Please Help me with this form with regards Karthik karthikn wrote: Hi I have few Questions which i was not able to get TOMCAT CLUSTERING HOWTO and form. a) Clustering 1) Do we need to deploy the war files on each individual Tomcat when joined the clustering.

Re: TOMCAT CLUSTERING HOWTO

2008-04-28 Thread Mark Thomas
karthikn wrote: Hi Somebody Please Help me with this form http://wiki.apache.org/tomcat/FAQ/Tomcat_User#Q2 Mark - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: TOMCAT CLUSTERING HOWTO

2008-04-28 Thread karthikn
Hi The Following was done for the Clustering (2 tomcats ) Values TOMCAT5523_ITOMCAT5523_II Startup 80818082 ShutDown80078008 APJ 80098010 TCP Listener40014002 tcpListenAddressautoauto jvmRoute

RE: TOMCAT CLUSTERING ONJAVA

2008-04-21 Thread Caldarale, Charles R
From: karthikn [mailto:[EMAIL PROTECTED] Subject: TOMCAT CLUSTERING ONJAVA Reffered to URL http://www.onjava.com/pub/a/onjava/2004/04/14/clustering.html?page=1; The Load balancing using Cluster Techique for 3+ TC's, Rather than looking at doc that's over four years old (and was sadly

  1   2   >