I am using
Tomcat 4 in Linux. Yes , I know this is an old version but this is company software and I have to work with what's there.
I was under the impression these built-in webapps should work as-is by typing a URL
http://myhost:8080/tomcat-docs/index.html.
But it doesn't work.
I have checked to make sure the index.html file exists.
I have checked the server.xml file and the context is defined for tomcat-docs.
I have checked to make sure there is a web.xml file under WEB-INF in the tomcat-docs/ directory.
I have restarted Tomcat multiple times.
I can only access files under the ROOT directory. I can add new *.html and *.jsp files in ROOT and access them, but I can't access any other webapps.
I tried creating other webapps (with the appropriate context definitions in server.xml and the appropriate directory structures) but I couldn't access them either.
Just for fun I actually deleted the server.xml file out of the conf/ directory, and Tomcat still ran fine, and I was able to access the ROOT/ directory files.
It seems like Tomcat is not reading the server.xml file at all.
Any suggestions? (would be much appreciated)