Apache does not deploy war file

Discussion of applications not mentioned above.
Locked
User avatar
p33t
Posts: 2
Joined: 05 Jun 2021, 02:37

Apache does not deploy war file

Post 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 ?
User avatar
TMSupport
TerraMaster Team
Posts: 2314
Joined: 13 Dec 2019, 15:15

Re: Apache does not deploy war file

Post 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
To contact our team, please send email to following addresses, remember to replace (at) with @
Technical team: support(at)terra-master.com (for technical support)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
User avatar
p33t
Posts: 2
Joined: 05 Jun 2021, 02:37

Re: Apache does not deploy war file

Post 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.
Locked