tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filip Hanik - Dev" <devli...@hanik.com>
Subject Re: compiling mod_proxy_ajp
Date Wed, 01 Dec 2004 20:21:08 GMT
how about you correct the spelling :)

Filip

----- Original Message ----- 
From: "Elihu Smails" <elihusmails2000@yahoo.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
Sent: Wednesday, December 01, 2004 2:17 PM
Subject: Re: compiling mod_proxy_ajp


when I try to set up balancing, I get the following
Apache startup errors:

Invalid command 'BalacerMember', perhaps mis-spelled
or defined by a module not included in the server
configuration

Here is the output from "apachectl -l"
  core.c
  mod_log_config.c
  mod_setenvif.c
  mod_proxy.c
  proxy_connect.c
  proxy_ftp.c
  proxy_http.c
  proxy_ajp.c
  proxy_balancer.c
  mod_ssl.c
  worker.c
  http_core.c
  mod_status.c
  mod_so.c

Here is the snippet from httpd.conf"
------------------
<Proxy balancer://mycluster>
   BalacerMember ajp://xxx.xxx.xxx.xxx:8009 max=2
lbfactor=2
   BalacerMember ajp://xxx.xxx.xxx.yyy:8009 max=2
lbfactor=1
</Proxy>

ProxyPassReverse /servlets-examples 
balacer://mycluster/servlets-examples
-------------------




--- Mladen Turk <mturk@apache.org> wrote:

> Elihu Smails wrote:
> > 2 questions...
> > 
> > 1. Is there anything that must be configured in
> Apache
> > to get Apache to talk to Tomcat?
> 
> 
> 
> ProxyPass /servlets-examples
> ajp://localhost:8009/servlets-examples
> ProxyPassReverse /servlets-examples
> ajp://localhost:8009/servlets-examples
> 
> Just like http proxy :).
> 
> Or..
> <Proxy balancer://mycluster>
>    BalacerMember ajp://first.server:8009 max=50
> lbfactor=2
>    BalacerMember ajp://second.server:8009 max=100
> lbfactor=1
> </Proxy>
> 
> ProxyPassReverse /servlets-examples
> balacer://mycluster/servlets-examples
> 
> 
> 
> > 2. Is mod_proxy_ftp required for mod_proxy_ajp ?
> > 
> 
> No.
> 
> 
> > Thank you.
> >
> No problem :)
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> 
> 




__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message