I am putting together a new build environment and when I upload a new .war file, Tomcat does not seem to be unwrapping it into a directory structure, or restarting.
Does there have to be some setting that needs to be set for this? I am using ubuntu.
Thanks, Alex
Yes, on TOMCAT_HOME/conf
, there's server.xml
. Look for the following:
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
unpackWARs
to true
allows Tomcat to unzip your WAR file to a directory structure. autoDeploy
to true
allows Tomcat to auto deploy your web application if it detects a WAR file deployed in Tomcat. Hope this helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.