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/Root.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/Root.java')
-rwxr-xr-x | java/src/IceGridGUI/LiveDeployment/Root.java | 12 |
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() |