... until the collector arrives ...

This "blog" is really just a scratchpad of mine. There is not much of general interest here. Most of the content is scribbled down "live" as I discover things I want to remember. I rarely go back to correct mistakes in older entries. You have been warned :)


Tomcat Deployment By Reference

You can deploy web applications and static content in Tomcat without dropping files into the webapps directory.  This is useful if you want the content to reside outside of the Tomcat directory tree.  You do this by putting a Context fragment in the host's configuration directory (e.g. ${TOMCAT_HOME}/conf/Catalina/localhost).  That is, use an XML file that looks like this:

<Context path="/mycontent" docBase="c:\somewhere\mycontent"/>

The docBase can be a WAR file.

Blog Archive