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

LifecycleState events not received #9189

Closed
JChrist opened this issue Oct 27, 2016 · 0 comments

Comments

Projects
None yet
4 participants
@JChrist
Copy link

commented Oct 27, 2016

I am using the official Docker image for hazelcast (tried both versions 3.7.1 and 3.7.2)
I have registered a lifecycle listener through the xml configuration file.
However I cannot see it receiving the STARTING lifecycle event, or the SHUTTING_DOWN and SHUTDOWN events, only the STARTED event.

After going through the source code, I have traced it to firing lifecycle STARTING event before lifecycle listeners are added from the configuration

With regards to the SHUTTING_DOWN and SHUTDOWN events, I am not quite sure why this happens, I request a docker container instance to stop using docker stop _INSTANCE_, but neither event is received from the listener.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.