(file) Return to cimserver.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Server

Diff for /pegasus/src/Server/cimserver.cpp between version 1.94 and 1.95

version 1.94, 2003/07/16 13:25:18 version 1.95, 2003/07/29 17:59:55
Line 297 
Line 297 
         PEGASUS_STD(cerr) << "Unable to connect to CIM Server." << PEGASUS_STD(endl);         PEGASUS_STD(cerr) << "Unable to connect to CIM Server." << PEGASUS_STD(endl);
         PEGASUS_STD(cerr) << "CIM Server may not be running." << PEGASUS_STD(endl);         PEGASUS_STD(cerr) << "CIM Server may not be running." << PEGASUS_STD(endl);
 #endif #endif
         cimserver_exit(0);          cimserver_exit(1);
     }     }
  
     try     try
Line 866 
Line 866 
         // notify parent process (if there is a parent process) to terminate         // notify parent process (if there is a parent process) to terminate
         //         //
         if (daemonOption)         if (daemonOption)
                 notify_parent();                  notify_parent(1);
  
         exit(1);         exit(1);
     }     }
Line 929 
Line 929 
         server.bind();         server.bind();
  
         // notify parent process (if there is a parent process) to terminate         // notify parent process (if there is a parent process) to terminate
         // so user knows that cimserver is ready to serve CIM requests.          // so user knows that there is cimserver ready to serve CIM requests.
         if (daemonOption)         if (daemonOption)
                 notify_parent();                  notify_parent(0);
  
         time_t last = 0;         time_t last = 0;
  
Line 1019 
Line 1019 
     }     }
     catch(Exception& e)     catch(Exception& e)
     {     {
 #ifdef PEGASUS_OS_OS400  
         Logger::put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::WARNING,         Logger::put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::WARNING,
                     "Error: $0", e.getMessage());                     "Error: $0", e.getMessage());
 #else  
   #ifndef PEGASUS_OS_OS400
         PEGASUS_STD(cerr) << "Error: " << e.getMessage() << PEGASUS_STD(endl);         PEGASUS_STD(cerr) << "Error: " << e.getMessage() << PEGASUS_STD(endl);
 #endif #endif
  
Line 1030 
Line 1030 
         // notify parent process (if there is a parent process) to terminate         // notify parent process (if there is a parent process) to terminate
         //         //
         if (daemonOption)         if (daemonOption)
                 notify_parent();                  notify_parent(1);
  
         return 1;         return 1;
     }     }


Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2