You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Anthony Scott <as...@interaccess.com> on 2001/05/10 16:19:24 UTC

Server.xml

I have a problem with Tomcat reading application outside of /webapp. I
have setup my webserver to mount my client box to read public_html
directory. Apache work fine for  http://www.rose.com/~sco/ but my

attempt to config server.xml to read the client directory has failed.  I
added the following to my server.xml file


 <Context path="/Jack"
                 docBase="/home/sco/Jack"
                 crossContext="false"
                 debug="9"
                 reloadable="true"
                  >
        </Context>

I get the following when I restart Tomcat
 .............................................................................

"2001-05-10 08:47:34 - ContextManager: calc work dir /opt/Tomcat/work
2001-05-10 08:47:35 - Ctx( /examples ): Add user tomcat tomcat tomcat
2001-05-10 08:47:35 - Ctx( /examples ): Add user role1 tomcat role1
2001-05-10 08:47:35 - Ctx( /examples ): Add user both tomcat
tomcat,role1
2001-05-10 08:47:35 - Ctx( /examples ): Loading -2147483646 jsp
2001-05-10 08:47:35 - Ctx( /Jack ): XmlReader - init  /Jack
/home/sco/Jack
2001-05-10 08:47:35 - Ctx( /Jack ): Reading
/home/sco/Jack/WEB-INF/web.xml
2001-05-10 08:47:35 - Ctx( /Jack): Loading -2147483646 jsp
2001-05-10 08:47:37 - PoolTcpConnector: Starting Ajp12ConnectionHandler
on 8007"

However http://www.rose.com/Jack/ ...    doesn't work and Tomcat doesn't
produce an error but Apache  has the following error in the logs.

[Thu May 10 00:00:45 2001] [error] [client X.X.X.X] File does not exist:
/home
/httpd/html/Jack/

Network Setup

Apache 1.3.7
Tomcat 3.2

Webserver: www.rose.com
Client :         www.sco.com

Can anyone tell me what I'm doing wrong?

Tony