I've installed Tomcat 8.0.32 a local Ubuntu 16.04 VM (Oracle VirtualBox) and I'm using it to access a webapp through the laptop the VM is local to. The VM port-forwards 3081 to 8080, so I can access Tomcat as ` http://127.0.0.1:3081/` in my laptop browser.
Accessing `http://127.0.0.1:3081/` gives the default page stored in `/var/lib/tomcat8/webapps/ROOT/index.html`. So, Tomcat is able to find and serve from the `webapps/` directory. However, if I try to access `http://127.0.0.1:3081/myWebapp/index.html`, which exists as `/var/lib/tomcat8/webapps/myWebapp/index.html`, Tomcat returns a 404, reporting that the requested resource in unavailable. `/var/lib/tomcat8/webapps/myWebapp/WEB-INF/web.xml` exists and is identical to that used in a functioning setup on a different server. It was originally written for a Tomcat 7 deployment, I think, but there's nothing in it that seems to have anything to do with these URLs, so I don't think it's a problem with that file. Similarly, `/var/lib/tomcat8/conf/server.xml` exists and is virtually identical to that used in the other (functioning) deployment. All of the information I've been able to scrape together from web searches over the past two days indicate that the presence of a folder within the `webapps/` directory is sufficient for Tomcat to recognize and register it as a Context. I'm at a complete loss for what else I need to do to have Tomcat serve the file `webapps/myWebapp/index.html` What am I missing? Why can Tomcat find `webapps/ROOT/index.html` but not `webapps/myWebapp/index.html`? Thanks