Re: Clustering/Session Replication in docker swarm

2020-05-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Praveen, On 5/20/20 12:27, Praveen Kumar K S wrote: > Hello, > > I'm not sure if this is the right forum to ask this question. Since > this is a bigger community, I hope someone might have faced this > issue and hope I will get some help. > > I'm se

Clustering/Session Replication in docker swarm

2020-05-20 Thread Praveen Kumar K S
Hello, I'm not sure if this is the right forum to ask this question. Since this is a bigger community, I hope someone might have faced this issue and hope I will get some help. I'm seeing many posts achieving Tomcat session replication in docker swarm using traefik. But I just don't want to add a

Re: Problems with Clustering / Session Replication

2013-10-29 Thread Daniel Mikusa
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-repli

Re: Problems with Clustering / Session Replication

2013-10-25 Thread Nicholas Violi
ion and go from there. > > > https://tomcat.apache.org/tomcat-7.0-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 so

Re: Problems with Clustering / Session Replication

2013-09-24 Thread Daniel Mikusa
On Sep 23, 2013, at 4:49 PM, Nicholas Violi wrote: > On Thu, Sep 19, 2013 at 9:03 AM, Daniel Mikusa wrote: > >> Here's what I've been using: >> >> >> WEB-INF/web.xml: >> >> >> http://java.sun.com/xml/ns/javaee"; >>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; >>xsi:schemaLoc

Re: Problems with Clustering / Session Replication

2013-09-23 Thread Nicholas Violi
On Thu, Sep 19, 2013 at 9:03 AM, Daniel Mikusa wrote: > Here's what I've been using: > > > WEB-INF/web.xml: > > > http://java.sun.com/xml/ns/javaee"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/

Re: Problems with Clustering / Session Replication

2013-09-19 Thread Daniel Mikusa
On Sep 18, 2013, at 9:00 AM, Nicholas Violi wrote: > Thanks Daniel. > > On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa wrote: >> >> 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. Refre

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Vince Stewart
alternatively try an explicit address in the Receiver configuration instead of address="auto" try address="192.168.1.43" this should alter the log displayed at start-up and I would be very interested if you still had a problem. On Thu, Sep 19, 2013 at 10:35 AM, Vince Stewart wrote: > Hi Nicho

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Vince Stewart
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 sys

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Mark Eggers
On 9/18/2013 6:00 AM, Nicholas Violi wrote: Thanks Daniel. On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa wrote: 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

Re: Problems with Clustering / Session Replication

2013-09-18 Thread Nicholas Violi
Thanks Daniel. On Tue, Sep 17, 2013 at 5:30 PM, Daniel Mikusa wrote: > > 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 second Tomcat > in

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 4:18 PM, Daniel Mikusa wrote: > On Sep 17, 2013, at 3:39 PM, Nicholas Violi wrote: > >> On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa wrote: >> >>> What is your purpose with this configuration and with this setup? It's a >>> legit setup, but may not be doing what you want

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-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 > wrote: > >> I would disagree with this conclusion. In your test setup you >> absolutely need this. In production, you don't need HTTPD >> becau

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 4:18 PM, Daniel Mikusa wrote: > 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, you need HTTPD to

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-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 > wrote: > >> What is your purpose with this configuration and with this setup? >> It's a legit setup, but may not be doing what you want. >> >> T

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa wrote: > 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 servers. In p

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 3:39 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 3:21 PM, Daniel Mikusa wrote: > >> 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_balan

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 3:08 PM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 2:34 PM, Daniel Mikusa wrote: > >> 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

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 2:34 PM, Daniel Mikusa wrote: > 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 these are the relev

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 1:21 PM, Nicholas Violi 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 speci

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
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 c

RE: Problems with Clustering / Session Replication

2013-09-17 Thread Caldarale, Charles R
> 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 firew

RE: Problems with Clustering / Session Replication

2013-09-17 Thread Caldarale, Charles R
> 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.

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 12:08 PM, Daniel Mikusa wrote: > 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. > telnet connects fine

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-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? >

RE: Problems with Clustering / Session Replication

2013-09-17 Thread Caldarale, Charles R
> 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 connecti

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 11:32 AM, Nicholas Violi wrote: > On Tue, Sep 17, 2013 at 11:25 AM, Daniel Mikusa wrote: > >> >> 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 a

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
On Tue, Sep 17, 2013 at 11:25 AM, Daniel Mikusa wrote: > > 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? > "netstat -tln" should

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 11:10 AM, Nicholas Violi 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) aren't open; telnet r

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Daniel Mikusa
On Sep 17, 2013, at 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 provided enough information below, but > please

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
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

Re: Problems with Clustering / Session Replication

2013-09-17 Thread Christopher Schultz
-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

Problems with Clustering / Session Replication

2013-09-17 Thread Nicholas Violi
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 ha

Re: Clustering: Session replication

2009-02-10 Thread Filip Hanik - Dev Lists
For each Tomcat set 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 127.0.0.1 Filip Jorge Medina wrote: Hi

RE: Clustering: Session replication

2009-02-10 Thread Jorge Medina
-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 repli

RE: Clustering: Session replication

2009-02-10 Thread Caldarale, Charles R
> 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

FW: Clustering: Session replication

2009-02-10 Thread Jorge Medina
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 r

Clustering: Session replication

2009-02-10 Thread Jorge Medina
Hi, I am trying to configure session replication using the 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 java p

Re: clustering: session replication

2008-07-23 Thread nch
age From: Filip Hanik - Dev Lists <[EMAIL PROTECTED]> To: Tomcat Users List 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, ag

Re: clustering: session replication

2008-07-22 Thread Filip Hanik - Dev Lists
: 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 Sent: Tuesday, July 22, 2008 11:10:04 AM Subject: Re: clustering: session replication Hi, at tomcat 5.5

Re: clustering: session replication

2008-07-22 Thread Filip Hanik - Dev Lists
To: Tomcat Users List 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

Re: clustering: session replication

2008-07-22 Thread nch
clues on how to tackle this issue? Kind regards. - Original Message From: nch <[EMAIL PROTECTED]> To: Tomcat Users List 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? - Origina

Re: clustering: session replication

2008-07-22 Thread nch
Sorry, I'm running 6.0.13. Does it work the same? - Original Message From: Peter Rossbach <[EMAIL PROTECTED]> To: Tomcat Users List 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 lo

Re: clustering: session replication

2008-07-22 Thread Peter Rossbach
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 className="org.apache.catalina.cluster.tcp.SimpleTcpCluster" doClusterLog="true"

clustering: session replication

2008-07-22 Thread nch
Hi, there. Does anyone know how to trace session replication in a cluster? Thank you.

Re: Clustering/Session Replication

2007-08-24 Thread Dwayne
Hello! > > What's benefits of using Clustering/Session Replication on same machine? > > Thanks a lot >

Re: Clustering/Session Replication

2007-08-24 Thread Christopher Schultz
-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 engine

Clustering/Session Replication

2007-08-24 Thread Andrew Hole
Hello! What's benefits of using Clustering/Session Replication on same machine? Thanks a lot