Java Mailing List Archive

http://www.junlu.com/

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

Re: Tomcat's Ant Tasks [Install]

Remy Maucherat

2004-01-22

Replies:

Robert D. Abernethy IV wrote:
> What does the name of the context file have to be? The Tomcat 5 deploy
> task is automatically looking for "META-INF/context.xml". Will this
> name work? Or does the file need the same name as the context?

No, it's context.xml always. It will then be copied (and renamed) to
conf/[enginename]/[hostname]/[contextname].xml
If you undeploy your context, it will be removed as well.

Tomcat will look for "META-INF/context.xml" when deploying all webapps
(including, for example, if you drop a .war in "webapps"), so this is a
lot more consistent than before. I think in Tomcat 4 it worked only with
the deploy task.

--
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
R�my Maucherat
Senior Developer & Consultant
JBoss Group (Europe) S�RL
xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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



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