要给某个webapp设定单独的context.xml,只需要在${WEBAPP_ROOT}/webapp目录下新建一个META-INF目录,并将context.xml放进去,就可以了。
context.xml
${WEBAPP_ROOT}/webapp
META-INF