Re: AJP Proxying

2008-08-12 Thread Stephen Nelson-Smith
Ok... just to be clear, after more testing: On the same machine, using apache 2.2 mod_proxy_ajp: 1) set ProxyPass to localhost 2) use application server.xml All works. Move apache to a different machine. 1) Set ProxyPass to IP or DNS name of tomcat server Apache gives a 400 and I get no conte

Re: AJP Proxying

2008-08-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen Nelson-Smith wrote: | * My server.xml was not originally written by me, and has been handed | down and modified over the ages. It was originally from Tomcat 4.1 | * Tomcat works fine in standalone mode - the app works. Your server.

RE: AJP Proxying

2008-08-12 Thread Caldarale, Charles R
> Stephen Nelson-Smith wrote: > > My server.xml was not originally written by me, and > has been handed down and modified over the ages. It > was originally from Tomcat 4.1 This is generally a really bad idea. Due to changes in the syntax and semantics of server.xml over the years, you cannot g

Re: AJP Proxying

2008-08-13 Thread Stephen Nelson-Smith
Hi, > When you move Tomcat to another machine, no matches and you get a > 400 error. The problem was that I was hitting the loadbalancer with name lb1 or www.mysite.com. This was being proxied to machines called tomcat1, tomcat2 etc. Changing the alias to www.mysite.com seems to have fixed thi

Re: AJP Proxying

2008-08-13 Thread Stephen Nelson-Smith
On Tue, Aug 12, 2008 at 9:40 PM, Caldarale, Charles R <[EMAIL PROTECTED]> wrote: >> Stephen Nelson-Smith wrote: >> >> My server.xml was not originally written by me, and >> has been handed down and modified over the ages. It >> was originally from Tomcat 4.1 > > This is generally a really bad idea

Re: AJP Proxying

2008-08-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephen, Stephen Nelson-Smith wrote: |> Note that name="tomcat1" plus tomcat1 doesn't get you |> anything ;) | | Do you mean that the alias is redundant? Yeah. Name='foo' plus alias='foo' is the same as leaving the alias off. - -chris -BEGIN PG