Error
Error Code:
ORA-28120
Oracle Error ORA-28120: Duplicate Context Creation
Description
The ORA-28120 error in Oracle Database indicates an attempt to create a driving context that already exists. This typically occurs when a policy or function is incorrectly configured, leading to multiple attempts to establish the same context.
Error Message
ORA-28120: driving context already exists
Known Causes
3 known causesRedundant Policy Definition
A security policy is defined multiple times with the same driving context, leading to conflicting creation attempts.
Incorrect Function Logic
The function responsible for creating the driving context contains logic that causes it to be invoked repeatedly when it should only be called once.
Application Code Error
The application code incorrectly tries to establish the same driving context multiple times within a single session or transaction.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service