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

Can't cancel the connection step when creating a remote server #341

Open
eharris369 opened this issue Aug 30, 2019 · 0 comments
Open

Can't cancel the connection step when creating a remote server #341

eharris369 opened this issue Aug 30, 2019 · 0 comments

Comments

@eharris369
Copy link
Contributor

When creating a remote server after clicking on the Verify button it tries to connect. This attempts 10 iterations (timeout is 5000 and interval is 500), but each javax.management.remote.JMXConnector.connect() call takes about 30s and it does not check for cancel after each attempt so this can take a long time.

Fix the AbstractRemoteServerComposite.connect method to call the basic connect which does not take a time out and interval and do the looping itself, checking for cancel after each attempt (the progress monitor will need to be passed in).

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