tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick.Hollo...@pyrites.org.uk (Nick Holloway)
Subject Re: Getting there... but how to stop automatic contexts?
Date Mon, 09 Oct 2000 07:20:48 GMT
paulh@oven.com (Paul Hoepfner-Homme) writes:
> Context log: path="/admin" Automatic context load
> docBase="/usr/local/tomcat/webapps/admin"
> [...]
>                                     Is there a way to stop Tomcat from
> automatically mounting them, and only to mount the ones I tell it to
> explicitly in server.xml?

Remove the following from "server.xml":

    <ContextInterceptor className="org.apache.tomcat.context.AutoSetup" />

This is responsible for performing the automatic loading of contexts.

-- 
 `O O'  | Nick.Holloway@pyrites.org.uk
// ^ \\ | http://www.pyrites.org.uk/

Mime
View raw message