From: srn Date: Mon, 25 Jul 2005 11:43:05 +0000 (+0000) Subject: BugID IPAL9541, changed the ORB creation. Added a call to Utils_ORB_INIT as there... X-Git-Tag: V3_0_1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6064d914a9c3f4051b48b935ed50906b4eb1ed33;p=modules%2Fkernel.git BugID IPAL9541, changed the ORB creation. Added a call to Utils_ORB_INIT as there a GIOP message size is initialized. --- 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]);