Stopping a Tika server properly

瘦欲@ 提交于 2019-12-10 13:23:49

问题


In order to start a Tika server that can be accessed from hosts other that localhost we know that the way to go is (say I have version 1.7 and want to run on port 9998)

java -jar tika-server-1.7-SNAPSHOT.jar -host 0.0.0.0

My question is: Is there a proper way to properly stop this server with a command or is killing the process the only way?


回答1:


As of October 2019 there is no programmatic way to shut it down. Documentation notes:

In the future, we may implement a gentler shutdown than we currently have.



来源:https://stackoverflow.com/questions/25633051/stopping-a-tika-server-properly

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