before you create the war file you can create that meta-inf folder and add context.xml to it. even you can extract the war file create that folder and xml file and rearchive the war file.
if you the the later make sure that content of archive file should be your web application content not the folder that contains your web application.
Joined: Sep 18, 2005
Hi again, sorry if I'm getting this slow. Does context.xml need be the same name as my application like what you do with $CATALINA_HOME/conf/engine/host? Also, would all the attributes on the context tag still be mandator?