I have a war that I want to deploy manually. I put my war in webapps and from the bin folder I started sh startup.sh Tomcat started with the following message:
$ sh startup.sh Using CATALINA_BASE: /Users/pavel/GitHub/server/apache-tomcat-9.0.0.M26 Using CATALINA_HOME: /Users/pavel/GitHub/server/apache-tomcat-9.0.0.M26 Using CATALINA_TMPDIR: /Users/pavel/GitHub/server/apache-tomcat-9.0.0.M26/temp Using JRE_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home Using CLASSPATH: /Users/pavel/GitHub/server/apache-tomcat-9.0.0.M26/bin/bootstrap.jar:/Users/pavel/GitHub/server/apache-tomcat-9.0.0.M26/bin/tomcat-juli.jar Tomcat started. And on http://localhost:8080/ I open tomcat myself, and a folder with the same name as war appeared in the webapps , but according to the address of the servlet, nothing called war-nick opens.
What is needed to make Tomcat launch my war archive? Doesn't tomcat automatically scan webapps and run something that lies there?