BUG#: 8026
authorthilo.boehm <thilo.boehm>
Tue, 21 Oct 2008 09:11:12 +0000 (09:11 +0000)
committerthilo.boehm <thilo.boehm>
Tue, 21 Oct 2008 09:11:12 +0000 (09:11 +0000)
TITLE: In OOPAgent, the default trace file is not created.

DESCRIPTION: Set pegasusHome in OOPAgent before getting the instance.

src/Pegasus/ProviderManagerService/ProviderAgent/ProviderAgent.cpp

index 6687093c51f62ceae3f37de9c21ccc69f97cb40a..c1704f96cd5218444e5cf326ccb0de5affdb97f5 100644 (file)
@@ -360,8 +360,8 @@ Boolean ProviderAgent::_readAndProcessRequest()
             dynamic_cast<CIMInitializeProviderAgentRequestMessage*>(request));
         PEGASUS_ASSERT(ipaRequest.get() != 0);
 
+        ConfigManager::setPegasusHome(ipaRequest->pegasusHome);
         ConfigManager* configManager = ConfigManager::getInstance();
-        configManager->setPegasusHome(ipaRequest->pegasusHome);
 
         // Initialize the configuration properties
         for (Uint32 i = 0; i < ipaRequest->configProperties.size(); i++)