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

Dustin,

Dustin Fortin wrote:
>> 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?

You can do either, but I think it's sooooo much easier to just stick it
into your WAR file (or webapp directory, whichever you prefer).

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

You can probably copy the JDBC resources verbatim from one to the other.
In fact, you could probably move those into your context.xml unless they
need to be shared by multiple applications (and cannot be separated for
some reason).

The problems tend to be exact class names for various managers,
deprecated (or removed) XML elements, new stuff that you never knew you
needed, etc.

- -chris

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

iD8DBQFHH1m/9CaO5/Lv0PARApzFAKCej0aH20EuZggQJ2PdLZJWlSiBvwCgjOl7
5wb6XDcis3Pi6StVe1cG4wI=
=+DB+
-----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