Hi Dave,

On Thu, Feb 5, 2009 at 2:52 PM, Dave Pawson <dave.paw...@gmail.com> wrote:
>
>
> From the docs "Context elements may be explicitly defined:
> .... <snip/>
>    * in individual files (with a ".xml" extension) in the
> $CATALINA_BASE/conf/[enginename]/[hostname]/ directory."
>
> Which I interpret that to have my servlet deployed (found?) I need to
> set up an XML file
> as per that web page at
> {}/conf/????/marge/atom.xml
>

Nope, you don't have to.

Within your webapp, create a folder "META-INF", and within this folder
create a file named "context.xml"

An example:

<?xml version='1.0' encoding='utf-8'?>
<Context>
  <Resource
[.. put your ressource-defs here ]
</Context>

Tomcat's deployer will do the rest and put that file into the correct
directory, after renaming the file to ${your_webapp_name}.xml

> What's the engine name please?

That's usually Catalina

Rgds

Gregor
-- 
just because your paranoid, doesn't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available @ http://pgpkeys.pca.dfn.de:11371

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to