My Oracle Support Banner

'optimizeDomain' Updates the Array's Dimpath Incorrectly (Doc ID 2578873.1)

Last updated on MAY 27, 2020

Applies to:

Oracle Retail Advanced Inventory Planning - Version 15.0.3 and later
Oracle Retail Predictive Application Server - Version 15.0.3 and later
Information in this document applies to any platform.

Symptoms

After running the optimizeDomain utility, the FnHBI arrays will have the dimpath as the full path instead of "../../dimregistry<xy>.db".
When copyDomain is used later to clone the environment and subsequently when moveDomain is used to relocate the global domain of that environment, the FnHBI measures that are stored at the local domain level are not updated as to the new path of the dimregistry.

Any utility that tries to utilize those measures fails. For example, ReconfigGlobalDomainPartitions is run to add new local domains, the log file shows that optimizeDomain fails with the following error;

 

1. Go to the /<local domain path>/
2. printArray -array data/<array>.<array>%1 -specs -options
Notice that the following error is received;
"Database 'data/<array>' does not exist."

3. printArray -array data/<array>.<array>%1
Notice that the following exception is received;
"printArray Got Rpas exception: rpas::DimRegistryException
    DimRegistry::restoreDimensionEntry failed for '<dimension>' dimension registry '<global domain path>/dimregistry<xy>.db' is missing array 'status'."
    
4. cd <array>.db
5. strings <array>%1.ary
Notice that the path in the header is not a correct path (ex: ../../../<global domain>/dimregistry<xy>.db)

6. cd <global domain path>
8. printMeasure -d . -m <measure name> -specs
Notice that "fnhbi" is true.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.