Belgacem
Belgacem

Reputation: 193

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

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?

Upvotes: 0

Views: 236

Answers (1)

Andreas
Andreas

Reputation: 159165

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.

Upvotes: 0

Related Questions