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
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