#include "ObserverAsPlugin.hxx"
#ifdef SALOME_KERNEL
-/*
+
#include "KernelBasis.hxx"
#include "SALOME_Launcher.hxx"
#include "ServiceUnreachable.hxx"
-#include "SALOME_NamingService_Wrapper.hxx"*/
+#include "SALOME_NamingService_Wrapper.hxx"
#include "SALOME_NamingService.hxx"
#include "SALOME_ModuleCatalog.hh"
#include "Basics_Utils.hxx"
return true;
}
-/*void InitializeSSL()
+void InitializeSSL()
{
setSSLMode(true);
KERNEL::getLauncherSA();
-}*/
+}
int main (int argc, char* argv[])
{
setsig(SIGTERM,&Handler);
#endif
- //InitializeSSL();
+ InitializeSSL();
timer("Starting ");
long flags = RuntimeSALOME::UsePython + RuntimeSALOME::UseCorba + RuntimeSALOME::UseXml + \
CORBA::ORB_ptr orb = runTime->getOrb();
if (orb)
{
- //SALOME_NamingService_Wrapper namingService(orb);
- SALOME_NamingService namingService(orb);
+ SALOME_NamingService_Wrapper namingService(orb);
+ //SALOME_NamingService namingService(orb);
CORBA::Object_var obj = namingService.Resolve("/Kernel/ModulCatalog");
SALOME_ModuleCatalog::ModuleCatalog_var aModuleCatalog = SALOME_ModuleCatalog::ModuleCatalog::_narrow(obj);
if (! CORBA::is_nil(aModuleCatalog))