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

So there should not be $CATALINA_HOME/conf/<engine>/<hostname>/*.xml
with the path to the webapp being in the name of the .xml?  Instead you
should put the context.xml file in the META-INF folder?  I thought the
documentation said to put all contexts in the above directory?

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

I'll give this a shot if I can't get my current config to do anything in
the next day or so and write back with what the issue was that caused
the server to start, but nothing to be served up.  It's just unfortunate
that the differences are that great as there are a ton of jdbc resources
I will have to rewrite, and I was hoping to not have to do so.

Thanks
-dustin

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


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