As part of re-installing NetBeans 7.0.1, I had Tomcat 7.0.14 installed too on my PC. I created a manager role too. I can access http://localhost:8084/manager/html
successfully.
<role rolename="manager-gui" />
<user username="tomcat" password="tomcat" roles="manager-gui"/>
However, when I try to access documentation, like http://localhost:8084/docs/setup.html
, I get a HTTP 404 resource not available
. I checked in the installation directory and /webapps/docs/setup.html
does exist.
What am I doing wrong? What am I missing? Thanks.
EDIT
Here is the Host content of server.xml
:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log." suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" resolveHosts="false"/>
</Host>
I could not find any catalina.out
files in the log directory (or elsewhere).