summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/LiveDeployment/Service.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceGridGUI/LiveDeployment/Service.java')
-rwxr-xr-xjava/src/IceGridGUI/LiveDeployment/Service.java10
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()