Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Deploying with Static Context Descriptors

Bob Savard

2006-04-04



Hi.

I just struggled with this and here's what I've determined so far. It
depends on where your context xml file lives:

1) If your context XML file is named via the convention
$CATALINA_HOME/conf/[enginename]/[hostname]/[contextname].xml, then you're
fine. Note that the file name is named after its context.
2) If your context XML file lives in the META-INF directory, it's called
"context.xml" and you need to set "deployXML=true" in Tomcat's server.xml
Host element. See the Tomcat doc for the Host element.

Hope that helps.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.