My Oracle Support Banner

Transactions Are Not Resolving The Correct CopyBook Overrides When Application.mode Is Production (Doc ID 2715444.1)

Last updated on SEPTEMBER 30, 2020

Applies to:

Oracle Insurance Policy Administration J2EE - Version 11.0.2.20 and later
Information in this document applies to any platform.

Symptoms

On : 11.0.2.20 version, General

ACTUAL BEHAVIOR
---------------
Transactions are not resolving the correct CopyBook overrides when application.mode is Production. When the PAS.properties application.mode=PRODUCTION, OIPA is caching the first resolved version of the transaction. The resolved version has the overrides of copybooks applicable to that Plan. CopyBooks are used extensively and are overridden at various Product and Plan levels in the hierarchy. When subsequent instances of that transaction are loaded, the system is pulling the original cached version and can contain incorrect variables based on the rules originally resolved. This results in system exceptions and incorrect data.


EXPECTED BEHAVIOR
-----------------------
OIPA should resolve the transaction based on the overrides applicable to the current context - plan/policy.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
Set the PAS.properties.applciation.mode=PRODUCTION
Create a transaction at 1 Product Level. Configuration should reference CopyBooks in the Fields section and the Math section.
Create a Global CopyBook with a Field configuration. Create a Plan override with a different field definition.
Create a Global CopyBook with a Math Variable configuration. Create a Plan override with a different Math variable definition.

Login to OIPA.
Go to the Policy Activity Screen for a Policy that should resolve the Global Override.
Add the activity and run it.
Go to the Policy Activity Screen for a Policy that should resolve the Plan Override.
Add the activity and run it .
Notice the Global Values are used.

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!


In this Document
Symptoms
Cause
Solution
References


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