Intermittent 502 errors from Load Balancer to Tomcat instance.

2021-05-11 Thread Todd Patch
Hello, We have a setup in AWS with an ALB sitting in front of 2 Tomcat servers hosting our application. We are having sporadic issues where the ALB will reject some calls with a "502" error. The system will be fine for days or weeks, and then suddenly for a few hours there will be several

Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-31 Thread Christopher Schultz
problems, or are you just asking if everything looks reasonable? - -chris > -- Messaggio originale -- Da: "Christopher Schultz" > <mailto:ch...@christopherschultz.net>> A: users@tomcat.apache.org > <mailto:users@tomcat.apache.org> Inviato: 27/12/2019 16:29:28

Re: [OT] Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-31 Thread Christopher Schultz
ice and share >>>> resources as per priority level setting of OS. > > I disagree. There are use-cases for running multiple Tomcat > instances on the same machine. > >>>> If you don't have heavy user activity expectations then >>>> this e

Re[2]: How to set apache load balancer for send request to 6 tomcat server

2019-12-30 Thread Giancarlo Celli
A: users@tomcat.apache.org Inviato: 27/12/2019 16:29:28 Oggetto: Re: How to set apache load balancer for send request to 6 tomcat server Firma ha problemi -BEGIN PGP SIGNED MESSAGE-Hash: SHA256/>Giancarlo,On 12/23/19 12:45, Giancarlo Celli wrote:/> Hi, I need to configure

Re: [OT] Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-27 Thread Zahid Rahman
; > If you don't have heavy user activity expectations then this > > excercise is pointless. > > ? > > - -chris > > > On Mon, 23 Dec 2019, 17:45 Giancarlo Celli, > > wrote: > > > >> Hi, I need to configure a load balancer with apache connector on >

Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-27 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Giancarlo, On 12/23/19 12:45, Giancarlo Celli wrote: > Hi, I need to configure a load balancer with apache connector on a > jelastic server that redirects requests to 6 server workers with > tomcat 7 installed. Atteched you can find ext

[OT] Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-27 Thread Christopher Schultz
e are use-cases for running multiple Tomcat instances on the same machine. > If you don't have heavy user activity expectations then this > excercise is pointless. ? - -chris > On Mon, 23 Dec 2019, 17:45 Giancarlo Celli, > wrote: > >> Hi, I need to configure a load balanc

Re: Re[2]: How to set apache load balancer for send request to 6 tomcat server

2019-12-24 Thread Zahid Rahman
ancarlo.ce...@flottaweb.com> > Inviato: 23/12/2019 23:56:41 > Oggetto: Re: How to set apache load balancer for send request to 6 tomcat > server > > If you wish we can work the problem , piece by piece through logical > construction of the solution. > > > > On Mon, 23 Dec

Re: Re[2]: How to set apache load balancer for send request to 6 tomcat server

2019-12-24 Thread Zahid Rahman
" >> A: "Tomcat Users List" ; "Giancarlo Celli" < >> giancarlo.ce...@flottaweb.com> >> Inviato: 23/12/2019 23:56:41 >> Oggetto: Re: How to set apache load balancer for send request to 6 tomcat >> server >> >> If you wi

Re: Re[2]: How to set apache load balancer for send request to 6 tomcat server

2019-12-24 Thread Zahid Rahman
est regards. > Giancarlo > > > -- Messaggio originale -- > Da: "Zahid Rahman" > A: "Tomcat Users List" ; "Giancarlo Celli" < > giancarlo.ce...@flottaweb.com> > Inviato: 23/12/2019 23:56:41 > Oggetto: Re: How to set apache load balance

Re[2]: How to set apache load balancer for send request to 6 tomcat server

2019-12-24 Thread Giancarlo Celli
the files with the extracts of the configurations Thanks. Best regards. Giancarlo -- Messaggio originale -- Da: "Zahid Rahman" A: "Tomcat Users List" ; "Giancarlo Celli" Inviato: 23/12/2019 23:56:41 Oggetto: Re: How to set apache load balancer for send request

Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-23 Thread Zahid Rahman
If you wish we can work the problem , piece by piece through logical construction of the solution. On Mon, 23 Dec 2019, 17:45 Giancarlo Celli, wrote: > Hi, > I need to configure a load balancer with apache connector on a jelastic > server that redirects requests to 6 serve

Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-23 Thread Zahid Rahman
I need to configure a load balancer with apache connector on a jelastic > server that redirects requests to 6 server workers with tomcat 7 installed. > Atteched you can find extract from httpd.conf and workers.properties. > I need to send single request to tomcat server individ

