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

Support for shutdown/restart commands #22

Closed
magicdude4eva opened this issue Aug 4, 2015 · 3 comments
Closed

Support for shutdown/restart commands #22

magicdude4eva opened this issue Aug 4, 2015 · 3 comments

Comments

@magicdude4eva
Copy link

Why can undertow not support shutdown/restart functions as supported in Jboss CLI - i.e.

jboss-cli.sh --connect --command=:shutdown
jboss-cli.sh -c "/:shutdown()"
jboss-cli.sh -c /:shutdown
jboss-cli.sh -c :shutdown
jboss-cli.sh -c ":shutdown(restart=true)"

Undertow supports shutdown hooks - this guy has done it: http://blog.progs.be/704/executable-jar-with-embedded-web-server

@apatrida
Copy link
Contributor

apatrida commented Aug 5, 2015

I can make the changes to the undertow host, it isn' that complicated for requesting a shutdown, and even redeploy of the contained Solr war. Along with #21, this is related work.

@apatrida
Copy link
Contributor

apatrida commented Aug 5, 2015

I added HTTP shutdown port and password, see release 1.4.0-RC1 and updated README with a shutdown section. Also see issue #23 about the shutdown listener.

Still missing scripts.

@magicdude4eva
Copy link
Author

Thanks - working perfectly fine.

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