-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dustin,

Dustin Fortin wrote:
> Do you know of anywhere to find documentation on migrating
> an old server.xml to the new standard, as I've been unable to find any
> so far.

The best thing to do is start with the stock server.xml file -- it
should contain /tons/ of comments for what each element does and what
it's options are. Put the new (stock) configuration and your old
configuration side-by-side and migrate each of the things you need. My
guess is that you'll need to do nothing other than properly configure
the <Connector> to meet your needs (HTTP or AJP) and maybe configure
session persistence or something like that.

These days, all app-specific configuration should go into your webapp's
META-INF/context.xml file.

> I have however found syntactical issues by trial and error with
> the t5 server.xml when referring to the UserDatabase Resource name.  I
> fixed those issues so that no exceptions were thrown to log.  Could
> there be other syntactical issues that for some reason do not cause an
> exception to be thrown?

I tried migrating from 4.1 to 5.5 in the way you're trying to do it: use
my old server.xml file and fix errors until everything worked. It never
worked: it was a fool's errand. Even when there are no errors, it still
might not work. The best thing to do is start with the stock config file
and modify it little by little until you're done.

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

iD8DBQFHH0+q9CaO5/Lv0PARAlnIAJ9bcRfmm8uE+SjRWneU2d+Px5qr7ACfcBOu
9ornzya+L1WI/VFy+0FhJUw=
=0Tc/
-----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