Re: How to set apache load balancer for send request to 6 tomcat server

2019-12-23 Thread Zahid Rahman
Your home page is in Italian https://www.flottaweb.com/en/ While your login page is in English https://www.flottaweb.com/en/login/ On Mon, 23 Dec 2019, 17:45 Giancarlo Celli, wrote: > Hi, > I need to configure a load balancer with apache connector on a jelastic > server that

How to set apache load balancer for send request to 6 tomcat server

2019-12-23 Thread Giancarlo Celli
Hi, I need to configure a load balancer with apache connector on a jelastic server that redirects requests to 6 server workers with tomcat 7 installed. Atteched you can find extract from httpd.conf and workers.properties. I need to send single request to tomcat server individually, so I set

RE: https redirect failed for POST request when behind a load balancer

2017-01-25 Thread Bin Chen
To: Tomcat Users List <users@tomcat.apache.org> Subject: AW: https redirect failed for POST request when behind a load balancer Bin, So it is working as designed in the RFC... https://urldefense.proofpoint.com/v2/url?u=https-3A__en.wikipedia.org_wiki_HTTP-5F302=DwIGaQ=uilaK90D4TOVoH58

AW: https redirect failed for POST request when behind a load balancer

2017-01-25 Thread Kreuser, Peter
en after that all links, forms will be on https. Best regards Peter > Our engineer who has access to the load balancer is off today, will get some > log info on the load balancer side about the redirect. > > Thank you, > > Bin > > -Original Message- > From: Kreu

RE: https redirect failed for POST request when behind a load balancer

2017-01-24 Thread Bin Chen
Peter: Here is what I got when using curl on a client. curl -I http://lb-api:8080/urls?param1=something\=123 HTTP/1.0 302 Found Location: https://lb-api:8443/ urls?param1=something\=123 Server: BigIP Connection: Keep-Alive Content-Length: 0 Our engineer who has access to the load balancer is off

AW: https redirect failed for POST request when behind a load balancer

2017-01-24 Thread Kreuser, Peter
Bin, > Peter: > To answer your questions > 1. The response header when using 8080 to post, I got: > > Status Code: 405 Method Not Allowed > Allow: POST > Cache-Control: private > Content-Language: en > Content-Length: 1045 > Content-Type: text/html;charset=utf-8 >

RE: https redirect failed for POST request when behind a load balancer

2017-01-23 Thread Bin Chen
Peter: To answer your questions 1. The response header when using 8080 to post, I got: Status Code: 405 Method Not Allowed Allow: POST Cache-Control: private Content-Language: en Content-Length: 1045 Content-Type: text/html;charset=utf-8 Date: Mon, 23 Jan 2017 18:48:07

AW: https redirect failed for POST request when behind a load balancer

2017-01-23 Thread Kreuser, Peter
Bin, > Peter: > Our Load balancer uses a VIP to do the redirect, so when a request coming in > as http://lb-api:8080, it changes it into https://lb-api:8443 and submit to > the api server behind. I could not see any redirect logged into the access > log. However, if I s

RE: https redirect failed for POST request when behind a load balancer

2017-01-20 Thread Bin Chen
Peter: Our Load balancer uses a VIP to do the redirect, so when a request coming in as http://lb-api:8080, it changes it into https://lb-api:8443 and submit to the api server behind. I could not see any redirect logged into the access log. However, if I submit a request to the api server

AW: https redirect failed for POST request when behind a load balancer

2017-01-20 Thread Kreuser, Peter
Hi Bin > Konstantin: > Thank you very much for your reply. To answer your question > > 1. The api-lb and lb-api was a typo. > > 2. I was able to reproduce this problem with a single server behind the > load balancer. > Where http://lb-test-api:8080 was set

RE: https redirect failed for POST request when behind a load balancer

