diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-03-02 21:52:35 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-03-02 21:52:35 +0000 |
commit | dc5571bb00a0a56b23e3cc29ac08b30fe45078b5 (patch) | |
tree | a91e78133b0a711ecbc38b3a94ff00ba3f437d19 /java/src/IceGridGUI/LiveDeployment/Service.java | |
parent | bernard's comments (diff) | |
download | ice-dc5571bb00a0a56b23e3cc29ac08b30fe45078b5.tar.bz2 ice-dc5571bb00a0a56b23e3cc29ac08b30fe45078b5.tar.xz ice-dc5571bb00a0a56b23e3cc29ac08b30fe45078b5.zip |
Fixed bug #1846
Diffstat (limited to 'java/src/IceGridGUI/LiveDeployment/Service.java')
-rwxr-xr-x | java/src/IceGridGUI/LiveDeployment/Service.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/LiveDeployment/Service.java b/java/src/IceGridGUI/LiveDeployment/Service.java index 5fd67100a4f..5e665714388 100755 --- a/java/src/IceGridGUI/LiveDeployment/Service.java +++ b/java/src/IceGridGUI/LiveDeployment/Service.java @@ -72,8 +72,14 @@ class Service extends ListArrayTreeNode throws FileNotAvailableException, ServerNotExistException, NodeUnreachableException, DeploymentException { - AdminSessionPrx adminSession = getRoot().getCoordinator().getSession(); - return adminSession.openServerLog(_parent.getId(), fPath, count); + AdminSessionPrx session = getRoot().getCoordinator().getSession(); + FileIteratorPrx result = session.openServerLog(_parent.getId(), fPath, count); + if(getRoot().getCoordinator().getCommunicator().getDefaultRouter() == null) + { + result = FileIteratorPrxHelper.uncheckedCast( + result.ice_endpoints(session.ice_getEndpoints())); + } + return result; } public String getTitle() |