I am trying to learn how apache and tomcat and war files work
I have downloaded The Turnkey Tomcat on Apache VM and am running it in Parallels
http://www.turnkeylinux.org/tomcat-apache
I have downloaded a sample WAR file
http://tomcat.apache.org/tomcat-6.0-doc/appdev/sample/
I then upload the sample.war file in the Tomcat Manager Application
But when I browse to "http://[ip-address-of-vm]/sample" i get Not Found
You probably need to add a
JkMount
directive to the Apache mod_jk configuration. Edit the file/etc/tomcat6/mod_jk.conf
and add a line like this:The
mod_jk.conf
file most likely already containsJkMount
directives for the manager webapp and a few others. Make sure the name of the AJP worker (ajp13_worker
in the example above) matches the one used in existing mappings.Then restart the Apache Web server.