Running jar as a service problem

after a few days of pondering around google I give up.

Running Tika-Server with command line works fine and Tika-Server starts responding on :

java -jar tika-server-2.0.0-SNAPSHOT.jar

Following this guide (with appropriate changes to scripts, paths and jar names ofc) Tika-Server is not responding on . I have used option with logging from this guide (at the bottom) and output to log file is the same as is when Tika-Server is run with command line.

Service does not show up with command

systemctl | grep running

but it shows up with command

systemctl list-unit-files | grep enabled

as enabled.

I have also tried to run java service via init.d path, but it didnt work.

What am I missing?

5 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like