(file) Return to ServerProcessOS400.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Service / Attic

Diff for /pegasus/src/Service/Attic/ServerProcessOS400.cpp between version 1.3 and 1.7

version 1.3, 2005/04/17 16:00:04 version 1.7, 2006/01/13 20:53:31
Line 50 
Line 50 
 #include "OS400ConvertChar.h" #include "OS400ConvertChar.h"
 #include "SSLWrapperOS400.h" #include "SSLWrapperOS400.h"
 #include "OS400SystemState.h" #include "OS400SystemState.h"
   #include "CIMRepositoryUpdate400.h"  // upgrade utility
 #include <Pegasus/Common/MessageLoader.h> //l10n #include <Pegasus/Common/MessageLoader.h> //l10n
 #include <except.h> #include <except.h>
  
Line 109 
Line 110 
 /////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////
 int ServerProcess::cimserver_fork(void) int ServerProcess::cimserver_fork(void)
 { {
     // First migrate the server configuration settings into the planned file.
     CIMRepositoryUpdate400 obj;
     obj.preserveConfigSettings();
   
     // TODO:  This is here for now until we can move it into initialize.  Right now it doesn't run because qycmsetupr won't work in a multi-threaded environment.  See issue #AD2
     obj.doIt();
   
 #pragma convert(37) #pragma convert(37)
   char rc5[3] = "05"; // rc5 means the CIMOM Server failed to start   char rc5[3] = "05"; // rc5 means the CIMOM Server failed to start
   char cppServ[10] = "QYCMCIMOM";   char cppServ[10] = "QYCMCIMOM";
Line 181 
Line 189 
 //       so that iNavigator can start/stop it. //       so that iNavigator can start/stop it.
 //    -- Swaps the job user to QSYS. //    -- Swaps the job user to QSYS.
 //    -- Changes the authority of QYCMJOBD //    -- Changes the authority of QYCMJOBD
   //    -- Calls the upgrade utility
 //////////////////////////////////////////////////// ////////////////////////////////////////////////////
 int ServerProcess::cimserver_initialize(void) int ServerProcess::cimserver_initialize(void)
 { {
Line 193 
Line 202 
    //        (it's a known problem) and we can uncomment this #pragma.    //        (it's a known problem) and we can uncomment this #pragma.
 //   #pragma cancel_handler (CancelHandler, NULL) //   #pragma cancel_handler (CancelHandler, NULL)
     try {     try {
    system ("QSYS/CHGJOB JOB(*) LOG(4 00 *SECLVL)");  
  
 #pragma convert(37) #pragma convert(37)
    //////////////////////////////////////////    //////////////////////////////////////////
Line 284 
Line 292 
       return(-1);       return(-1);
   }   }
  
   // TODO:  add this back in when we fix the problem with setupr not working in a multi-threaded environment.
     // Call into the upgrade utility.  This will perform any necessary upgrade step that need to be done.  The upgrade program keys off of marker files which are created on install.  This means that in most cases, nothing will be done unless the server is starting for the first time after an install.
   //  CIMRepositoryUpdate400 obj;
   //  obj.doIt();
   
    // TODO:  this is currently commented out because it causes build errors -    // TODO:  this is currently commented out because it causes build errors -
    //        it compiles just fine though.  Hopefully this problem will be fixed    //        it compiles just fine though.  Hopefully this problem will be fixed
    //        (it's a known problem) and we can uncomment this #pragma.    //        (it's a known problem) and we can uncomment this #pragma.
Line 422 
Line 435 
 //////////////////////////////////////////////////// ////////////////////////////////////////////////////
 // Platform specific run // Platform specific run
 //////////////////////////////////////////////////// ////////////////////////////////////////////////////
 int ServerProcess::platform_run( int argc, char** argv, Boolean shutdownOption )  int ServerProcess::platform_run(
       int argc,
       char** argv,
       Boolean shutdownOption,
       Boolean debugOutputOption)
 { {
     return cimserver_run( argc, argv, shutdownOption );      return cimserver_run(argc, argv, shutdownOption, debugOutputOption);
 } }
  


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.7

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2