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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With