I want to deploy my application on a server, and then I can visit the application as follows:
http:
but not
http:
so this is my host configuration in server.xml:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Context docBase="/home/foo/bar.war" reloadable="false" path=""/>
</Host>
But after starting tomcat
sh $ CATALINA_HOME / bin / startup.sh
I found that tomcat is not unpacking the war file in $ CATALINA_HOME / webapps. then I try to delete all files in $ CATALINA_HOME / webapps / ROOT, but that does not matter. so for some reason, has anyone come across this question before? and how to solve the problem?
source
share