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

if the server is booting when OnlineManagementClient connects, it should wait until it's running #43

Closed
Ladicek opened this issue Dec 18, 2015 · 1 comment
Assignees
Milestone

Comments

@Ladicek
Copy link
Contributor

Ladicek commented Dec 18, 2015

It's possible for ManagementClient.online(...) to end up with an exception like this: java.lang.AssertionError: Expected success, but operation failed: {"outcome" => "failed","failure-description" => "WFLYCTL0379: System boot is in process; execution of remote management operations is not currently available"}

This is caused by the client trying to perform a management operation while the server is still booting. The client should detect this situation and wait until the server is running (using some reasonable timeout, e.g. 20 seconds).

@Ladicek Ladicek self-assigned this Dec 18, 2015
@Ladicek
Copy link
Contributor Author

Ladicek commented Dec 18, 2015

The timeout should be configurable in OnlineOptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant