Summary: | It is not possible to have multiple instacnes of same docBase inside appBase | ||
---|---|---|---|
Product: | Tomcat 6 | Reporter: | Ognjen Milic <ognjen.milic> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | default | ||
Hardware: | All | ||
OS: | All |
Description
Ognjen Milic
2010-12-09 05:18:13 UTC
This is working as designed. If you need further assistance, please use the users mailing list. (In reply to comment #1) > This is working as designed. If you need further assistance, please use the > users mailing list. But in documentation for Context tag it is written The Document Base (also known as the Context Root) directory for this web application, or the pathname to the web application archive file (if this web application is being executed directly from the WAR file). You may specify an absolute pathname for this directory or WAR file, or a pathname that is relative to the appBase directory of the owning Host. If I have only one xml file in example above called iisstampa.xml with docBase=iis. Message A docBase /home/programi/tomcat/webapps/iis inside the host appBase has been specified, and will be ignored. Then Tomcat looks for folder iisstampa under webapps folder which does not exist and the context is not loaded. So there is no possibility to have docBase set relative to appBase because every relative path is ignored. Patches to the documentation are welcome. I have updated the docs. The update will be included in 7.0.7 onwards. The documentation patch has been applied to Tomcat 6 as well, along with further clarifications added later. It will be in 6.0.37. |