Can you undeploy applications from JETTY?

时光毁灭记忆、已成空白 提交于 2019-12-19 11:57:10

问题


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:


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.



来源:https://stackoverflow.com/questions/34870680/can-you-undeploy-applications-from-jetty

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!