On Thu, Mar 21, 2013 at 11:10 AM, André Warnier <a...@ice-sa.com> wrote:
> Manuel Fernández Panzuela wrote:
>>
>> To publish your wwwdoc directory you must edit sever.xml and look for
>> <Host>
>> tag. Inside this block write a line like::
>>
>> <Context docBase="D:/wwwroot" path="/wwwroot" reloadable="true" />
>>
> Hi.
> Don't top-post.
> And the page which the original poster apparently mis-read, also says (in
> bold) :
>
> It is NOT recommended to place <Context> elements directly in the server.xml
> file.
>
> https://tomcat.apache.org/tomcat-7.0-doc/config/context.html
>


Hi André,

Thanks for the feedback.  I'm still getting the 404 error with this wwwroot.xml:

<?xml version="1.0" encoding="ISO-8859-1"?>
<Context docBase="D:/wwwroot">
</Context>

And the catalina log shows:Mar 21, 2013 11:46:27 AM

org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.26
Mar 21, 2013 11:46:27 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor
D:\apache-tomcat-7.0.26\conf\Catalina\localhost\wwwroot.xml
Mar 21, 2013 11:46:28 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory D:\apache-tomcat-7.0.26\webapps\docs
Mar 21, 2013 11:46:28 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory
D:\apache-tomcat-7.0.26\webapps\examples

Thanks,
Tommy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to