]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
fail to connect to omniNames with endPoint activated agy/docker_test
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 6 Nov 2019 07:21:01 +0000 (08:21 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 6 Nov 2019 07:21:01 +0000 (08:21 +0100)
bin/ORBConfigFile.py
bin/nameserver.py

index ba512034a63dcb5c2801f0a9f125517d45af0772..9455013c98a5ae51580c6f04376556614d5a712d 100755 (executable)
@@ -69,8 +69,8 @@ def writeORBConfigFile(path, host, port, kwargs={}):
   import socket
   # get ip address on default interface (for instance eth0) to limit listening on this interface (cyber security request)
   ipDefault = socket.gethostbyname(socket.gethostname())
-  orbdata.append("%sendPoint = giop:tcp:127.0.0.1:%s"%(prefix,''))
-  orbdata.append("%sendPoint = giop:tcp:%s:%s"%(prefix, ipDefault,''))
+  #orbdata.append("%sendPoint = giop:tcp:127.0.0.1:%s"%(prefix,''))
+  #orbdata.append("%sendPoint = giop:tcp:%s:%s"%(prefix, ipDefault,''))
 
   orbdata.append("")
 
index 25796989200446f3ef2699d27d00bbb484b7c732..bfe97a001133dfbd362efa9944f548e8524a3c71 100644 (file)
@@ -93,7 +93,7 @@ class NamingServer(Server):
           ipDefault = ips.split()[0].decode()
           self.CMD = ['omniNames','-start' , aPort]
           self.CMD += ['-logdir' , upath, '-errlog', upath+'/omniNameErrors.log']
-          self.CMD += ['-ORBendPoint', 'giop:tcp:%s:%s'%(hname,aPort)]
+          #self.CMD += ['-ORBendPoint', 'giop:tcp:%s:%s'%(hname,aPort)]
 
         if verbose(): print("... ok")
         if verbose(): print("to list contexts and objects bound into the context with the specified name : showNS ")