Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_Server.cxx
index 1ed30a91efe121876a87ea94c498d6faaa05ce3e..70919bba0ca431d2d28d824fbb3e715d9968f758 100644 (file)
@@ -57,7 +57,7 @@ int main(int argc, char** argv)
       omniORB::MaxMessageSize(100 * 1024 * 1024);
       // Obtain a reference to the root POA.
       //
-      long TIMESleep = 250000000;
+      long TIMESleep = 500000000;
       int NumberOfTries = 40;
       int a;
       timespec ts_req;
@@ -129,7 +129,8 @@ int main(int argc, char** argv)
                      }
                  }
              }
-                   }
+       
+           }
          catch( const SALOME_Exception &ex )
            {
              MESSAGE( "Communication Error : " << ex.what() );
@@ -142,7 +143,7 @@ int main(int argc, char** argv)
       // We allocate the objects on the heap.  Since these are reference
       // counted objects, they will be deleted by the POA when they are no
       // longer needed.    
-      SALOMEDS_StudyManager_i * myStudyManager_i = new  SALOMEDS_StudyManager_i(orb);
+      SALOMEDS_StudyManager_i * myStudyManager_i = new  SALOMEDS_StudyManager_i(orb,poa);
  
       // Activate the objects.  This tells the POA that the objects are
       // ready to accept requests.