Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace commons-daemon and jsvc with something else. #277

Closed
trustin opened this issue Sep 3, 2018 · 0 comments
Closed

Replace commons-daemon and jsvc with something else. #277

trustin opened this issue Sep 3, 2018 · 0 comments
Assignees

Comments

@trustin
Copy link
Member

trustin commented Sep 3, 2018

The current version of jsvc does not support Java 9+

@hyangtack hyangtack self-assigned this Feb 25, 2019
@trustin trustin changed the title Update commons-daemon and jsvc Replace commons-daemon and jsvc with something else. Feb 28, 2019
hyangtack added a commit to hyangtack/centraldogma that referenced this issue Feb 28, 2019
Motivation:
The current version of `jsvc` does not support Java 9+.
If we can remove `commons-daemon` from dependencies, we would have less blocker for supporting latest Java version.

Modifications:
- Removed `commons-daemon` from dependencies.
- Removed `jsvc` binaries from `dist/src/bin`.
- The server now creates a pidfile when it starts up and deletes it when it is terminated.
  - `startup`/`shutdown` waits until the pidfile is created/deleted.
- Updated `Dockerfile`:
  - Using `openjdk:lastest` instead of `openjdk:8`.
  - Set the entry point in order to correctly handle a signal from a user.
    `docker stop` command, which sends `TERM` signal to the container, will work.

Result:
- Less dependencies.
- Support Java 9+.
- Closes line#277
trustin pushed a commit that referenced this issue Mar 4, 2019
Motivation:
The current version of `jsvc` does not support Java 9+.
If we can remove `commons-daemon` from dependencies, we would have less blocker for supporting latest Java version.

Modifications:
- Removed `commons-daemon` from dependencies.
- Removed `jsvc` binaries from `dist/src/bin`.
- The server now creates a pidfile when it starts up and deletes it when it is terminated.
  - `startup`/`shutdown` waits until the pidfile is created/deleted.
- Updated `Dockerfile`:
  - Using `openjdk:lastest` instead of `openjdk:8`.
  - Set the entry point in order to correctly handle a signal from a user.
    `docker stop` command, which sends `TERM` signal to the container, will work.

Result:
- Less dependencies.
- Support Java 9+.
- Closes #277
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants