I have set up a web application in a directory outside of the webapps directory on a unix box and created a symbolic link to the directory within the webapps directory. ie. directory is '/home/fitcorp/fitcorpdev/' with a symbolic link 'webapps/dev'.
I have added the new application to the server.xml document for tomcat and when I start tomcat 4.1 it recognises the application and creates no errors in the log files. However when I try to access a servlet in the application it writes to the log file that it has started the application using the default directory structure and cannot access the web.xml file. The application throws an error stating it cannot access the servlet.
I'm not sure why it is trying to start the application again. Is it something to do with having a symbolic link in the directory?
If anyone can offer any suggestions they would be greatly appreciated