version 1.219.4.1, 2008/07/01 15:19:35
|
version 1.220, 2008/06/18 12:20:56
|
|
|
"CIM Server's Job Name is: $0", fullJobName); | "CIM Server's Job Name is: $0", fullJobName); |
#endif | #endif |
| |
#ifdef PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET |
|
// Make sure at least one connection is enabled |
|
|
|
Boolean enableHttpConnection = ConfigManager::parseBooleanValue( | Boolean enableHttpConnection = ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableHttpConnection")); | configManager->getCurrentValue("enableHttpConnection")); |
Boolean enableHttpsConnection = ConfigManager::parseBooleanValue( | Boolean enableHttpsConnection = ConfigManager::parseBooleanValue( |
configManager->getCurrentValue("enableHttpsConnection")); | configManager->getCurrentValue("enableHttpsConnection")); |
| |
|
// Make sure at least one connection is enabled |
|
#ifdef PEGASUS_DISABLE_LOCAL_DOMAIN_SOCKET |
if (!enableHttpConnection && !enableHttpsConnection) | if (!enableHttpConnection && !enableHttpsConnection) |
{ | { |
Logger::put_l( |
//l10n |
Logger::STANDARD_LOG, System::CIMSERVER, Logger::WARNING, |
//Logger::put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::WARNING, |
|
//"Neither HTTP nor HTTPS connection is enabled. " |
|
//"CIMServer will not be started."); |
|
Logger::put_l(Logger::STANDARD_LOG, System::CIMSERVER, Logger::WARNING, |
"src.Server.cimserver.HTTP_NOT_ENABLED_SERVER_NOT_STARTING", | "src.Server.cimserver.HTTP_NOT_ENABLED_SERVER_NOT_STARTING", |
"Neither HTTP nor HTTPS connection is enabled." | "Neither HTTP nor HTTPS connection is enabled." |
" CIMServer will not be started."); | " CIMServer will not be started."); |
|
//cerr << "Neither HTTP nor HTTPS connection is enabled. " |
|
//"CIMServer will not be started." << endl; |
MessageLoaderParms parms( | MessageLoaderParms parms( |
"src.Server.cimserver.HTTP_NOT_ENABLED_SERVER_NOT_STARTING", | "src.Server.cimserver.HTTP_NOT_ENABLED_SERVER_NOT_STARTING", |
"Neither HTTP nor HTTPS connection is enabled." | "Neither HTTP nor HTTPS connection is enabled." |
" CIMServer will not be started."); | " CIMServer will not be started."); |
cerr << MessageLoader::getMessage(parms) << endl; | cerr << MessageLoader::getMessage(parms) << endl; |
return 1; |
return(1); |
} | } |
#endif | #endif |
|
|
// | // |
// Check to see if we should start Pegasus as a daemon | // Check to see if we should start Pegasus as a daemon |
// | // |