java - Spring Boot init.d not Not running (process not found) -


i trying follow instructions here, trying run spring boot app init.d service not successfully.

i created executable jar (myapp.jar) mentioned , created symlink /etc/init.d/myapp when run java -jar myapp.jar see application start successfully.

but when try use

service myapp status says not running (process not found)

service myapp start says failed start

the documentation says "assuming have spring boot application installed in /var/myapp" don't understand point quite well. copied executable jar (via jenkins) /var/myapp. contains 1 file jar. create problem?

any suggestions appreciated.

environment:

springbootversion = '1.3.2.release' jdk6 (yes is) ubuntu 12.04 

you must register jar service. @ http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#deployment-initd-service


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -