On 26/02/2010 08:27, Ivan Longhi wrote:
hi christopher,

On Thu, Feb 25, 2010 at 9:33 PM, Christopher Schultz
<ch...@christopherschultz.net>  wrote:
You shouldn't declare<Context>  elements within conf/server.xml in any
currently-supported version of Tomcat. Instead, put everything you need
in your webapp's META-INF/context.xml file. Remember that "path" and
"docBase" parameters are not allowed.

ok, but since /path_to_some_dir/ is outside tomcat root (
$CATALINA_HOME ), how can I tell tomcat to look for
/path_to_some_dir/META-INF/context.xml file?

In that case, the method is to manually deploy the context.xml as conf/Catalina/hostname/appname.xml. You may set a docBase in this situation.


p

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

Reply via email to