![]() Please wait while updating issue type...
Could not save your changes
This issue has been changed since you started editing it
Data that has been changed is highlighted in red below. Undo your changes to see the updated information
You have changed this issue, but haven't saved your changes yet. To save it, press the Save changes button to the right
This issue is blocking the next release
![]() There are no comments
There is nothing attached to this issue
This issue has no duplicates
There are no code checkins for this issue |
|||||||||||||||||||||||||||||||||||
Really delete this comment?
Really delete this comment?
Really delete this comment?
The solution I see now is to have the server set a timeout on each request and return an error as part of the result of the forwarding request, for the related node, when the timeout expires. I suppose I can add a server configuration property to set the timeout, like "jppf.forwarding.timeout = time_in_millis", or maybe a more general configuration property for any JMX request made via a JMXConnectionWrapper instance, like "jppf.jmx.request.timeout". Well in fact that sounds better
Really delete this comment?
Unfortunately, changing the behavior of the existing method to return an error (exception or null) will probably break current code, although I suppose having the default timeout very long would mitigate that. I might suggest adding an optional third argument to the methods, specifying a timeout, but there are a lot of methods so that might not be practical.
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?
This works very well, but I'd like to find a way to actually restart the node, e.g. by forcing an exit code 2
Really delete this comment?
Really delete this comment?
Really delete this comment?
Really delete this comment?