public void setupDefaultSettings() {
    HashMap<String, String> attributes = new HashMap<>();

    // Set the session manager class within the context XML file
    attributes.put("className", getContextSessionManagerClass());
    editXMLFile(getDefaultContextXMLFile(), "Tomcat", "Manager", "Context",
        attributes);

    // Set the server lifecycle listener within the server XML file
    attributes.put("className", getServerLifeCycleListenerClass());
    editXMLFile(getDefaultServerXMLFile(), "Tomcat", "Listener", "Server",
        attributes);
  }
Modifies the context and server XML files in the installation's 'conf' directory so that they
contain the session manager class ({@link #getContextSessionManagerClass()}) and life cycle
listener class ({@link #getServerLifeCycleListenerClass()}) respectively
geode-assembly/geode-assembly-test/src/main/java/org/apache/geode/session/tests/TomcatInstall.java