Loading Context's in 4.1.12.
I was digging around in 4.1.12 and found that there's a whole new way to specify your context. You can now do it in a context.xml
file in your webapps directory. Here's the manager.xml
that ships with Tomcat.
<Context path="/manager" docBase="../server/webapps/manager" debug="0" privileged="true"> <!-- Link to the user database we will get roles from --> <ResourceLink name="users" global="UserDatabase" type="org.apache.catalina.UserDatabase"/> </Context>
Cool! That'll make Tomcat much easier to configure.