How I can start and stop applications deployed in a tomcat embedded server

189 Views Asked by At

I have a tomcat embedded server to test my web applications and I would like to be able to start and stop applications that are already deployed, how can I do that?

1

There are 1 best solutions below

0
Andreas On

You deploy the Manager App too, and use it to:

Alternatively, to just Start and Stop an Application, you can use JMX, and invoke the start and stop methods on e.g. Catalina:type=Manager,context=/servlets-examples,host=localhost.