version 1.220, 2008/06/18 12:20:56
|
version 1.221, 2008/06/18 18:12:11
|
|
|
"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) |
{ | { |
//l10n |
Logger::put_l( |
//Logger::put(Logger::STANDARD_LOG, System::CIMSERVER, Logger::WARNING, |
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 |
// | // |