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
-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.
> 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
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
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
-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