Salome HOME
fix bug 10560: set GIOP message size
authoreap <eap@opencascade.com>
Mon, 10 Jul 2006 12:09:37 +0000 (12:09 +0000)
committereap <eap@opencascade.com>
Mon, 10 Jul 2006 12:09:37 +0000 (12:09 +0000)
bin/orbmodule.py

index 52012f91a0ed5c1cdd83c52954fd47cdd6f2729a..86e67d6bf1e2447f6478a5fec70d2a1cbd64aeb7 100755 (executable)
@@ -52,6 +52,8 @@ class NamingServer(Server):
 class client:
 
    def __init__(self):
+      #set GIOP message size for bug 10560: impossible to get field values in TUI mode
+      sys.argv.extend(["-ORBgiopMaxMsgSize", "104857600"]) ## = 100 * 1024 * 1024
       # Initialise the ORB
       self.orb=CORBA.ORB_init(sys.argv, CORBA.ORB_ID)
       # Initialise the Naming Service