I deploy a web application on Jetty as a war.
Is there a way in which I can restart the currently running application on Jetty programatically?
Is there a Jetty configuration that can achieve this?
I deploy a web application on Jetty as a war. Is there a way
Share
There are 3 options.
Use JMX
Try enabling JMX via the jetty-jmx libs and configuration.
Then poking around the options for the contexts or deployers to see if you can use JMX to manage the deployed contexts
Create your own Server bean to manage the deployment / undeployment of the contexts
Create your own AppProvider, provided to the DeploymentManager to programmatically control the installed contexts.