Mailing List Archive

Problem with balancing, using Apache+Resin
Hi,
I have 2 linux pc each of which runs an Apache web-server and a Resin
application server. I want to balance the 2 web-servers.
I have already configured Apache httpd.conf files following the
documentation on site, but I have a problem: when a request for a dynamic
page (.jsp) comes, module backhand doesn't work and only an application
server responds, otherwise if a request for a static page(.html) comes
module backhand works succesfully.
Can anyone help me?
Thank you





_________________________________________________________________
Solo posta desiderata. Solo promozioni mozzafiato. MSN Offerte Speciali
http://www.msn.it/msnservizi/so/
Problem with balancing, using Apache+Resin [ In reply to ]
marco beretta wrote:

> Hi,
> I have 2 linux pc each of which runs an Apache web-server and a Resin
> application server. I want to balance the 2 web-servers.
> I have already configured Apache httpd.conf files following the
> documentation on site, but I have a problem: when a request for a
> dynamic page (.jsp) comes, module backhand doesn't work and only an
> application server responds, otherwise if a request for a static
> page(.html) comes module backhand works succesfully.
> Can anyone help me?
> Thank you

I am not familiar with Resin. But I have this working on Tomcat/Jakarta
with mod_jk. I think you may be experiencing a module ordering problem?
Have you tried using a <Files ~ "\.jsp$"> clause to specifically target
all jsp files? Also, try moving mod_backhand high in the module
ordering by using explicit AddModule directives.

--
Theo Schlossnagle
Principal Consultant
OmniTI Computer Consulting, Inc. -- http://www.omniti.com/
Phone: +1 410 872 4910 x201 Fax: +1 410 872 4911
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7

-----------------------------------------------------------
-- Presenting at ApacheCon --
-- November 18th, 2002 --
-- Las Vegas, Nevada --
-- Backhand: understanding and building HA/LB clusters --
-- http://apachecon.com/2002/US/ --
-- --
-- Learn all there is to know about high availability --
-- internet systems and load balancing techniques --
-- focusing on applications driven by the Apache web --
-- server! --
-----------------------------------------------------------