Can you undeploy applications from JETTY?

前端 未结 1 1457
无人及你
无人及你 2021-01-17 00:52

I cant seem to find a way to undeploy or turn off an application whilst JETTY is running. Is the only way to kill JETTY and all other apps running?

相关标签:
1条回答
  • 2021-01-17 01:31

    You can do that in a few ways.

    If you have the deploy module enabled, just move the {appname}.war (or {appname}.xml) out of your ${jetty.base}/webapps/ directory, that will undeploy that webapp.

    Another choice is to have JMX enabled and just .stop() the webapp in question.

    0 讨论(0)
提交回复
热议问题