-----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.xml looks inconsistent:

|     <Engine name="Catalina" defaultHost="localhost">
|       [snip]
|       <Host appBase="/home/sites/home/web" liveDeploy="false"
| autoDeploy="false" debug="4" name="tomcat1" >

You have only one <Host> and it's name is "tomcat1", but your
defaultHost is "localhost". I suspect that "tomcat1" is the DNS name of
your working configuration, so it works.

When you move Tomcat to another machine, no <Host> matches and you get a
400 error.

You have two options:

1. Change 'name="tomcat1"' to reflect the actual name of the server
~   where TC is running.

2. Change 'name="tomcat1"' to 'name="localhost"'.

I like option 2 because it will work if you then move the configuration
to a third (or 90th) machine.

Note that name="tomcat1" plus <Alias>tomcat1</Alias> doesn't get you
anything ;)

Oh, and you're right: <Logger> is gone in TC 5.5. You need to configure
logging differently. Check the TC 5.5. logging documentation once you
get this issue resolved.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkih5poACgkQ9CaO5/Lv0PD28gCeM6kcO25et8DIJjviCOEw2t6q
0VUAn0m6mgg1xQJN8+clQfMm7vu9+AgU
=pZdB
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to