thanks, I pasted in Mladen's example without looking
at it closely. The coffee is really kicking in. This
is the configuration that works for me....
<Proxy balancer://mycluster>
BalancerMember ajp://x.x.x.x:8009/servlets-examples
BalancerMember ajp://y.y.y.y:8009/servlets-examples
</Proxy>
<Location /servlets-examples>
ProxyPass balancer://mycluster
</Location>
--- Filip Hanik - Dev <[EMAIL PROTECTED]> wrote:
> how about you correct the spelling :)
>
> Filip
>
> ----- Original Message -----
> From: "Elihu Smails" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]> 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:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
> >
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Take Yahoo! Mail with you! Get it on your mobile
> phone.
> http://mobile.yahoo.com/maildemo
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]