You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/11/16 05:20:09 UTC

DO NOT REPLY [Bug 37523] New: - Virtual Host ROOT context ignores docBase value

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37523>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37523

           Summary: Virtual Host ROOT context ignores docBase value
           Product: Tomcat 5
           Version: 5.5.12
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: rob@netpaver.com.au


We are often developing a number of applications simultaneously, typically
running from the Root directory so we use the Virtual Host functionality in
Tomcat exclusively.  We develop on Windows workstations and our problem occurs
on both Win 2000 and Win XP.  Prior to upgrading to Tomcat 5.5.12, we would put
our web app into a directory (eg d:\wwwroot\test), use the Admin console to
create a virtual host with the appBase pointing to this directory
(d:/wwwroot/test), then create a root context with a docBase of "./" and a path
of "/".  This all worked perfectly.

Since upgrading to Tomcat 5.5.12, we find that this process works as before,
until we restart Tomcat.  Then the application fails to work and the following
appears in the Tomcat error log:

WARNING: A docBase D:\wwwroot\test\. inside the host appBase has been specified,
and will be ignored
16/11/2005 11:29:29 org.apache.catalina.core.StandardContext resourcesStart
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base d:\wwwroot\test\ROOT does not
exist or is not a readable directory

I can provide a suitable example application for testing if required.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org