From 6064d914a9c3f4051b48b935ed50906b4eb1ed33 Mon Sep 17 00:00:00 2001 From: srn Date: Mon, 25 Jul 2005 11:43:05 +0000 Subject: [PATCH] BugID IPAL9541, changed the ORB creation. Added a call to Utils_ORB_INIT as there a GIOP message size is initialized. --- src/Container/SALOME_Container.cxx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Container/SALOME_Container.cxx b/src/Container/SALOME_Container.cxx index 3e13155c3..ecc8a77ac 100644 --- a/src/Container/SALOME_Container.cxx +++ b/src/Container/SALOME_Container.cxx @@ -33,6 +33,8 @@ #include #include "SALOME_Container_i.hxx" #include "utilities.h" +#include "Utils_ORB_INIT.hxx" +#include "Utils_SINGLETON.hxx" #include "SALOMETraceCollector.hxx" #include "OpUtil.hxx" @@ -57,7 +59,12 @@ int main(int argc, char* argv[]) #endif // Initialise the ORB. - CORBA::ORB_var orb = CORBA::ORB_init( argc , argv ) ; + //SRN: BugID: IPAL9541, it's necessary to set a size of one message to be at least 100Mb + //CORBA::ORB_var orb = CORBA::ORB_init( argc , argv ) ; + ORB_INIT &init = *SINGLETON_::Instance() ; + ASSERT(SINGLETON_::IsAlreadyExisting()); + CORBA::ORB_var orb = init(0 , 0 ) ; + SALOMETraceCollector *myThreadTrace = SALOMETraceCollector::instance(orb); INFOS_COMPILATION; BEGIN_OF(argv[0]); -- 2.39.2