No functional changes while working on OFBIZ-4794
* Organize imports * Fix wrong comments git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1495807 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -19,10 +19,10 @@
|
||||
package org.ofbiz.base.container;
|
||||
|
||||
import java.net.UnknownHostException;
|
||||
import java.rmi.registry.Registry;
|
||||
import java.rmi.registry.LocateRegistry;
|
||||
import java.rmi.RemoteException;
|
||||
import java.rmi.NoSuchObjectException;
|
||||
import java.rmi.RemoteException;
|
||||
import java.rmi.registry.LocateRegistry;
|
||||
import java.rmi.registry.Registry;
|
||||
import java.rmi.server.UnicastRemoteObject;
|
||||
|
||||
import org.ofbiz.base.util.RMIExtendedSocketFactory;
|
||||
@@ -52,7 +52,8 @@ public class NamingServiceContainer implements Container {
|
||||
|
||||
ContainerConfig.Container cfg = ContainerConfig.getContainer(name, configFileLocation);
|
||||
|
||||
// get the telnet-port
|
||||
// get the naming (JNDI) port
|
||||
|
||||
ContainerConfig.Container.Property port = cfg.getProperty("port");
|
||||
if (port.value != null) {
|
||||
try {
|
||||
@@ -62,7 +63,7 @@ public class NamingServiceContainer implements Container {
|
||||
}
|
||||
}
|
||||
|
||||
// get the telnet-host
|
||||
// get the naming (JNDI) server
|
||||
ContainerConfig.Container.Property host = cfg.getProperty("host");
|
||||
if (host != null && host.value != null) {
|
||||
this.namingHost = host.value ;
|
||||
|
||||
Reference in New Issue
Block a user