My Oracle Support Banner

Applying WSM Policies Causes MDS Lock Issues And Time-outs (Doc ID 2754507.1)

Last updated on FEBRUARY 23, 2021

Applies to:

Oracle Service Bus - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 version, OSB Security

Applying WSM policies causes MDS lock issues and time-outs

When applying WSM policies to proxy services I see the following errors in logging:

[2020-06-11T13:07:40.039+02:00] [MS_OSB2] [ERROR] [WSM-02313] [oracle.wsm.resources.policymanager] [tid: [ACTIVE].ExecuteThread: '34' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: ff7d38fe-27f0-47af-92cc-6647f0724c13-006ebd0a,0] [partition-name: DOMAIN] [tenant-name: GLOBAL] The documents used by a policy subject cannot be recorded due to underlying error "invoking method recordUsage(Ljava.lang.String;Ljava.util.Map;Ljava.util.Set;) caused java.io.IOException:
WSM-04671 : A concurrent write prevented the document "/policyAttachments/oracle/log_policy" from being written due to underlying error "oracle.mds.core.ConcurrentMOChangeException: MDS-00165: metadata Object "/policyAttachments/oracle/log_policy" has changed [[
MDS-00164: There is a concurrent "UPDATE" operation on the document "/policyAttachments/oracle/log_policy"."., please check method's implementation for the cause ;

And

MDS-00557: Resource /policyAttachments/oracle/log_policy is already locked or is being modified."., please check method's implementation for the cause ; nested exception is: MDS-00557: Resource /policyAttachments/oracle/log_policy is already locked or is being modified."., please check method's implementation for the cause ; nested exception is: java.io.IOException: WSM-04672 : The document "/policyAttachments/oracle/log_policy" cannot be written to repository due to underlying error "oracle.mds.persistence.MDSIOException: MDS-00522: failure to save document /policyAttachments/oracle/log_policy to the metadata repository

When the service is called, it does not return a response and times out.
Happens for both standard Oracle and custom policies and we see it in both DEV and TEST environment.
 

ERROR
-----------------------
WSM-04671 MDS-00557

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!


In this Document
Symptoms
Changes
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.