Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Stopping a Tika server properly

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?

like image 703
pebox11 Avatar asked Sep 02 '14 21:09

pebox11


1 Answers

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.

like image 95
andruso Avatar answered Sep 28 '22 21:09

andruso