From 531110db7e78f95f6e16353be16adbff4825dd15 Mon Sep 17 00:00:00 2001 From: mpa Date: Wed, 19 Oct 2016 12:47:37 +0300 Subject: [PATCH] small fix --- src/Session/Session_ServerCheck.cxx | 2 +- src/Session/Session_ServerThread.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Session/Session_ServerCheck.cxx b/src/Session/Session_ServerCheck.cxx index 582374cd7..0c1786b24 100644 --- a/src/Session/Session_ServerCheck.cxx +++ b/src/Session/Session_ServerCheck.cxx @@ -354,7 +354,7 @@ void Session_ServerCheck::run() SALOME_NamingService &NS = *SINGLETON_::Instance(); ASSERT( SINGLETON_::IsAlreadyExisting() ); NS.init_orb( orb ); - CORBA::Object_var obj = NS.Resolve( "/myStudy" ); + CORBA::Object_var obj = NS.Resolve( "/Study" ); SALOMEDS::Study_var study = SALOMEDS::Study::_narrow( obj ); if ( !CORBA::is_nil( study ) ) { MESSAGE( "/myStudy is found" ); diff --git a/src/Session/Session_ServerThread.cxx b/src/Session/Session_ServerThread.cxx index 7574a6609..753cacaab 100755 --- a/src/Session/Session_ServerThread.cxx +++ b/src/Session/Session_ServerThread.cxx @@ -215,7 +215,7 @@ void Session_ServerThread::ActivateSALOMEDS(int argc, // counted objects, they will be deleted by the POA when they are no // longer needed. -// ClientFactory::createStudyManager(_orb,_root_poa); NB!!! + ClientFactory::createStudy(_orb,_root_poa); } catch(CORBA::SystemException&) { INFOS( "Caught CORBA::SystemException." ); -- 2.39.2