-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Praveen,
On 5/20/20 12:27, Praveen Kumar K S wrote:
> Hello,
>
> I'm not sure if this is the right forum to ask this question. Since
> this is a bigger community, I hope someone might have faced this
> issue and hope I will get some help.
>
> I'm
Hello,
I'm not sure if this is the right forum to ask this question. Since this is
a bigger community, I hope someone might have faced this issue and hope I
will get some help.
I'm seeing many posts achieving Tomcat session replication in docker swarm
using traefik. But I just don't want to add
SO post
http://stackoverflow.com/questions/18835014/tomcats-clustering-session-replication-not-replicating-properly/19391515#19391515).
The problem appears to be solved by moving the Manager element out of the
ServerServiceEngineCluster element in server.xml and putting it
instead
-doc/cluster-howto.html#For_the_impatient
Sorry I can't be of more help.
Dan
Hi all,
Thanks for all your hard work last month on my session replication issue. I
think I've found a solution today (via my SO post
http://stackoverflow.com/questions/18835014/tomcats-clustering-session-replication
On Sep 23, 2013, at 4:49 PM, Nicholas Violi nvi...@globalgiving.org wrote:
On Thu, Sep 19, 2013 at 9:03 AM, Daniel Mikusa dmik...@gopivotal.comwrote:
Here's what I've been using:
WEB-INF/web.xml:
?xml version=1.0 encoding=UTF-8?
web-app version=2.5
On Thu, Sep 19, 2013 at 9:03 AM, Daniel Mikusa dmik...@gopivotal.comwrote:
Here's what I've been using:
WEB-INF/web.xml:
?xml version=1.0 encoding=UTF-8?
web-app version=2.5 xmlns=http://java.sun.com/xml/ns/javaee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
On Sep 18, 2013, at 9:00 AM, Nicholas Violi nvi...@globalgiving.org wrote:
Thanks Daniel.
On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa dmik...@gopivotal.comwrote:
Tried a quick two node setup on my Mac w/out HTTPD and it worked OK. Go
to one Tomcat instance's port in chrome, it
Thanks Daniel.
On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa dmik...@gopivotal.comwrote:
Tried a quick two node setup on my Mac w/out HTTPD and it worked OK. Go
to one Tomcat instance's port in chrome, it increments the counter in my
app. Refresh a few times. Open a second tab, go to the
On 9/18/2013 6:00 AM, Nicholas Violi wrote:
Thanks Daniel.
On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa dmik...@gopivotal.comwrote:
Tried a quick two node setup on my Mac w/out HTTPD and it worked OK. Go
to one Tomcat instance's port in chrome, it increments the counter in my
app. Refresh
Hi Nicholas,
I'm am a bit of a novice but I did have a very similar problem when I
started using the clustering modules.
My Tomcat output was referring to localhost (10.x.x.x) addresses while my
netstat was reporting LISTEN on network addresses (192.x.x.x:400?).
You have the same disparity. My
alternatively try an explicit address in the
Receiver configuration
Receiver
className=org.apache.catalina.tribes.transport.nio.NioReceiver
address=auto
port=4001
autoBind=100
selectorTimeout=5000
Hello,
I'm setting up clustering/replication on Tomcat 7 on my local machine, to
evaluate it for use with my environment/codebase, and sessions don't appear
to be replicating. Hopefully I've provided enough information below, but
please let me know if you have any more questions.
___Setup___
I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nicholas,
On 9/17/13 9:59 AM, Nicholas Violi wrote:
Hello, I'm setting up clustering/replication on Tomcat 7 on my
local machine, to evaluate it for use with my environment/codebase,
and sessions don't appear to be replicating. Hopefully I've
Hi Daniel,
Thanks for the response. It seems that the ports (you're correct, 4000 and
4001) aren't open; telnet reports Connection refused and nmap lists the
ports as closed. Shouldn't tomcat be opening them? I'm not running a
firewall or anything.
I'll come back to your questions about my apache
On Sep 17, 2013, at 9:59 AM, Nicholas Violi nvi...@globalgiving.org wrote:
Hello,
I'm setting up clustering/replication on Tomcat 7 on my local machine, to
evaluate it for use with my environment/codebase, and sessions don't appear
to be replicating. Hopefully I've provided enough information
On Sep 17, 2013, at 11:10 AM, Nicholas Violi nvi...@globalgiving.org wrote:
Hi Daniel,
Please don't top post. Either reply at the bottom or reply inline. That is
the convention we try to follow on this list.
Thanks for the response. It seems that the ports (you're correct, 4000 and
4001)
On Tue, Sep 17, 2013 at 11:25 AM, Daniel Mikusa dmik...@gopivotal.comwrote:
Please don't top post. Either reply at the bottom or reply inline. That
is the convention we try to follow on this list.
Sorry thanks.
Can your run netstat and see if anything is listening on those ports?
On Sep 17, 2013, at 11:32 AM, Nicholas Violi nvi...@globalgiving.org wrote:
On Tue, Sep 17, 2013 at 11:25 AM, Daniel Mikusa dmik...@gopivotal.comwrote:
Please don't top post. Either reply at the bottom or reply inline. That
is the convention we try to follow on this list.
Sorry
From: Daniel Mikusa [mailto:dmik...@gopivotal.com]
Subject: Re: Problems with Clustering / Session Replication
Are you sure you don't have a firewall?
Remember that a firewall could be on the server, the client, or anywhere in
between. The OP should first see if a connection can be made
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Chuck,
On 9/17/13 12:25 PM, Caldarale, Charles R wrote:
From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Subject: Re:
Problems with Clustering / Session Replication
Are you sure you don't have a firewall?
Remember that a firewall could
On Tue, Sep 17, 2013 at 12:08 PM, Daniel Mikusa dmik...@gopivotal.comwrote:
Good! Since Tomcat is listening on the ports, you just need to figure out
why you can't connect to them. You should be able to telnet to the ports.
Try: telnet 192.168.1.243 4000 and telnet 192.168.1.243 4001.
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Subject: Re: Problems with Clustering / Session Replication
While the above is true, OP originally said that everything was on
localhost.
Note the IP address reported by the OP's netstat: 192.168.1.243. That's
decidedly
From: Nicholas Violi [mailto:nvi...@globalgiving.org]
Subject: Re: Problems with Clustering / Session Replication
telnet connects fine...
??? Previously, you stated: telnet reports Connection refused. Which is it?
Are you sure you don't have a firewall?
Double checked that my mac's
On Tue, Sep 17, 2013 at 1:16 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
telnet connects fine...
??? Previously, you stated: telnet reports Connection refused. Which is
it?
Apologies for not specifying. My first test was telnet localhost 4000,
which refused the connection.
On Sep 17, 2013, at 1:21 PM, Nicholas Violi nvi...@globalgiving.org wrote:
On Tue, Sep 17, 2013 at 1:16 PM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
telnet connects fine...
??? Previously, you stated: telnet reports Connection refused. Which is
it?
Apologies for not
On Sep 17, 2013, at 3:08 PM, Nicholas Violi nvi...@globalgiving.org wrote:
On Tue, Sep 17, 2013 at 2:34 PM, Daniel Mikusa dmik...@gopivotal.comwrote:
How do you have HTTPD configured? It's important to get this right.
The tomcats are running on 8081 and 8083 and apache is listening on
On Tue, Sep 17, 2013 at 2:34 PM, Daniel Mikusa dmik...@gopivotal.comwrote:
How do you have HTTPD configured? It's important to get this right.
The tomcats are running on 8081 and 8083 and apache is listening on 8080
and 8082, with each one proxied to the corresponding tomcat instance. I
think
On Sep 17, 2013, at 3:39 PM, Nicholas Violi nvi...@globalgiving.org wrote:
On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa dmik...@gopivotal.comwrote:
What is your purpose with this configuration and with this setup? It's a
legit setup, but may not be doing what you want.
Typically you
On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa dmik...@gopivotal.comwrote:
What is your purpose with this configuration and with this setup? It's a
legit setup, but may not be doing what you want.
Typically you would use mod_proxy mod_proxy_balancer (or mod_jk) to
front a cluster of Tomcat
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nicholas,
On 9/17/13 3:39 PM, Nicholas Violi wrote:
On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa
dmik...@gopivotal.comwrote:
What is your purpose with this configuration and with this setup?
It's a legit setup, but may not be doing what you
On Tue, Sep 17, 2013 at 4:18 PM, Daniel Mikusa dmik...@gopivotal.comwrote:
I would disagree with this conclusion. In your test setup you absolutely
need this. In production, you don't need HTTPD because you have a
dedicated hardware load balancer. Unless you have one of those on your
desk,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nicholas,
On 9/17/13 4:33 PM, Nicholas Violi wrote:
On Tue, Sep 17, 2013 at 4:18 PM, Daniel Mikusa
dmik...@gopivotal.comwrote:
I would disagree with this conclusion. In your test setup you
absolutely need this. In production, you don't need
On Sep 17, 2013, at 4:18 PM, Daniel Mikusa dmik...@gopivotal.com wrote:
On Sep 17, 2013, at 3:39 PM, Nicholas Violi nvi...@globalgiving.org wrote:
On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa dmik...@gopivotal.comwrote:
What is your purpose with this configuration and with this setup?
Hi,
I am trying to configure session replication using the Cluster
object.
The documentation says:
The IP broadcasted is
java.net.InetAddress.getLocalHost().getHostAddress()
(make sure you don't broadcast 127.0.0.1, this is a common
error)
I just wrote a small
According to the Javadoc, InetAddress.getLocalHost() returns the
loopback address.
So...how do I control the broadcasting address ?
-Original Message-
From: Jorge Medina
Sent: Tuesday, February 10, 2009 3:38 PM
To: 'users@tomcat.apache.org'
Subject: Clustering: Session replication
From: Jorge Medina [mailto:jmed...@e-dialog.com]
Subject: FW: Clustering: Session replication
According to the Javadoc, InetAddress.getLocalHost() returns the
loopback address.
No, it doesn't; the sentence in question reads:
If the operation is not allowed, an InetAddress representing
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, February 10, 2009 4:34 PM
To: Tomcat Users List
Subject: RE: Clustering: Session replication
From: Jorge Medina [mailto:jmed...@e-dialog.com]
Subject: FW: Clustering: Session replication
For each Tomcat
set
Receiver address=your-ip-goes-here ... /
http://tomcat.apache.org/tomcat-6.0-doc/config/cluster-receiver.html
that way you broad cast your-ip-goes-here instead.
alternatively, setup your hostname properly, and make sure the hostname
resolves to the IP address, and not
Hanik - Dev Lists [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 22, 2008 7:30:34 PM
Subject: Re: clustering: session replication
also, post your configuration, to make sure you have it right
(server.xml and context.xml)
Filip
nch wrote:
Hello, again.
Well, I'm
Hi, there.
Does anyone know how to trace session replication in a cluster?
Thank you.
Hi,
at tomcat 5.5 cluster you can use the cluster logging. Look at tomcat
docs
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
Cluster
className=org.apache.catalina.cluster.tcp.SimpleTcpCluster
Sorry, I'm running 6.0.13. Does it work the same?
- Original Message
From: Peter Rossbach [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 22, 2008 11:10:04 AM
Subject: Re: clustering: session replication
Hi,
at tomcat 5.5 cluster you can use
to tackle this issue?
Kind regards.
- Original Message
From: nch [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 22, 2008 12:27:13 PM
Subject: Re: clustering: session replication
Sorry, I'm running 6.0.13. Does it work the same?
- Original Message
Users List users@tomcat.apache.org
Sent: Tuesday, July 22, 2008 11:10:04 AM
Subject: Re: clustering: session replication
Hi,
at tomcat 5.5 cluster you can use the cluster logging. Look at tomcat
docs
http://tomcat.apache.org/tomcat-5.5-doc/cluster-howto.html
Cluster
: clustering: session replication
Sorry, I'm running 6.0.13. Does it work the same?
- Original Message
From: Peter Rossbach [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, July 22, 2008 11:10:04 AM
Subject: Re: clustering: session replication
Hi
Hello!
What's benefits of using Clustering/Session Replication on same machine?
Thanks a lot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Andrew,
Andrew Hole wrote:
What's benefits of using Clustering/Session Replication on same machine?
If you have a really buggy application that crashes a lot, clustering
and session replication can buy you some robustness that your engineers
have
benefits of using Clustering/Session Replication on same machine?
Thanks a lot
48 matches
Mail list logo