Update of /var/cvs/applications/rmmci/src/org/mmbase/module
In directory james.mmbase.org:/tmp/cvs-serv21335

Modified Files:
        RemoteMMCI.java 
Log Message:
  MMB-1691


See also: http://cvs.mmbase.org/viewcvs/applications/rmmci/src/org/mmbase/module
See also: http://www.mmbase.org/jira/browse/MMB-1691


Index: RemoteMMCI.java
===================================================================
RCS file: /var/cvs/applications/rmmci/src/org/mmbase/module/RemoteMMCI.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- RemoteMMCI.java     22 Oct 2007 08:56:50 -0000      1.19
+++ RemoteMMCI.java     22 Jul 2008 15:08:11 -0000      1.20
@@ -28,7 +28,7 @@
  * options. Note that in the configuration of mmbaseroot.xml the host should 
be a valid
  * host address if the RMIRegistryServer in rmmci.xml is no set.
  * @author Kees Jongenburger <[EMAIL PROTECTED]>
- * @version $Id: RemoteMMCI.java,v 1.19 2007/10/22 08:56:50 nklasens Exp $
+ * @version $Id: RemoteMMCI.java,v 1.20 2008/07/22 15:08:11 michiel Exp $
  * @since MMBase-1.5
  */
 public class RemoteMMCI extends ProcessorModule {
@@ -58,12 +58,16 @@
         log.debug("Module RemoteMMCI starting");
 
         int registryPort = getPort();
+        if (registryPort == -1) {
+            log.service("Not creating RemoteRMMCI, because registry port is 
-1");
+        } else {
         String host = getHost();
         String bindName = getBindName();
         createRemoteMMCI(host, registryPort, bindName);
         log.info("RemoteMMCI module listening on rmi://" + host + ":" + 
registryPort + "/" + bindName);
         startChecker(this);
     }
+    }
 
 
     public String getBindName() {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to