Tomcat can support multiple web applications. Unless you have done some special configuration to make your application the root application, the URLs to your resources will need to include the application's name in the path.
One of the reasons why we discourage over-reliance on IDEs is because they tend to keep you from knowing the details. I'd probably also object to the use of anything that obscures the purity of my objects of study when doing an academic exercise too, but that's another matter.
What actually matters is that I'm not seeing one of the log messages that tells me for certain about the deployment. But I think you may find your webapp at either of these two URLs:
This line in the log doesn't look right:I would have expected it to be deployed directly under the webapps directory. It there some place (in the IDE?) where you defined the web application deployment directory to be webapps\manager?
Ron McLeod wrote:I would have expected it to be deployed directly under the webapps directory.
Well, here's the thing. JEE webapps aren't "deployed under" a directory. They're deployed under a webapp context, which is a construct internal to the webapp server (Tomcat) and associated with a URL Context Path. Which is visible via the Tomcat Manager webapp as well as via its several ReST services and APIs. The webapp obviously being the easiest one for the casual user to work with.
The basic way to deploy a webapp is to copy a WAR file or directory under TOMCAT_HOME/webapps. But all that really means is that Tomcat will periodically scan TOMCAT_HOME/webapps (or another directory, if you change the server.xml configuration) and deploy any new/changed WARs under a context path that matches the name of the WAR. Which is why I wanted to know the name and location of the "missing" webapp's WAR.
An IDE could just as easily deploy straight from a project's build directory without copying anything if it injected a Tomcat Context element that pointed to that directory. And in fact, that's my usual setup, although I manually configure Tomcat to do that, since I don't like the stock Tomcat plugin for JEE.
Sources may include data from the Fakebook Research Foundation with support from Gargle University
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop