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
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
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
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
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
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
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
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
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
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
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,
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
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
-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
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
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:
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
> 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
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
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
>
>
>--
-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
-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
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
-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
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
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.
>
>
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
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
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
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
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
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?
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 ?
>
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é,
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
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
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
;>>> 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
>>>&
> 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
>
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
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
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
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
). 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
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
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
-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
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
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
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
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
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
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
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
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:
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
Hi,
We started working on our next generation platform project.
One of our requirement is to have session replication via tomcat clustering.
We have managed to set up a cluster with replication when the tomcats
(7.0.47) were both on the SAME machine as a POC.
Now as we are setting up
The 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
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
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
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
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:
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
-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
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:
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
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
-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
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
.
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
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
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
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
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
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
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
-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
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,
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
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.
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:
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
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
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
.
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
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
--
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
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
. ..) 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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 206 matches
Mail list logo