From 545775bff2805c7b466eeffd3f8597502a7e947d Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Mon, 14 Jan 2013 16:51:54 +0100 Subject: Correct ORB properties for hostname and port IOR config --- src/main/java/com/c2kernel/process/Gateway.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/c2kernel/process/Gateway.java b/src/main/java/com/c2kernel/process/Gateway.java index 7e59a6f..f1dae9e 100644 --- a/src/main/java/com/c2kernel/process/Gateway.java +++ b/src/main/java/com/c2kernel/process/Gateway.java @@ -137,9 +137,9 @@ public class Gateway java.util.Properties sysProps = System.getProperties(); String serverName = getProperty("ItemServer.name"); if (serverName != null) - sysProps.put("ORBHost", serverName); + sysProps.put("com.sun.CORBA.ORBServerHost", serverName); String serverPort = getProperty("ItemServer.iiop", "1500"); - sysProps.put("ORBPort", serverPort); + sysProps.put("com.sun.CORBA.ORBServerPort", serverPort); //TODO: externalize this (or replace corba completely) sysProps.put("com.sun.CORBA.POA.ORBServerId", "1"); sysProps.put("com.sun.CORBA.POA.ORBPersistentServerPort", serverPort); -- cgit v1.2.3