2017-01-19 Thread Bin Chen
Konstantin: Thank you very much for your reply. To answer your question 1. The api-lb and lb-api was a typo. 2. I was able to reproduce this problem with a single server behind the load balancer. Where http://lb-test-api:8080 was set to forward to https://lb-test-api:8443 using

Re: https redirect failed for POST request when behind a load balancer

2017-01-18 Thread Konstantin Kolinko
ttp://my-api1:8080, it is automatically redirect to https://my-api1:8443 > The redirect works fine for all our REST services. However, when we setup a > load balancer in front of the two servers, and setup the redirect as > following: http://api-lb:8080 to https://lb-api:8443, our POST was r

https redirect failed for POST request when behind a load balancer

2017-01-18 Thread Bin Chen
for all our REST services. However, when we setup a load balancer in front of the two servers, and setup the redirect as following: http://api-lb:8080 to https://lb-api:8443, our POST was redirected as GET causing the request to fail. Is there any setup we can do to force the POST not being

Re: Two Way SSL - SSL Offloading at load balancer

2016-12-10 Thread Bipin Jethwani
based >> REST APIs exposed for mobile devices. SSL is offloaded at load-balancer or >> apache level. >> >> Can we still get access to client certificate at web app level? >> >> On second thought we can live without having access to client cert but can >> we h

Re: Two Way SSL - SSL Offloading at load balancer

2016-12-08 Thread tomcat
On 02.12.2016 13:27, Bipin Jethwani wrote: We use Spring security and want to use Two Way SSL for a few Jersey based REST APIs exposed for mobile devices. SSL is offloaded at load-balancer or apache level. Can we still get access to client certificate at web app level? On second thought we can

RE: Two Way SSL - SSL Offloading at load balancer

2016-12-05 Thread Macca, Diego
...@christopherschultz.net] Sent: 02 December 2016 17:09 To: Tomcat Users List Subject: Re: Two Way SSL - SSL Offloading at load balancer -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bipin, On 12/2/16 7:27 AM, Bipin Jethwani wrote: > We use Spring security and want to use Two Way SSL for a few Jersey > base

Re: Two Way SSL - SSL Offloading at load balancer

2016-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bipin, On 12/2/16 7:27 AM, Bipin Jethwani wrote: > We use Spring security and want to use Two Way SSL for a few Jersey > based REST APIs exposed for mobile devices. SSL is offloaded at > load-balancer or apache level. > > Can we s

Re: Two Way SSL - SSL Offloading at load balancer

2016-12-02 Thread tomcat
On 02.12.2016 13:27, Bipin Jethwani wrote: We use Spring security and want to use Two Way SSL for a few Jersey based REST APIs exposed for mobile devices. SSL is offloaded at load-balancer or apache level. Can we still get access to client certificate at web app level? On second thought we can

Two Way SSL - SSL Offloading at load balancer

2016-12-02 Thread Bipin Jethwani
We use Spring security and want to use Two Way SSL for a few Jersey based REST APIs exposed for mobile devices. SSL is offloaded at load-balancer or apache level. Can we still get access to client certificate at web app level? On second thought we can live without having access to client cert

Re: Adding Tomcat instances dynamically to Apache Load Balancer without restart

2016-04-07 Thread Linux Support
loud based project where I encounter Scale-in/ Scale > out > > of Tomcat instances. > > We have Apache load balancer as well. The requirement is to dynamically > add > > any new Tomcat instances during scale out to Load balancer and remove > > tomcat instances during sca

Re: Adding Tomcat instances dynamically to Apache Load Balancer without restart

2016-04-07 Thread Christoph Nenning
> Hi All, > > Good Morning. > > I am working in a Cloud based project where I encounter Scale-in/ Scale out > of Tomcat instances. > We have Apache load balancer as well. The requirement is to dynamically add > any new Tomcat instances during scale out to Load bala

Adding Tomcat instances dynamically to Apache Load Balancer without restart

2016-04-07 Thread Mohanavelu Subramanian
Hi All, Good Morning. I am working in a Cloud based project where I encounter Scale-in/ Scale out of Tomcat instances. We have Apache load balancer as well. The requirement is to dynamically add any new Tomcat instances during scale out to Load balancer and remove tomcat instances during scale

Re: Scripting mod_jk load-balancer member changes

