• Daniel Gerhardt's avatar
    Only include annotations instead of full Stagemonitor dependency · 43c5883b
    Daniel Gerhardt authored
    Stagemonitor and its dependencies are no longer included in builds. To
    enable Stagemonitor in production, the libraries must be provided by the
    host system. Additionally, the Java Servlet container needs to be setup
    to load these additional dependencies for the web app.
    
    For Tomcat 8 this is done by setting up a context config file in
    conf/Catalina/localhost/<context path>.xml with the following content:
    
        <Context>
          <Resources className="org.apache.catalina.webresources.StandardRoot">
            <JarResources className="org.apache.catalina.webresources.DirResourceSet"
                base="<path to Stagemonitor JARs>"
                webAppMount="/WEB-INF/lib">
            </JarResources>
          </Resources>
        </Context>
    
    See https://tomcat.apache.org/tomcat-8.0-doc/config/resources.html for
    more configuration options.
    43c5883b