diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-10-05 13:44:17 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-10-05 13:44:17 -0400 |
commit | 8733e83359a2045eda21e307fe5b6e9cc92a7e9d (patch) | |
tree | 649c1a6dfb486499427d4d77e98d81f793f4edfb /java/src/IceGridGUI/Application/PlainServer.java | |
parent | Fixed bug #2463 (diff) | |
download | ice-8733e83359a2045eda21e307fe5b6e9cc92a7e9d.tar.bz2 ice-8733e83359a2045eda21e307fe5b6e9cc92a7e9d.tar.xz ice-8733e83359a2045eda21e307fe5b6e9cc92a7e9d.zip |
Fixed properties generated by default for servers
Diffstat (limited to 'java/src/IceGridGUI/Application/PlainServer.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/PlainServer.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/java/src/IceGridGUI/Application/PlainServer.java b/java/src/IceGridGUI/Application/PlainServer.java index 9f4eba87ebf..1fc8a4f1e51 100755 --- a/java/src/IceGridGUI/Application/PlainServer.java +++ b/java/src/IceGridGUI/Application/PlainServer.java @@ -64,9 +64,12 @@ class PlainServer extends Communicator implements Server static public ServerDescriptor newServerDescriptor() { + java.util.LinkedList properties = new java.util.LinkedList(); + properties.add(new PropertyDescriptor("Ice.Admin.Endpoints", "tcp -h 127.0.0.1")); + return new ServerDescriptor( new java.util.LinkedList(), - new PropertySetDescriptor(new String[0], new java.util.LinkedList()), + new PropertySetDescriptor(new String[0], properties), new java.util.LinkedList(), new String[0], "", @@ -89,8 +92,7 @@ class PlainServer extends Communicator implements Server { java.util.LinkedList properties = new java.util.LinkedList(); properties.add(new PropertyDescriptor("IceBox.InstanceName", "${server}")); - properties.add(new PropertyDescriptor("IceBox.ServiceManager.Endpoints", "tcp -h 127.0.0.1")); - properties.add(new PropertyDescriptor("IceBox.ServiceManager.RegisterProcess", "1")); + properties.add(new PropertyDescriptor("Ice.Admin.Endpoints", "tcp -h 127.0.0.1")); return new IceBoxDescriptor( new java.util.LinkedList(), |