Restart tomcat through webapp

后端 未结 3 1835
眼角桃花
眼角桃花 2021-01-14 05:13

I have a crazy request about restarting tomcat server through my webapp. I was searching for nearly 2 days about this and all i found are executing external batch file or ca

3条回答
  •  耶瑟儿~
    2021-01-14 05:49

    Best solution we have found is to use the Java Service Wrapper

    It provides multiple benefits in managing the lifecyle of your server - including what you are trying to achieve - and in particular the ability to easily register as a Windows service.

提交回复
热议问题