Context not working when not in $TOMCAT_HOME/webapps dir
I have a linux machine (RH7) running Apache and Tomcat. All seems to be
running well. I was able to create my own context under the
$TOMCAT_HOME/webapp directory and it serves jsp's and servlets, but when
I try and create a context outside of this webapp directory (i.e. in my
web path), I can't seem to get the servlets to run. I just get a 404
error from Netscape. If I just move the context under the webapps
directory, it seems to be running fine.
I'm running out of ideas. I'm thiniking it could have something to do
with the classpath not being set correctly. By the way, I am using the
mod_jserv file, not mod_jk.
Here is the porstion of the server.xml file that defines the new context
in a new webapps directory I created in my web path /home/www. This is
the one that won' work.
<Context path="/dev"
docBase="/home/www/webapps/dev"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
Here is a portion of the tomcat.conf file that pertains to the above
context that won't serve servlets.
<Directory "/home/www/webapps/dev">
Options Indexes FollowSymLinks
</Directory>
<Location "/dev/WEB-INF/">
AllowOverride None
deny from all
</Location>
<Location "/dev/META-INF/">
AllowOverride None
deny from all
</Location>
ApJServMount default /root
ApJServMount /servlet /ROOT
ApJServMount /examples/servlet /examples
ApJServMount /dev/servlet /dev
Any ideas?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]