2015-01-13 Thread Christopher Schultz
scripting updates for load-balancer members and thought I'd ask here before slogging through the code to see if there are any requirements I'm missing. Long story short, I'd like to script setting the activation status for a particular load-balanced worker to something, like ACT or DIS

Re: Scripting mod_jk load-balancer member changes

2015-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 1/12/15 2:01 PM, Christopher Schultz wrote: I'm running into a bit of difficulty scripting updates for load-balancer members and thought I'd ask here before slogging through the code to see if there are any requirements I'm missing

Scripting mod_jk load-balancer member changes

2015-01-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm running into a bit of difficulty scripting updates for load-balancer members and thought I'd ask here before slogging through the code to see if there are any requirements I'm missing. Long story short, I'd like to script setting

Re: Scripting mod_jk load-balancer member changes

2015-01-12 Thread Rainer Jung
Hi Chris, Am 12.01.2015 um 20:12 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 1/12/15 2:01 PM, Christopher Schultz wrote: I'm running into a bit of difficulty scripting updates for load-balancer members and thought I'd ask here before slogging through

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Bill Davidson
The Java version wasn't it. Recompiled and redeployed with 1.7.0_25 and it had no effect. The SSL handshake problem went away when we disabled TLS 1.1/1.2 in the JCP on the client side and clicked Restore Security Prompts in the JCP. There was also a problem with JSESSIONID not being sent to

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Konstantin Kolinko
2014-03-06 0:30 GMT+04:00 Bill Davidson bill...@gmail.com: The Java version wasn't it. Recompiled and redeployed with 1.7.0_25 and it had no effect. The SSL handshake problem went away when we disabled TLS 1.1/1.2 in the JCP on the client side and clicked Restore Security Prompts in the JCP.

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Bill Davidson
: JSESSIONID=a big hex number, secure=false, httpOnly=false So no, I don't think that's it. We're set to send on any protocol. Moreover, shouldn't the applet be sending httpOnly cookies even if they are not visible to Javascript? 1. Why would it act differently with the load balancer than with a direct

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Konstantin Kolinko
2014-03-06 2:11 GMT+04:00 Bill Davidson bill...@gmail.com: On 3/5/2014 12:52 PM, Konstantin Kolinko wrote: Session cookie is HttpOnly in Tomcat 7. If you missed that in migration guide, it is here: http://tomcat.apache.org/migration-7.html#Session_cookie_configuration I added this to some code

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Bill Davidson
On 3/5/2014 2:28 PM, Konstantin Kolinko wrote: The HttpOnly flag is used by cookies sent by server to the client. There is no point checking it on request.getCookies(), as browsers do not send it back (neither do they send 'path', 'secure' etc.). Isn't that showing what the server is sending

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Bill Davidson
the server to the client? 2. Why did it work when going direct without the load balancer? 3. Why did it sometimes work with IE even with the load balancer? 4. Why did it still fail when I reverted to Tomcat 6? 5. Why did it work before this release when we had TLS 1.1/1.2 enabled in the client JCP? Note

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-05 Thread Bill Davidson
Isn't the applet supposed to send browser cookies regardless of if Javascript can see them? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Bill Davidson
We tried to upgrade a production server to Tomcat 7 yesterday and it broke our printing applet that we use to control a printer in its native printer language. This seemed odd to us because it worked perfectly in testing. When we go direct to our production servers (bypassing the Cisco load

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Bill Davidson
production servers (bypassing the Cisco load balancer which is doing SSL for us), it also works fine in production. The only thing that's changed is using Tomcat 7. We only have one connector in server.xml Connector port=8009 protocol=AJP/1.3 address=127.0.0.1

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Christopher Schultz
language. This seemed odd to us because it worked perfectly in testing. When we go direct to our production servers (bypassing the Cisco load balancer which is doing SSL for us), it also works fine in production. The only thing that's changed is using Tomcat 7. We only have one connector

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Bill Davidson
. It's some sort of combination of the load balancer and Tomcat 7 not getting along with each other, but there's nothing to indicate that in catalina.out or mod_jk.log or error.log. So you have client (applet) - Cisco LB - Tomcat? Or, are there other components in the mix? Does Cisco LB speak

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Christopher Schultz
with Tomcat 6.0.37 The applet is bit-for-bit identical. It's built with Java 1.1 compatibility mode. It's some sort of combination of the load balancer and Tomcat 7 not getting along with each other, but there's nothing to indicate that in catalina.out or mod_jk.log or error.log. So you

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Bill Davidson
httpd and bypassing the load balancer. We've been forced to open up direct access to the ports for that so that our customers can print. We don't like that because we lose the advantages of load balancing and the SSL load is now on our web servers instead of the expensive dedicated hardware that's

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Christopher Schultz
were using IE but not others who may be using IE, Firefox or Chrome. We've played with TLS/SSL settings in IE and Firefox. That can change the error message but it still fails. Again, it works fine when connecting directly to Apache httpd and bypassing the load balancer. We've been

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Bill Davidson
On 3/4/2014 1:24 PM, Christopher Schultz wrote: Well... then you'd need a balancer for each balancer ;) Can you reproduce this issue yourself on your own computer (running the applet locally)? If so, what version of Java is running? That's mostly what I've been doing for the last 24 hours.

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Mark Eggers
On 3/4/2014 1:36 PM, Bill Davidson wrote: On 3/4/2014 1:24 PM, Christopher Schultz wrote: Well... then you'd need a balancer for each balancer ;) Can you reproduce this issue yourself on your own computer (running the applet locally)? If so, what version of Java is running? That's mostly

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Bill Davidson
On 3/4/2014 3:13 PM, Mark Eggers wrote: Hmm, is the applet signed, and is the certificate from a trusted authority? Oracle recently made some changes to Java which tightened down applet security. They also made some changes in the security policy that block communication on well-known ports

Re: Tomcat 6 vs. Tomcat 7 vs Cisco Load Balancer vs Java Applet

2014-03-04 Thread Utkarsh Dave
that we use to control a printer in its native printer language. This seemed odd to us because it worked perfectly in testing. When we go direct to our production servers (bypassing the Cisco load balancer which is doing SSL for us), it also works fine in production. The only thing that's

Re: [OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-24 Thread Christopher Schultz
between two tomcat nodes behind load balancer -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 7/22/13 10:00 AM, Jeffrey Janner wrote: -Original Message- From: vi...@thepenguin.org [mailto:vi...@thepenguin.org] Sent: Saturday, July 20, 2013 7:25 AM To: Tomcat Users

RE: [OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-24 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, July 24, 2013 9:57 AM To: Tomcat Users List Subject: Re: [OT] Enable session persistence between two tomcat nodes behind load balancer -BEGIN PGP SIGNED MESSAGE- Hash

RE: [OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-24 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, July 24, 2013 9:57 AM To: Tomcat Users List Subject: Re: [OT] Enable session persistence between two tomcat nodes behind load balancer -BEGIN PGP SIGNED MESSAGE- Hash

RE: Re:[OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-23 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, July 22, 2013 5:45 PM To: Tomcat Users List Subject: Re:[OT] Enable session persistence between two tomcat nodes behind load balancer -BEGIN PGP SIGNED MESSAGE- Hash: SHA256

Re: [OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-23 Thread David Kerber
On 7/23/2013 5:51 PM, Jeffrey Janner wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, July 22, 2013 5:45 PM To: Tomcat Users List Subject: Re:[OT] Enable session persistence between two tomcat nodes behind load balancer -BEGIN

RE: Enable session persistence between two tomcat nodes behind load balancer

2013-07-22 Thread Jeffrey Janner
-Original Message- From: vi...@thepenguin.org [mailto:vi...@thepenguin.org] Sent: Saturday, July 20, 2013 7:25 AM To: Tomcat Users List Subject: Enable session persistence between two tomcat nodes behind load balancer Hello: I have been searching for an answer to how to set

Re:[OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-22 Thread Christopher Schultz
tomcat nodes behind load balancer Hello: I have been searching for an answer to how to set this up. I find a lot of posts on session persistence but none seem to describe how to set it up. Is there a simple explanation out there that tells me how I go about setting up session persistence

Enable session persistence between two tomcat nodes behind load balancer

2013-07-20 Thread vicki
Hello: I have been searching for an answer to how to set this up. I find a lot of posts on session persistence but none seem to describe how to set it up. Is there a simple explanation out there that tells me how I go about setting up session persistence (with Apache, I would just set up

Re: Enable session persistence between two tomcat nodes behind load balancer

2013-07-20 Thread Daniel Mikusa
is pretty simple, you just need to adjust the Manager / tag in server.xml, and if using a relational database create the table. I just want the tomcats to either a) direct all session traffic to a single node This sounds like you're referring to sticky sessions and that something your load

Re: Connectors: Using JK_ROUTE env var with disabled worker in load balancer

2012-06-12 Thread Rainer Jung
of mod_jk are you using? - are the workers named SERVER-(1-5) members of a load balancer worker? - What is your test URL? - is this URL mapped to the load balancer worker via JkMount or similar? - is the worker SERVER-5 not in error state (check mod_jk logs and jk-status)? - did you make sure

Connectors: Using JK_ROUTE env var with disabled worker in load balancer

2012-06-09 Thread Ruslan Gainutdinov
Hello! I am trying to use JK_ROUTE to forward all traffic to some worker which are disabled. Disabled workers does not allow new sessions, but I think if I set it explicitly, it should be used? SetEnvIf Remote_Addr 10\.0\.0\.1 JK_ROUTE=SERVER-5 However, then 10.0.0.1 accesses LB applcation, it

JK Status: Load Balancer Value has offset , negative number of backend connections

2011-09-15 Thread SPH
Hi we have pretty often an offset on our Load Balancer Values and negative number of backend connections (see jk-status screenshot). We just updated mod_jk but the problems just come more frequent IMHO. Might this (little bit older) statistics for worker catalog5 be helpful for solving

Re: Tomcat with Cisco ACE Load Balancer

2011-06-02 Thread Tim Funk
This looks looks like a nice time to look at your existing traffic and get actuals of 1) Hits per second 2) Bandwidth usage Then use your access logs (or if you have a test suite - use that ... guessing owning 8 weblogic instances probably means there was a budget to own a test suite) to

Re: Tomcat with Cisco ACE Load Balancer

2011-06-01 Thread Pid
On 31/05/2011 21:10, Tauqir Akhtar wrote: Hi We have been using Weblogic Clusters with Cisco ACE Load Balancer We have 8 managed servers in the weblogic Cluster distributed evenly over two Machines. Load Balancer distributes the load in Robin Round fashion across these 8 managed servers

RE: Tomcat with Cisco ACE Load Balancer

2011-06-01 Thread Tauqir Akhtar
) WebsLogicServer6 (Port : 6006) WebsLogicServer7 (Port : 6007) WebsLogicServer8 (Port : 6008) Right now we are using WebLogic Servers in a Cluster that are loaded balanced by Cisco Load Balancer. In current scenario using WebLogic , if a user sends a request

RE: Tomcat with Cisco ACE Load Balancer

2011-06-01 Thread Caldarale, Charles R
From: Tauqir Akhtar [mailto:takh...@jny.com] Subject: RE: Tomcat with Cisco ACE Load Balancer All I am trying here to implement Tomcat in Load Balanced Environment. Please if you can guide me . Pid's words still stand: Impossible to say, we don't know anything about your application

Re: Tomcat with Cisco ACE Load Balancer

2011-06-01 Thread Mark Eggers
- Original Message - From: Caldarale, Charles R chuck.caldar...@unisys.com To: Tomcat Users List users@tomcat.apache.org Cc: Sent: Wednesday, June 1, 2011 1:16 PM Subject: RE: Tomcat with Cisco ACE Load Balancer From: Tauqir Akhtar [mailto:takh...@jny.com] Subject: RE: Tomcat

Tomcat with Cisco ACE Load Balancer

2011-05-31 Thread Tauqir Akhtar
Hi We have been using Weblogic Clusters with Cisco ACE Load Balancer We have 8 managed servers in the weblogic Cluster distributed evenly over two Machines. Load Balancer distributes the load in Robin Round fashion across these 8 managed servers using the concept of Stickiness. Now we need

Re: Load Balancer configuration guide

2011-04-16 Thread Harsimranjit singh Kler
bed with 3 tomcat with (Max thread 500 on each,Individual tomcat able to accept 400 concurent in long run). Now expecting Same through Load Balancer but getting error in long run :java.net.SocketException: Connection reset worker File Details:: worker 1,worker2 and worker 3 created

Re: Load Balancer configuration guide

2011-04-15 Thread Harsimranjit singh Kler
). Now expecting Same through Load Balancer but getting error in long run :java.net.SocketException: Connection reset worker File Details:: worker 1,worker2 and worker 3 created .Sample below worker.list=balancer worker.list=worker3 worker.worker3.type=ajp13 worker.worker3.host

Load Balancer configuration guide

2011-04-14 Thread Harsimranjit singh Kler
expecting Same through Load Balancer but getting error in long run :java.net.SocketException: Connection reset worker File Details:: worker 1,worker2 and worker 3 created .Sample below worker.list=balancer worker.list=worker3 worker.worker3.type=ajp13 worker.worker3.host=10.58.116.20

Re: Load Balancer configuration guide

2011-04-14 Thread Harsimranjit singh Kler
). Now expecting Same through Load Balancer but getting error in long run :java.net.SocketException: Connection reset worker File Details:: worker 1,worker2 and worker 3 created .Sample below worker.list=balancer worker.list=worker3 worker.worker3.type=ajp13 worker.worker3.host

Re: Recommendations for (or against) a hardware load balancer

2010-11-12 Thread André Warnier
Mark Thomas wrote: On 11/11/2010 14:12, Christopher Schultz wrote: All, I'm looking for a modest load balancer to perform SSL termination and work well with Tomcat's cookie- and URL-based sticky session mechanism. Does anyone have any recommendations? Decent H/W usually cost $$$ If Apache

Recommendations for (or against) a hardware load balancer

2010-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I'm looking for a modest load balancer to perform SSL termination and work well with Tomcat's cookie- and URL-based sticky session mechanism. Does anyone have any recommendations? If Apache httpd is just as good for an environment that gets

Re: Recommendations for (or against) a hardware load balancer

2010-11-11 Thread PeiSong Xiong
All, I'm looking for a modest load balancer to perform SSL termination and work well with Tomcat's cookie- and URL-based sticky session mechanism. Does anyone have any recommendations? If Apache httpd is just as good for an environment that gets thousands of hits per day, not millions

Re: Recommendations for (or against) a hardware load balancer

2010-11-11 Thread Mark Thomas
On 11/11/2010 14:12, Christopher Schultz wrote: All, I'm looking for a modest load balancer to perform SSL termination and work well with Tomcat's cookie- and URL-based sticky session mechanism. Does anyone have any recommendations? Decent H/W usually cost $$$ If Apache httpd is just

Re: Recommendations for (or against) a hardware load balancer

2010-11-11 Thread Leon Rosenberg
On Thu, Nov 11, 2010 at 3:22 PM, Mark Thomas ma...@apache.org wrote: On 11/11/2010 14:12, Christopher Schultz wrote: All, I'm looking for a modest load balancer to perform SSL termination and work well with Tomcat's cookie- and URL-based sticky session mechanism. Does anyone have any

RE: Tomcat 6 | Load Balancer IP configuration added as virtual host

2010-08-15 Thread Honey Bajaj
- From: Pid [mailto:p...@pidster.com] Sent: Saturday, August 14, 2010 3:11 PM To: Tomcat Users List Subject: Re: Tomcat 6 | Load Balancer IP configuration added as virtual host On 13/08/2010 14:13, Honey Bajaj wrote: Based on the below details, I am trying to understand the meaning of jmxproxy

Re: Tomcat 6 | Load Balancer IP configuration added as virtual host

2010-08-15 Thread Pid
[mailto:p...@pidster.com] Sent: Saturday, August 14, 2010 3:11 PM To: Tomcat Users List Subject: Re: Tomcat 6 | Load Balancer IP configuration added as virtual host On 13/08/2010 14:13, Honey Bajaj wrote: Based on the below details, I am trying to understand the meaning of jmxproxy output

Re: Tomcat 6 | Load Balancer IP configuration added as virtual host

2010-08-14 Thread Pid
Message- From: Honey Bajaj [mailto:hbaj...@sapient.com] Sent: Thursday, August 12, 2010 10:50 AM To: users@tomcat.apache.org Subject: Tomcat 6 | Load Balancer IP configuration added as virtual host Hi, I have an active-passive configuration of tomcat 6.0.18 running an ebxml based B2B

RE: Tomcat 6 | Load Balancer IP configuration added as virtual host

2010-08-13 Thread Honey Bajaj
[mailto:hbaj...@sapient.com] Sent: Thursday, August 12, 2010 10:50 AM To: users@tomcat.apache.org Subject: Tomcat 6 | Load Balancer IP configuration added as virtual host Hi, I have an active-passive configuration of tomcat 6.0.18 running an ebxml based B2B gateway solution. The server is configured

Tomcat 6 | Load Balancer IP configuration added as virtual host

2010-08-11 Thread Honey Bajaj
works as expected for couple of hours but after that we start receiving failures, the only thing I can figure out from jmxproxy (manager application) is an additional virtual host directive being added containing load balancer IP/Port details, below is the jmx output for before and after failure

SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread Leinartas, Michael
So I have what appears to be an obscure issue which is a consequence of our architecture and am wondering if anyone's run into anything similar and if my proposed solution is valid. So here's the background of our setup: We run our tomcat by starting it within a simple container using the

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread john.ranaudo
...@orbitz.com To: users@tomcat.apache.org users@tomcat.apache.org Sent: Mon Jul 26 15:48:32 2010 Subject: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80 So I have what appears to be an obscure issue which is a consequence of our architecture and am wondering if anyone's run

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread Rainer Jung
On 26.07.2010 21:48, Leinartas, Michael wrote: So I have what appears to be an obscure issue which is a consequence of our architecture and am wondering if anyone's run into anything similar and if my proposed solution is valid. So here's the background of our setup: We run our tomcat by

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread Leinartas, Michael
: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80 On 26.07.2010 21:48, Leinartas, Michael wrote: So I have what appears to be an obscure issue which is a consequence of our architecture and am wondering if anyone's run into anything similar and if my proposed

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread john.ranaudo
So I thought my solution was not good until I read you were getting the https requests on port 8443 but ssl terminated. Our configuration terminates ssl at the load balancer but forwards to port 80! Which is why I couldn't get the normal options working for me. John-Paul Ranaudo Software

Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80

2010-07-26 Thread Leinartas, Michael
-To: Tomcat Users List users@tomcat.apache.org Date: Mon, 26 Jul 2010 20:48:19 -0500 To: users@tomcat.apache.org users@tomcat.apache.org Subject: Re: SSL terminated at load balancer, Http11Processor sends ssl redirects to :80 So I thought my solution was not good until I read you were getting

Re: Sticky session and ModJK Load Balancer

2009-07-07 Thread Emilio Recio
charged in session, when load balancer try to use the Tomcat2 some info is saved but other info is missing. We need to know good arguments to justify to the client, why we should use sticky session in true to avoid this missing data issue. The client doesn't want to use sticky session in TRUE

Re: Sticky session and ModJK Load Balancer

2009-07-07 Thread André Warnier
all the user info charged in session, when load balancer try to use the Tomcat2 some info is saved but other info is missing. We need to know good arguments to justify to the client, why we should use sticky session in true to avoid this missing data issue. The client doesn't want to use sticky

Sticky session and ModJK Load Balancer

2009-07-06 Thread Emilio Recio
Hi, i have installed Apache 2.2 and two Tomcat 6 whit load balancing in cluster mode using mod_jk module and setting sticky session in TRUE, and memory replication. I was testing my project and work perfect. We have a dilemma using sticky session or not using it, with my team work. Setting

Re: Sticky session and ModJK Load Balancer

2009-07-06 Thread Mark Thomas
Emilio Recio wrote: Hi, i have installed Apache 2.2 and two Tomcat 6 whit load balancing in cluster mode using mod_jk module and setting sticky session in TRUE, and memory replication. I was testing my project and work perfect. We have a dilemma using sticky session or not using it, with my

Re: Sticky session and ModJK Load Balancer

2009-07-06 Thread Emilio Recio
, to support fail-over. STICKY SESSION FALSE: Some times: Tomcat1 after the login, has all the user info charged in session, when load balancer try to use the Tomcat2 some info is saved but other info is missing. We need to know good arguments to justify to the client, why we should use sticky

  1   2   3   >