Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'V9_2_2_BR'
[modules/kernel.git]
/
bin
/
ORBConfigFile.py
diff --git
a/bin/ORBConfigFile.py
b/bin/ORBConfigFile.py
old mode 100644
(file)
new mode 100755
(executable)
index
96760c7
..
c51187d
--- a/
bin/ORBConfigFile.py
+++ b/
bin/ORBConfigFile.py
@@
-1,6
+1,6
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-201
9
CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-63,7
+63,8
@@
def writeORBConfigFile(path, host, port, kwargs={}):
orbdata.append("%sInitRef = NameService=corbaname::%s:%s"%(prefix,host,port))
orbdata.append("%sgiopMaxMsgSize = %s # 2 GBytes"%(prefix,GIOP_MaxMsgSize))
orbdata.append("%straceLevel = 0 # critical errors only"%(prefix))
orbdata.append("%sInitRef = NameService=corbaname::%s:%s"%(prefix,host,port))
orbdata.append("%sgiopMaxMsgSize = %s # 2 GBytes"%(prefix,GIOP_MaxMsgSize))
orbdata.append("%straceLevel = 0 # critical errors only"%(prefix))
- orbdata.append("%smaxGIOPConnectionPerServer = 50 # to allow containers parallel launch"%(prefix))
+ orbdata.append("%smaxGIOPConnectionPerServer = 500 # to allow containers parallel launch"%(prefix))
+ orbdata.append("%snativeCharCodeSet = UTF-8"%(prefix))
orbdata.append("")
with open(omniorb_config, "w") as f:
orbdata.append("")
with open(omniorb_config, "w") as f:
@@
-75,6
+76,9
@@
def writeORBConfigFile(path, host, port, kwargs={}):
if __name__ == "__main__":
import sys
if __name__ == "__main__":
import sys
+
+ if len(sys.argv) < 2:
+ sys.exit(-1)
path = sys.argv[1]
host = sys.argv[2]
path = sys.argv[1]
host = sys.argv[2]
@@
-98,4
+102,4
@@
if __name__ == "__main__":
# RETURN_VALUE_2=$(echo ${RETURN_VALUES} | cut -d' ' -f2)
# ...
# IMPORTANT NOTE: this print call MUST BE the first one!!
# RETURN_VALUE_2=$(echo ${RETURN_VALUES} | cut -d' ' -f2)
# ...
# IMPORTANT NOTE: this print call MUST BE the first one!!
- print
filename, msgSize
+ print
(filename, msgSize)