--- src/main/java/org/apache/catalina/Container.java (revision 298) +++ src/main/java/org/apache/catalina/Container.java (working copy) @@ -319,6 +319,7 @@ if (host != null && ((Host) host).getXmlBase() != null) { result.append(((Host) host).getXmlBase()).append('/'); } else { + result.append("conf/"); if (engine != null) { result.append(engine.getName()).append('/'); } --- src/main/java/org/apache/catalina/startup/ContextConfig.java (revision 298) +++ src/main/java/org/apache/catalina/startup/ContextConfig.java (working copy) @@ -472,7 +472,7 @@ String hostContextFile = Container.getConfigPath(context, Constants.HostContextXml); try (ConfigurationSource.Resource contextXmlResource = - ConfigFileLoader.getSource().getConfResource(hostContextFile)) { + ConfigFileLoader.getSource().getResource(hostContextFile)) { URL defaultContextUrl = contextXmlResource.getURI().toURL(); processContextConfig(digester, defaultContextUrl, contextXmlResource.getInputStream()); } catch (MalformedURLException e) { @@ -1898,7 +1898,7 @@ } } else { String hostWebXml = Container.getConfigPath(context, Constants.HostWebXml); - webXmlResource = ConfigFileLoader.getSource().getConfResource(hostWebXml); + webXmlResource = ConfigFileLoader.getSource().getResource(hostWebXml); } } catch (IOException e) { // Ignore if not found