There is a .war file that you need to put down when starting a tomket. I saw this in the documentation. If I understood correctly, then there is a certain Host container, the parameters of which can be edited and there is a parameter deployOnStartup that needs to be set to true in order for the Tomcat to expand the .war archive at startup. However, I still do not understand where this and other parameters are registered and how to edit them ... All this is done on Ubuntu OS

  • If you use Intellij IDEA, then I can throw a short guide in the answers how to do it, I can’t help others) - GVArt
  • Yes, I try to configure this case with my hands so that at the start it unpacks the .war archive .. but I would not refuse the guide. Any information is not superfluous) - Iga

1 answer 1

Briefly in screenshots

In Intellij in an open project we configure the launch of a project Config


Next click on TomKat

Config window

And the config window opens for TomKata

TomKat Konifg

Here you customize everything (Path to tomcat, ip, etc) and in Deplyment, there will be a deployment option in Jar or War.

When building a project, Tomcart will launch your project.

Good luck! PS Greetings from Chisinau (:

  • Thank you. And hello to you) from Chisinau) - Iga