Page 1 of 1

Apache does not deploy war file

Posted: 05 Jun 2021, 02:51
by p33t
Hello there.
Im trying to deploy war file by puting it in default "appdata" directory.
But after I put it there, nothing happens.
There are no entries in catalina.out logs regarding new deployment. So somehow the file is being ignored.
server.xml config is set to autoDeploy and unpackWARs:
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true">

I was trying to put war file into {tomcat-root}/webapps
But that wont help.

By the way, I tested war file on this container - tomcat:9.0.46-jdk8-openjdk and it worked fine. I was able to deploy war.

Please assist.
How do I deploy war file into Terramaster Tomcat ?

Re: Apache does not deploy war file

Posted: 07 Jun 2021, 14:58
by TMSupport
1. Create a new shared folder named webapps
2. Set this folder as Tomcat's working directory
3. Unzip the war package and deploy the project file to the webapps directory

Re: Apache does not deploy war file

Posted: 08 Jun 2021, 01:32
by p33t
Thanks for reply.
I have found other ways to get around it.
1. Disable context.
So than I can use webapps in tomcat root dir.
2. Deploy with Tomcat Manager
But this needs some user configuration.

All in all I like my NAS ;)
Thanks.