Re: Locating WebAppConfig file in embedded tomcat

2015-04-28 Thread Benjamin Rogge
directory and not a jar file: final StandardContext webAppCtx = (StandardContext) this.tomcat.addWebapp("/webapp-name", Paths.get(this.tomcat.getHost().getAppBase(), "webapp-name").toAbsolutePath().toString()); - Is there a special working directory expected

Locating WebAppConfig file in embedded tomcat

2015-04-28 Thread Benjamin Rogge
which does not exist. Hence, Tomcat is proceeding to load the config file from a jar file, which leads to the warning mentioned above. My questions are: - What are the correct parameters for Tomcat.addWebapp(String contextPath, String docBase)? - Is there a