summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/LiveDeployment/Root.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-03-02 21:52:35 +0000
committerBernard Normier <bernard@zeroc.com>2007-03-02 21:52:35 +0000
commitdc5571bb00a0a56b23e3cc29ac08b30fe45078b5 (patch)
treea91e78133b0a711ecbc38b3a94ff00ba3f437d19 /java/src/IceGridGUI/LiveDeployment/Root.java
parentbernard's comments (diff)
downloadice-dc5571bb00a0a56b23e3cc29ac08b30fe45078b5.tar.bz2
ice-dc5571bb00a0a56b23e3cc29ac08b30fe45078b5.tar.xz
ice-dc5571bb00a0a56b23e3cc29ac08b30fe45078b5.zip
Fixed bug #1846
Diffstat (limited to 'java/src/IceGridGUI/LiveDeployment/Root.java')
-rwxr-xr-xjava/src/IceGridGUI/LiveDeployment/Root.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/LiveDeployment/Root.java b/java/src/IceGridGUI/LiveDeployment/Root.java
index f7433b44968..dc2cbb58c07 100755
--- a/java/src/IceGridGUI/LiveDeployment/Root.java
+++ b/java/src/IceGridGUI/LiveDeployment/Root.java
@@ -918,14 +918,22 @@ public class Root extends ListArrayTreeNode
{
AdminSessionPrx session = _coordinator.getSession();
+ FileIteratorPrx result;
if(stdout)
{
- return session.openRegistryStdOut(_replicaName, count);
+ result = session.openRegistryStdOut(_replicaName, count);
}
else
{
- return session.openRegistryStdErr(_replicaName, count);
+ result = session.openRegistryStdErr(_replicaName, count);
}
+
+ if(_coordinator.getCommunicator().getDefaultRouter() == null)
+ {
+ result = FileIteratorPrxHelper.uncheckedCast(
+ result.ice_endpoints(session.ice_getEndpoints()));
+ }
+ return result;
}
public String getTitle()