RE: httpd/Tomcat load balancing question

2011-01-05 Thread Jeffrey Janner
> -Original Message- > From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Sent: Wednesday, January 05, 2011 10:21 AM > To: Tomcat Users List > Subject: Re: httpd/Tomcat load balancing question > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 &g

Re: httpd/Tomcat load balancing question

2011-01-05 Thread Pid
On 1/5/11 4:21 PM, Christopher Schultz wrote: >> In this case, only gain. > I see some opportunities for loss: see above. :) p 0x62590808.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature

Re: httpd/Tomcat load balancing question

2011-01-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, Late to the thread. :( On 12/23/2010 5:37 AM, Pid wrote: > On 23/12/2010 07:49, André Warnier wrote: >> So in clear everyday English, for the benefit of the oppressed minority >> who does not speak JSTL fluently, the fact of encoding this link i

RE: httpd/Tomcat load balancing question

2010-12-23 Thread Jeffrey Janner
55 PM > To: Tomcat Users List > Subject: RE: httpd/Tomcat load balancing question > > > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > > Subject: RE: httpd/Tomcat load balancing question > > > > > default > > /static/* &

RE: httpd/Tomcat load balancing question

2010-12-23 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: httpd/Tomcat load balancing question > > default > /static/* > > This is supposed to send anything that comes in as /static/ to the > default servlet for Tomcat to

RE: httpd/Tomcat load balancing question

2010-12-23 Thread Jeffrey Janner
ing? Jeff > -Original Message- > From: André Warnier [mailto:a...@ice-sa.com] > Sent: Thursday, December 23, 2010 7:15 AM > To: Tomcat Users List > Subject: Re: httpd/Tomcat load balancing question > > I'll top post and reply to an earlier message at the same time,

RE: httpd/Tomcat load balancing question

2010-12-23 Thread Jeffrey Janner
> -Original Message- > From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] > Sent: Thursday, December 23, 2010 5:07 AM > To: Tomcat Users List > Subject: Re: httpd/Tomcat load balancing question > > 2010/12/23 Pid : > > On 23/12/2010 07:49, André Warn

Re: httpd/Tomcat load balancing question

2010-12-23 Thread André Warnier
the URL? Jeff -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday, December 22, 2010 4:50 PM To: 'Tomcat Users List' Subject: RE: httpd/Tomcat load balancing question In the specific case I mention below, this is the source from the js

Re: httpd/Tomcat load balancing question

2010-12-23 Thread Konstantin Kolinko
2010/12/23 Pid : > On 23/12/2010 07:49, André Warnier wrote: >> Pid * wrote: >>> On 22 Dec 2010, at 23:38, André Warnier wrote: >>> Pid * wrote: > On 22 Dec 2010, at 23:02, Jeffrey Janner > wrote: >> Definitely the culprit.  Now, I just have to convince the Dev team >> that t

Re: httpd/Tomcat load balancing question

2010-12-23 Thread Pid
On 23/12/2010 07:49, André Warnier wrote: > Pid * wrote: >> On 22 Dec 2010, at 23:38, André Warnier wrote: >> >>> Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner wrote: > Definitely the culprit. Now, I just have to convince the Dev team > that they are, once again, a bunc

Re: httpd/Tomcat load balancing question

2010-12-23 Thread Rainer Jung
On 23.12.2010 00:08, Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner wrote: Definitely the culprit. Now, I just have to convince the Dev team that they are, once again, a bunch of idiots. Fail. I'm sure it's some framework/tool they are using. The question now is, if I can't get

Re: httpd/Tomcat load balancing question

2010-12-22 Thread André Warnier
Pid * wrote: On 22 Dec 2010, at 23:38, André Warnier wrote: Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner wrote: Definitely the culprit. Now, I just have to convince the Dev team that they are, once again, a bunch of idiots. Fail. Pid, why /do/ the "static objects" links embedde

Re: httpd/Tomcat load balancing question

2010-12-22 Thread Pid *
On 22 Dec 2010, at 23:38, André Warnier wrote: > Pid * wrote: >> On 22 Dec 2010, at 23:02, Jeffrey Janner wrote: >>> Definitely the culprit. Now, I just have to convince the Dev team that >>> they are, once again, a bunch of idiots. >> Fail. > Pid, > why /do/ the "static objects" links embedde

Re: httpd/Tomcat load balancing question

2010-12-22 Thread André Warnier
Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner wrote: Definitely the culprit. Now, I just have to convince the Dev team that they are, once again, a bunch of idiots. Fail. Pid, why /do/ the "static objects" links embedded in the login page get back to the browser with a jsessioni

Re: httpd/Tomcat load balancing question

2010-12-22 Thread Pid *
f > >> -Original Message- >> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] >> Sent: Wednesday, December 22, 2010 4:50 PM >> To: 'Tomcat Users List' >> Subject: RE: httpd/Tomcat load balancing question >> >> In the specific case

RE: httpd/Tomcat load balancing question

2010-12-22 Thread Jeffrey Janner
2, 2010 4:50 PM > To: 'Tomcat Users List' > Subject: RE: httpd/Tomcat load balancing question > > In the specific case I mention below, this is the source from the jsp: > " /> > > I'm not a jsp programmer, but I'm betting it has something to d

RE: httpd/Tomcat load balancing question

2010-12-22 Thread Jeffrey Janner
; Sent: Wednesday, December 22, 2010 4:40 PM > To: 'Tomcat Users List'; 'Tomcat Users List' > Subject: RE: httpd/Tomcat load balancing question > > Thanks, that was what I was thinking. > Since the only JSP I have access to is the welcome-file, I'm not sur

Re: httpd/Tomcat load balancing question

2010-12-22 Thread André Warnier
Addendum. You could also write the links as (without leading "/"). That would keep them relative to the current app, and cause less work if you ever want to call the application other than "Portal". You could also put the static elements in your app under Tomcat. Unless there are lots of the

RE: httpd/Tomcat load balancing question

2010-12-22 Thread Jeffrey Janner
22, 2010 2:43 PM > To: Tomcat Users List > Subject: Re: httpd/Tomcat load balancing question > > Hi. > > Not knowing anything about JSP per se, I would nevertheless guess that > the links are > written using something like > or similarly, instead > of just plain html &g

Re: httpd/Tomcat load balancing question

2010-12-22 Thread André Warnier
Hi. Not knowing anything about JSP per se, I would nevertheless guess that the links are written using something like or similarly, instead of just plain html . That probably leads the JSP compiler to think it has to "relativise" the links to the app context and so on, while in this case it s

httpd/Tomcat load balancing question

2010-12-22 Thread Jeffrey Janner
Httpd 2.2.17 Tomcat 6.0.29 Sun JDK 1.6.0_22 Spring Framework (3.0.2 I think) All on Windows The Dev team is creating a new app that we are planning to deploy using httpd as a load-balancer to two Tomcats on separate servers. Httpd is configured to serve static files - graphics, css, etc. - with

Re: apache tomcat load balancing not working using mod_proxy

2010-09-13 Thread Mark Thomas
On 13/09/2010 11:20, Amol Puglia wrote: > Hello Mark, > > Thanks for the response. > > Please let me know what do i use in place of wildcard. You don't. Read the docs for ProxyPass. > 2)I required nofailover attribute as i have to load balanced two tomcat > servers in the backend. No you don'

Re: apache tomcat load balancing not working using mod_proxy

2010-09-13 Thread Amol Puglia
Warnier Subject: Re: apache tomcat load balancing not working using mod_proxy To: "Tomcat Users List" Date: Monday, September 13, 2010, 3:30 PM Amol Puglia wrote: .. > > > kindly assist me to acheive loadbalancing using proxies modules. > Kindly telling us what version o

Re: apache tomcat load balancing not working using mod_proxy

2010-09-13 Thread Amol Puglia
link which explains when to use the stickysession attribute. 4)I have fixed the jvmroutepath. --- On Mon, 9/13/10, Mark Thomas wrote: From: Mark Thomas Subject: Re: apache tomcat load balancing not working using mod_proxy To: "Tomcat Users List" Date: Monday, September 13, 2010, 3

Re: apache tomcat load balancing not working using mod_proxy

2010-09-13 Thread Mark Thomas
On 13/09/2010 10:56, Amol Puglia wrote: > No need to use a wildcard. > ProxyPass balancer://tomcatservers/* stickysession=JSESSIONID > nofailover=off No need to use a wildcard. The stickysession attribute is invalid - see the docs The nofailover attribue is unexpected unless you

Re: apache tomcat load balancing not working using mod_proxy

2010-09-13 Thread André Warnier
Amol Puglia wrote: .. kindly assist me to acheive loadbalancing using proxies modules. Kindly telling us what version of Apache, Tomcat, Java etc you are using, on which platform, and what is not working, may help us helping you.

apache tomcat load balancing not working using mod_proxy

2010-09-13 Thread Amol Puglia
Hello Team, I am trying to achieve load balancing with proxies modules. Following are the configuration of proxy module. LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so    Listen server_name:443      BalancerM

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-10 Thread Mladen Turk
On 09/10/2010 10:21 AM, Amol Puglia wrote: Hello Mladen, I already have application specific entry in server.xml for jvmroute which is shown as below. As per the loadbalancing document we would have to add following entry in the server.xml file I am unable to add above entry as already we

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-10 Thread Amol Puglia
Thu, 9/9/10, Mladen Turk wrote: From: Mladen Turk Subject: Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error To: users@tomcat.apache.org Date: Thursday, September 9, 2010, 6:08 PM On 09/09/2010 02:19 PM, Amol Puglia wrote: > Hello Mladen, > > I am still getting

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Mladen Turk
On 09/09/2010 02:19 PM, Amol Puglia wrote: Hello Mladen, I am still getting 500 error while accessing tomcat trhough apache. I have added following entry as suggested by you in httpd.conf file. JkMount /eMatrix/* loadbalancer;use_server_errors=500 Sorry, that wold actually force Apache erro

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Amol Puglia
il/loading_empty.gif< 14:12:20 DEBUG http-8083-3 [ MarsMonitorFilter.getRequestedURL] url >http://marsvca3.sw.ericsson.se:8083/eMatrix/images/buttons/loginOn.gif< 14:13:16 --- On Thu, 9/9/10, Pid wrote: From: Pid Subject: Re: Tomcat Load Balancing Not working and Apache URL is giving

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Amol Puglia
: Tomcat Load Balancing Not working and Apache URL is giving 500 error To: users@tomcat.apache.org Date: Thursday, September 9, 2010, 5:00 PM On 09/09/2010 01:01 PM, Amol Puglia wrote: > Hello Pid, > > I have set the jk log level to debug and i can see following messages in the > mod_jk

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Mladen Turk
On 09/09/2010 01:01 PM, Amol Puglia wrote: Hello Pid, I have set the jk log level to debug and i can see following messages in the mod_jk log. It seems request is going to tomcat and apache is giving 500 error messages. Because Tomcat returns 500 To see the tomcat generated page instead Ap

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Pid
On 09/09/2010 12:01, Amol Puglia wrote: > Hello Pid, > > I have set the jk log level to debug and i can see following messages in the > mod_jk log. > > It seems request is going to tomcat and apache is giving 500 error messages. > > kindly let me know how to proceed further. Please provide err

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Amol Puglia
Hello Pid, I have set the jk log level to debug and i can see following messages in the mod_jk log. It seems request is going to tomcat and apache is giving 500 error messages. kindly let me know how to proceed further. [Thu Sep 09 12:16:49 2010] [1723:1] [debug] ajp_unmarshal_response::jk_aj

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Pid
On 09/09/2010 09:59, Mladen Turk wrote: > On 09/09/2010 09:28 AM, Amol Puglia wrote: >> Hello Team, >> >> We have also noticed that jk module is loading properly in apache. >> >> [Tue Sep 07 09:43:29 2010] [notice] Apache/2.0.59 (Unix) mod_jk/1.2.24 >> DAV/2 mod_ssl/2.0.59 OpenSSL/0.9.7d configured

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Mladen Turk
On 09/09/2010 09:28 AM, Amol Puglia wrote: Hello Team, We have also noticed that jk module is loading properly in apache. [Tue Sep 07 09:43:29 2010] [notice] Apache/2.0.59 (Unix) mod_jk/1.2.24 DAV/2 mod_ssl/2.0.59 OpenSSL/0.9.7d configured -- resuming normal operations Beside that it loads,

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Amol Puglia
worker.loadbalancer.balanced_workers=tomcat1,tomcat3 worker.loadbalancer.balanced_workers=tomcat2,tomcat3 --- On Thu, 9/9/10, Andrew Bruno wrote: From: Andrew Bruno Subject: Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error To: "Tomcat Users List" Date: Thursday, September 9,

Re: Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Andrew Bruno
Hi Amol, I am trying to do the exact same thing. It works for two workers, but fails as soon as I add one worker. Can you please try these alternatives, and let me know if it works for you? worker.loadbalancer.balanced_workers=tomcat1,tomcat2 worker.loadbalancer.balanced_workers=tomcat1,tomcat

Tomcat Load Balancing Not working and Apache URL is giving 500 error

2010-09-09 Thread Amol Puglia
Hello Team, We have installed one instance of apache and 3 instance of tomcat. We have compiled mod_jk module to forward request to 3 instance of tomcat. We have configured workers.properties and it is loaded in httpd.conf file. We are successfully able to redirect request to plain tomcat insta

Re: Tomcat load balancing question x problem

2010-08-30 Thread Thiago Locatelli da Silva
Thanks for your two cents Luca, they are a pretty smart idea on how to load balance thing in a expert way, however this is not a reality when you work for a company that a thinking line as "do more with less", they wont give me an extra nic for load balancing neither a third server... my constr

Re: Tomcat load balancing question x problem

2010-08-30 Thread Ozgur Ozdemircili
hi, This seems the correct way to do. The best way to do it is to use a balanced ip. In my setup I use the same http.conf and workers file on both of the server. When one tomcat goes down the apache sends all the rest of the queries to second node. When the apache goes down the load balancer, in

Re: Tomcat load balancing question x problem

2010-08-30 Thread Thiago Locatelli da Silva
Thats the way my mod_proxy conf is right now BalancerMember http://servera:8080/agent/ route=worker0 keepalive=On loadfactor=1 BalancerMember http://serverb:8080/agent/ route=worker1 keepalive=On loadfactor=1 ProxySet lbmethod=byrequests maxattempts=3 stickysession=JSESSIONID|jsessio

Re: Tomcat load balancing question x problem

2010-08-29 Thread Luca Gervasi
On Fri, 2010-08-27 at 09:17 -0300, Thiago Locatelli da Silva wrote: > Hello list! :) > > Here at work I was asked to give a try on load balancing two tomcat > servers running tomcat 6.0.29. The problem is that I was given only two > servers to do this, what gave me only one option: run the apach

Re: Tomcat load balancing question x problem

2010-08-27 Thread Rainer Jung
On 27.08.2010 19:22, Thiago Locatelli da Silva wrote: Hi Rainer, I followed your suggestions and it seems to be working, the load balacing, now i need to look into why my application, created with gwt + comet is not working. It seems that comet stopped working. Any information about what the s

Re: Tomcat load balancing question x problem

2010-08-27 Thread Thiago Locatelli da Silva
Hi Rainer, I followed your suggestions and it seems to be working, the load balacing, now i need to look into why my application, created with gwt + comet is not working. It seems that comet stopped working. Thanks T Rainer Jung escreveu: On 27.08.2010 14:17, Thiago Locatelli da Silva wrot

Re: Tomcat load balancing question x problem

2010-08-27 Thread Thiago Locatelli da Silva
My apache version is 2.2.3 as follow. [r...@servera ~]$ httpd -version Server version: Apache/2.2.3 Server built: Nov 10 2007 12:44:08 I will take a look at your suggestions and give a try. I will be further posting my finding on this thread. Thanks a lot Rainer T Rainer Jung escreveu: O

Re: Tomcat load balancing question x problem

2010-08-27 Thread Rainer Jung
On 27.08.2010 14:17, Thiago Locatelli da Silva wrote: Hello list! :) Here at work I was asked to give a try on load balancing two tomcat servers running tomcat 6.0.29. The problem is that I was given only two servers to do this, what gave me only one option: run the apache in one of these server

Tomcat load balancing question x problem

2010-08-27 Thread Thiago Locatelli da Silva
Hello list! :) Here at work I was asked to give a try on load balancing two tomcat servers running tomcat 6.0.29. The problem is that I was given only two servers to do this, what gave me only one option: run the apache in one of these servers. So I decided to put the apache httpd server which

Tomcat load balancing

2009-08-11 Thread Chetan Chheda
Hello folks, I have 2 resource hungry processes that need to run on 2 separate tomcats. I have setup mod_jk to load balance between the 2 tomcats, but sometimes they end up on the same one. Is there a way to guarantee they run on separate tomcats? Is there an option to do "load" ba

Tomcat load balancing issue

2007-10-12 Thread Pamarthi, Ramakrishna
Hi, We have implemented the tomcat load balancing recently. We are getting the below error in catalina.out file some times. But application is working fine. Oct 10, 2007 6:20:00 AM org.apache.jk.common.MsgAjp processHeader SEVERE: BAD packet signature 25717 Oct 10, 2007 6:20:00 AM